This isn't specifically a PB problem... but I need help.
I have to be able to run a legacy program from the MSDOS era that
prints to LPT1. Up through Win98SE and even on Win2000 this was never
a real problem... just captured the LPT port when I told the system that
the printer would be used to print from MSDOS programs.
Now, I am having problems doing this with Windows XP Home. There
doesn't seem to be a way to capture the port like before.
The Win XP Help file says to mark the printer as shared and then use the
command NET USE LPT1: \\NOTEBOOK\PRINTER /PERSISTENT:YES
at the command prompt.
The PRINTER is shared but unless the system is connected to a network
the above command cannot find the shared printer. Once connected to
a network the command works correctly and the MSDOS program can
successfully print to the printer.
However, this is a standalone system. It is not normally connected to a
network. How can I get to the shared printer in that case.
I hope someone can give me a clue... I am pulling my hair out.
TIA
Terry
Need help with Windows XP Home
-
TerryHough
- Enthusiast

- Posts: 781
- Joined: Fri Apr 25, 2003 6:51 pm
- Location: NC, USA
- Contact:
-
TerryHough
- Enthusiast

- Posts: 781
- Joined: Fri Apr 25, 2003 6:51 pm
- Location: NC, USA
- Contact:
There is probably a clue there, but I don't get it.GedB wrote:Have you tried creating a File printer.
The printer was installed as a local printer and shared. It works perfectly
with Windows program printing.
I just can't get the old MSDOS program to print at all. It is trying to send
output to LPT1 but cannot find it.
If I missed your point, chastise me and tell me more.
Terry
-> control panel
-> printers
-> select your printer
-> properties
-> ports
-> select the printer port you want to assign
from now on printing to that port will print to that printer
(and this does not belong in this area, mod, could this be moved to off-topic?)
-> printers
-> select your printer
-> properties
-> ports
-> select the printer port you want to assign
from now on printing to that port will print to that printer
(and this does not belong in this area, mod, could this be moved to off-topic?)
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB - upgrade incoming...)
( The path to enlightenment and the PureBasic Survival Guide right here... )
( The path to enlightenment and the PureBasic Survival Guide right here... )
-
TerryHough
- Enthusiast

- Posts: 781
- Joined: Fri Apr 25, 2003 6:51 pm
- Location: NC, USA
- Contact:
Thanks blueznl (and I am chastised for posting in the wrong area)
Your pointers are appreciated but don't solve the problem. Been there,
done that, as they say.
The problem is that a MSDOS program (no matter how compatibility is set)
will not print to LPT1 directly. In other versions, this is handled by
capturing the printer port. In WinXP this is handled differently and there
is no "capture" setup.
Using WinXP Home, try copying a text file to LPT1 directly. If it works for
you, please tell me exactly how the printer is setup.
Terry
Your pointers are appreciated but don't solve the problem. Been there,
done that, as they say.
The problem is that a MSDOS program (no matter how compatibility is set)
will not print to LPT1 directly. In other versions, this is handled by
capturing the printer port. In WinXP this is handled differently and there
is no "capture" setup.
Using WinXP Home, try copying a text file to LPT1 directly. If it works for
you, please tell me exactly how the printer is setup.
Terry

