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).
Example:
net use LPT1 \\Cesar-Serv\HP2009 /persistent:yes
To delete the printer type:
net use LPT# /delete