I have a HP network printer that I need to install on 40 machines, its gonna take me ages to do each on manually, is it possible to script the install if I know the settings?
I have a HP network printer that I need to install on 40 machines, its gonna take me ages to do each on manually, is it possible to script the install if I know the settings?
Yeah you can get a script to do it (batch file):
To REMOVE a printer you need this:
rundll32 printui.dll,PrintUIEntry /dn /n"\\servername\printersharename" /q
To INSTALL printers you need this:
rundll32 printui.dll,PrintUIEntry /in /n"\\servername\printersharename" /q
Then to set it as default:
rundll32 printui.dll,PrintUIEntry /in /n"\\servername\printersharename" /y
Wol
It doesn't run from a printserver, but its addressed by IP will that command still work?
Hmm dont know then, you can try it and see i suppose. Might do, but im not sure what will happen with drivers (they're pulled off the print server if the printer has a queue on there)
There are currently 1 users browsing this thread. (0 members and 1 guests)