I'm trying to install local printer using batch file, and so far I tried below codes
Attempt 1:
rundll32 printui.dll,PrintUIEntry /ia /b "printerone" /f "C:\printers\UNIV_5.585.13.0_PCL6_x64_Driver
\x3UNIVX.inf" /r "10.50.9.11" /m "Xerox Global Print Driver PCL6"
From above code there is no error and nothing installed
Attempt 2:
rundll32 printui.dll,PrintUIEntry /if /b "printerone" /f "C:\printers\UNIV_5.585.13.0_PCL6_x64_Driver
\x3UNIVX.inf" /r "10.50.9.11" /m "Xerox Global Print Driver PCL6"
from above code there is an error "Operation could not be completed (error 0x00000704). The specified port is unknown."
Please advice is it possible to install local printer using batch.
Is that above mentioned is possible with .vbs?
Thanks,
User contributions licensed under CC BY-SA 3.0