Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
DOS/XP printer ports
Name: Neil Coy Date: December 4, 2003 at 12:34:13 Pacific OS: XP Pro CPU/Ram: Pentium 4/256k
Comment:
I have a system that was written almost 20 years ago. Of course it was DOS and written in Turbo Pascal. One of my clients is attempting to run it under Windows XP. The problem is that the print output is directed to LPT1 & LPT2 DOS parallel ports. The print output seems to simply disappear when run under XP. Can anyone be of any help?
Name: svend Broholm Date: December 4, 2003 at 12:59:09 Pacific
Reply:
Is the printer connected directly to the computer ? In that case there should be no problems (I have not tried myself with XP).
You could try to redirect the output from the LPT-port to a file using the resident program: http://home.worldonline.dk/sbroholm/download/prn2file.com just to make shure the output goes to the LPT-port.
In case the computer is connected to a printer via a network use this command at the dosprompt each time before your own program:
net use LPT1 //printerserver/printername
for LPT1.
Regards Svend
0
Response Number 2
Name: JackG Date: December 4, 2003 at 15:37:39 Pacific
Reply:
If the printer is not an old style printer connected directly to the parallel printer ports then the DOS program can not talk to it. And there is not DOS in Windows XP anyway.
0
Response Number 3
Name: x86 Date: December 5, 2003 at 10:12:08 Pacific
Summary: There are a few things you can do if you still need to use 16-bit DOS sometimes on an XP machine. You can leave your Partitions FAT32 so that you can boot off a boot disk and still access your C: part...
Summary: We have two computers running win98 and connected through a router. Network is fine. I have a dos program running on one omputer. I did share out the dos printer. I did map the harddrive on it the do...
Summary: I have a program that runs in DOS and sends all printed output to the LPT1 port and I need to write a script that will send all the print info to the USB port so that I can print in this program throu...