vbscript to sliently install printer driver with rundll32.exe
Posted on 2011-02-23
I have an up and running script that will create a tcp/IP port and also the printer driver and queue.
when creating the printer queue and driver, it copies the driver from the network down locally. So, the users will see a brief copy window.
Anyway of doing this so the user doesn't see this copy window? The "/q" does not work. It's quiet all right but doesn't install the driver.
Here is the string I'm using:
rundll32 printui.dll,PrintUIEntry /if /b PrinterName/f PathToInfFile /r IP_Port IPaddress /m PrinterModel