Eventually I'd like to be able to push all print drivers to each machine so they have them no matter which printer a user selects to use.

Answer Summary:
cscript %WINDIR%\System32\Printing_Admin_Scripts\en-US\prndrvr.vbs -a -m "HP Universal Printing PCL 6" -i "\\NETWORKSHARE\HP4050\hpcu118u.inf && cscript %WINDIR%\System32\Printing_Admin_Scripts\en-US\prnmngr.vbs -ac -p "\\PRINTSERVER\PRINTERNAME" If you want to make it the default printer, add: cscript %WINDIR%\System32\Printing_Admin_Scripts\en-US\prnmngr.vbs -t -p "\\PRINTSERVER\NEWPRINTERNAME"
Cancel
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Community Chosen Answer

2

I just went through scripting this for a migration to a new print server.  Here's what you need to just install drivers and the printer:

cscript %WINDIR%\System32\Printing_Admin_Scripts\en-US\prndrvr.vbs -a -m "HP Universal Printing PCL 6" -i "\\NETWORKSHARE\HP4050\hpcu118u.inf && cscript %WINDIR%\System32\Printing_Admin_Scripts\en-US\prnmngr.vbs -ac -p "\\PRINTSERVER\PRINTERNAME"

I just put the drivers on a read-only share on our print server so the clients could access them for the install.  Let me know if you need help.  Use the latest HP Universal print drivers.

If you want to make it the default printer, use:

cscript %WINDIR%\System32\Printing_Admin_Scripts\en-US\prnmngr.vbs -t -p "\\PRINTSERVER\NEWPRINTERNAME"

More information on prnmngr.vbs is here:

http://technet.microsoft.com/en-us/library/cc725868(v=WS.10).aspx

Answered 05/07/2012 by: philologist
Red Belt

Please log in to comment

Answers

0

What type of installer/source files are you looking to start from? the setups from HP, or the actual driver files (cat/inf/dll)?

Answered 05/07/2012 by: pjgeutjens
Red Belt

Please log in to comment
0

What is your client OS and which drivers do you want to install (HP Universal Print Driver or specific drivers).

Do you use network printers or are they connected with USB?

Do you use a dedicated print server or does each client print directly to the printer?

Answered 05/07/2012 by: karelv
Orange Senior Belt

Please log in to comment
Answer this question or Comment on this question for clarity

Share