Printing From a DOS App to a USB Printer

  • Thread starter Thread starter Tim Pratt
  • Start date Start date
T

Tim Pratt

Greetings,

I have a situation that I need some help with. we have an
old DOS application that is expecting to print to LPT1.
How can I set this up?
 
hi
I think that u want to print from dos applicatin to USB
printer .

it is very simple:
1- share your USB printer.
2- capture this printer as lpt1.

u cando that by runing this command in command prompt:

net use lpt1 \\(yourcomputer)\(your printer's share name)

Replace (yourcomputer) with your computer name &
Replace (your printer's share name) with your printer's
share name
 
-----Original Message-----
hi
I think that u want to print from dos applicatin to USB
printer .

it is very simple:
1- share your USB printer.
2- capture this printer as lpt1.

u cando that by runing this command in command prompt:

net use lpt1 \\(yourcomputer)\(your printer's share name)

Replace (yourcomputer) with your computer name &
Replace (your printer's share name) with your printer's
share name
.

I have used this many times. It works great. I like to
add the /persistant switch to make it permanent even after
a reboot. You can find info on this in your Win 2k help
screen under net use.
Michael
 
Back
Top