slloyd has asked for the wisdom of the Perl Monks concerning the following question:
So far I cannot find a way to add a "local port". I can add a tcp port using prnport command in system32 but it will now allow me to add a local port. I can also assign a printer to a port as follows:1 - add a "local port" with a name like "c:/temp/abc.ps" 2 - assign a printer to this newly created port 3 - remove the "local port" created above
So I just have to figure out a way to script adding a local port. Any suggestions?C:\WINDOWS\system32>cscript prncnfg.vbs -t -p "HP 2500C Series PS3" -r + "c:/temp/abc.ps"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: add a local port on windows
by ikegami (Patriarch) on Mar 05, 2010 at 00:53 UTC | |
by slloyd (Hermit) on Mar 05, 2010 at 15:06 UTC | |
by ikegami (Patriarch) on Mar 05, 2010 at 17:27 UTC | |
by Anonymous Monk on Mar 05, 2010 at 15:08 UTC | |
|
Re: add a local port on windows
by cdarke (Prior) on Mar 05, 2010 at 07:07 UTC |