Windows Thread, prnport.vbs command w/ no host address in Technical; We bought another wifi print server recently and I'd like to automate its setup. I can add the printer using ...
23rd October 2008, 06:05 PM #1
prnport.vbs command w/ no host address
We bought another wifi print server recently and I'd like to automate its setup. I can add the printer using the install CDROM but I'd like to script its install instead. Problem I'm having is getting the right prnport.vbs command to add the port correctly- I just can't do it!
Running "prnport -l" on the machine with the working driver setup gives this output:
Port name IP_192.168.2.200P1
Byte Count Enabled
As you can see there is no Host address in the correct entry, and I'd imagine I need the '-o lpr' switch in there. I've tried all sorts of combinations of -r, -h and -q settings (as well as -a) but I can't duplicate the port settings as produced by the CDROM (as above), I can only create a port with a Host address but I don't want that.
This begs another question- given specific printer/port settings, is there not a tool that converts a given printer setup into the required prnport.vbs and prnmngr.vbs commands/switches that would create that setup? That would be very useful indeed and would save lots of poking and experimenting.
Your help is much appreciated!
Last edited by danboid; 23rd October 2008 at 06:08 PM.
By Hightower in forum Web Development
Last Post: 30th June 2008, 09:09 PM
By link470 in forum Windows
Last Post: 25th March 2008, 05:31 AM
By FN-GM in forum Windows
Last Post: 22nd January 2008, 09:29 PM
By pooley in forum How do you do....it?
Last Post: 15th January 2008, 11:03 AM
By eean in forum Web Development
Last Post: 15th December 2006, 06:27 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread