DosBox Emulator for Printing to USB

I am trying to find a way to print from DosBox (www.dosbox.com) to a USB port. There is no support for USB only LPT.  I only have a usb printer. Does anyone know of a way to redirect LPT calls from DosBox to the USB port on my system?
LVL 5
netbonesAsked:
Who is Participating?
 
hdhondtCommented:
Of course you're correct, gerwinjansen - I overlooked that.

DOSPrn takes the output from a DOS program and converts it into something the printer understands. It also captures the output to LPT1 (which is what DOSPrint does).
0
 
Steve KnightIT ConsultancyCommented:
I haven't tried with DOSbox as haven't put it on this new machine yet, most likely print to LPT1: port from DOS application, then in Windows:

Share your USB printer as "USBPrinter" say.
Then from command prompt:

net use Lpt1: \\computername\USBPrinter /persistent:yes

Then you should be able to print to lpt1: from the local machine, e.g. from command prompt still:

dir > lpt1:

Steve
0
 
hdhondtCommented:
On possible problem: this will only work if the printer understands plain ASCII text, or PCL5.

Many USB printer (all the low-cost ones) are GDI printers, which rely on the Windows graphics engine to convert the page into dots on the paper. These printers will not understand anything DOSBox can send to it.

Note, the NET USE command only applies if you are running DOSBox under Windows.
0
 
Gerwin Jansen, EE MVETopic Advisor Commented:
Hi, there is dosprint that is supposed to be able to capture and send to USB as well, download here.

There is also dosprn. I don't have a USB printer available so you'd have to test yourself ;)
0
 
netbonesAuthor Commented:
All solutions worked, however I ended up going with DosPrint.  Thanks everyone!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.