Question : create printer ports using print ui

Hey Alll

I would like to add printers in automatically however the ports i am using are an extrenal application (Pcounter) that creates its own printer ports

the ports are the same except that they have "PCOUNT_%portname%"
So is there a way to create a printer port? then install a printer automatically


an alternative would be to install it using the IP address on Printui but however when i enter it i get "invalid arguments", I believe this is  because the IP address i am associating the queue with has not been created yet

So is there a way to maybe create the IP printer ports which is basically creating a port with IP_ behind its name?

Answer : create printer ports using print ui

You also need to give it the IP address, with the -h parameter, so it should be:

Cscript Prnport.vbs -a -r PCOUNT_0.0.0.0 -h 0.0.0.0

You may also want to add:

-o raw -n 9100

just to make sure it does not create a port with some other weird settings.
Random Solutions  
 
programming4us programming4us