|
Очень действенный метод без всяких dosprn и так далее
Use the net.exe command to establish a persistent connection. To do this, use the following syntax at a command prompt
net use lptx \\printserver\sharename /persistent:yes
where x is the number of the printer port that you want to map, where printserver is the print server sharing the printer, and where sharename is the name of the printer share.
For example, to map LPT2 to a printer shared as Laser1 on a print server named Pserver, follow these steps:
1. Click Start, and then click Run.
2. In the Open box, type cmd, and then click OK.
3. Type net use lpt2 \\pserver\laser1 /persistent:yes, and then press ENTER.
4. To quit the command prompt, type exit, and then press ENTER.
Note that 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.
|