MAP LPT1 to USB unsing DOS only

Rich Presley

Reputable
May 8, 2014
2
0
4,510
I have a DOS based PC (NO WINDOWS, NO LINUX) which currently has a printer connected to LPT1. The motherboard has a legacy USB. Can I connect a USB printer to this and get the dos program running under DOS - (not in a DOS box) to print to the USB printer?

This PC is not and cannot be networked. I just want to redirect the printer output from LPT1 to USB. All the programs I have looked at (PRINTFIL, DOSPRN etc) run under Windows not DOS.

Is there not a DOS command to redirect the printer output to USB?
 
Solution
Guys, DOS does not support USB! No USB printer even mentions DOS, nor includes any drivers for DOS programs.

@Rich - new matrix printer with LPT port will cost you more than a new computer (with Windows, monitor etc). Get your DOS program running into a virtual machine, and map it's LPT port to any printer you have (local USB, network). You cannot go forever with DOS...

That LPT2USB device might solve your problem, but if your DOS program uses any fancy formatting with IBM/Epson Esc codes, they will not work on your printer.

Rich Presley

Reputable
May 8, 2014
2
0
4,510


I am not going from USB to seriel or parallel but the other way. The motherboard has USB ports and I can enable them in the bios so that I can use a USB keyboard. The printer I am using is very old and connected to LPT1 parallel port. I wanted to use a more modern USB printer. I suppose I will have to buy LPT2USB http://www.epapersign.com/lpt2usb0/lpt2usb-features-and-functionality?gclid=CLjt6uOcmr4CFfShtAodsGIA0w but I wanted to try to see if it can be done without additional hardware like a DOS command that redirected the printer output to the USB port.
 

Jos Schaars

Honorable
Jun 4, 2013
6
0
10,520


If you use some device to connect an USB printer to a parallel port, you'll face two more problems:
- Your new USB printer has to support DOS printing, that would limit it to laser printers.
- If one does, it's only PCLx and your DOS program probably can't output PCL. It will be Epson/IBM Pro...

So just save yourself the money of such a device for a new Windows PC.
 
Guys, DOS does not support USB! No USB printer even mentions DOS, nor includes any drivers for DOS programs.

@Rich - new matrix printer with LPT port will cost you more than a new computer (with Windows, monitor etc). Get your DOS program running into a virtual machine, and map it's LPT port to any printer you have (local USB, network). You cannot go forever with DOS...

That LPT2USB device might solve your problem, but if your DOS program uses any fancy formatting with IBM/Epson Esc codes, they will not work on your printer.
 
Solution