Use the net.exe command to establish a persistent connection. To do this, use the following syntax at a command prompt
net use lptx \\computername\sharename /persistent:yes
where x is the number of the printer port that you want to map, where computername is the network server name that is sharing the printer, and where share name is the name of the printer shared name.
For example, to map LPT2 to a printer shared as Laser on a print server that is named mytechbase, follow these steps:
- Click Start, and then click Run.
- In the Open box, type cmd, and then click OK.
- Type net use lpt2 \\mytechbase\laser /persistent:yes, and then press ENTER.
- To quit the command prompt, type exit, and then press ENTER.
Note: In Windows XP, non-administrative users cannot map an LPT port to a network printer path when the LPT port exists on the computer as a physical parallel port.
No comments:
Post a Comment