How to Configure a Shared Printer as LPT1/LPT2 in DOS
Posted By Chris Stinson in Windows on January 16, 2008
DOS and Windows allocate resources and use printers differently, so having a shared printer on LPT1/LPT2 in Windows may not work as LPT1/LPT2 in DOS.
- Click “Start”, then “Run”, and type: cmd
- Press OK.
- At the command prompt type:
net use LPT# \\COMPNAME\PRINTER\ /persistent:yes
Where # is 1 or 2, COMPNAME is the name of the computer the printer is connected to, and PRINTER is the shared name of the printer (Pre-Windows 2000 name).
Ex.
net use LPT1 \\Chris-Serv\HP2200 /persistent:yes
To delete the printer type:
net use LPT# /delete
Related posts:
- Printing Black Bars Behind PDF / Web Page Text Fields
- Print Directory Listing in Windows
- How to Install Windows Server 2003 R2 enhancements on Windows Server 2003 SP1
- Slimming down Windows XP Pro SP2 Install
- Outlook 2003 Auto-Complete Cache (History List)


1 Comment
This also works with USB printers.
You can also use an IP Address of the computer instead of computer name, ex: net use LPT1 \\192.168.0.1\HP2200