[jedi/old/i-menu.htm]
3TGKB-0035

Last Edited :

28-01-05

Revision :

 1.0


How do I map an LPT port to a network printer in DOS mode?


From the DOS prompt type in net use LPTx \\computername\printersharename. (where x is the LPT port you wish to map, and computername is the print-server name, and printersharename is the sharename of the printer).

For example:

net use LPT1 \\bart\hpdesignjet650c

net use LPT2 \\bart\hplaserjet4si

net use LPT3 \\bart\hplaserjet4L

net use LPT4 \\bart\hpcopyjet

Then, if you want to send a file to that printer in DOS mode, simply type filename \\computername\printersharename. For example, message.txt \\bart\hpcopyjet.

If you want the setting to be retained after rebooting the PC, then use the /persistent switch. Eg:

net use LPT1 \\bart\hpdesignjet650c /persistent:yes

For more information on using net use, go to a command prompt, and type in net use /?.


Regards

Paul Eddington


KB Keywords: DOS plotter printer command prompt 16bit 16 bit cmd map assign LPT port