I know how to script a printer install using an UNC, but I'm trying to write a script to install printers that use strictly IP printing. I'm really lost on this, any help would be appreciated
If they are HP printers they have a new product that is basically installing it from the command line. You configure a package like an msi file with all the IP details etc and just call the actual UNC path and setup.exe from the logon script.
Obviously this only works if you have HP printers that work with this program I think its the HP 1200n and 1300n.
This probably wont help but msi files are pretty good if its got a customisation utility supported.
Just put the package on a network share and run the exe.
Hope this helps a little at least. First time helping or trying to at least.
I'm sorry, I'm probably not explaining myself clearly. I've seen vbscripts on the web that will install printers with a UNC path onto windows automatically, within the script. They didn't use any exe files or anything that might have come with a downloaded set of drivers, it was all done within the script itself. I would like to be able to do the same thing, except instead of UNC printers, I have printers that use direct IP's ONLY. Sorry if I didn't expalain myself throroughly.
Hello,
Here is what I have. You have to do some editing but it should work for you. It will create an IP port and install a printer on the port it created.
You have to edit the following sections to meet your needs: objPrinter.Location createPort addPrinter msgbox
Under the add printer section the printer you are installing must be typed exactly the way it appears in the add printer wizard
Copy and paste below. And save as a .vbs Good luck
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.