Add a print driver in Win 10 using a batch file please
I have 5 Konica Minolta Printer drivers that I have to manually install with each machine I set up - would love to create a batch file for this - can anyone assist?
Currently - my process is to open Devices & Printers, select a printer icon, click the Print Server Properties, select the Drivers Tab, Click Add, Click Next, Click Next, click Have Disk, click Browse, browse to my thumbdrive where I have the .inf files and select the one I want. (only lets me do ONE at a time!!!) click on Next, then click on Finish, and repeat 4 more times.... ugh!
would so love to automate this with a simple batch file!!! (I have to use batch files as opposed to vbscript or other scripting due to the boss not allowing the others, I have many batch files to do other automation... but this one has me stumped.)
I saw some postings about doing this in Win xp and 7 - but am unsure exactly what the code is doing so I thought if I provided enough info someone could actually write the code that would work rather than me hosing the print driver file on a new system...
So one of the file locations for my drivers is e:\Tools\PrinterFix\K363\KOFZ8A1_.inf
any assistance will be greatly appreciated!
Sophie
Answers (3)
As an alternative you can call PNPUTIL.EXE (part of the Win7 OS) or download DPINT.EXE (part of the Windows Driver Kit) for the INF drivers installation.
Also you can try with rundll32.exe PRINTUI.DLL,PrintUIEntry with appropriate parameters. This command allows to install drivers and printers.
Good luck.
The VBSes already do all the work so why advise reinventing the wheel? Bizarre...
Comments:
-
I refer to the autor's needs:
"...would so love to automate this with a simple batch file!!! (I have to use batch files as opposed to vbscript or other scripting due to the boss not allowing the others, I have many batch files to do other automation... but this one has me stumped.)" - rad33k 7 years ago