How Can I Add A Printer From The Command Line - Management & Mobility Content From Windows IT Pro
How Can I Add A Printer From The Command Line - Management & Mobility Content From Windows IT Pro
er from the command line? | Management & Mobility content from Windows IT Pro
A. Microsoft has a utility which can add printers from the command line but its only available to OEM suppliers. Another option is by directly manipulating the
printui.dll dynamic link library.
For example to add a HP DeskJet 970Cxi on LPT1: on Windows 2000 use the following:
Store or restore printer settings option flags that must be placed at the end of command:
Examples:
rundll32 printui.dll,PrintUIEntry /ia /c\\machine /m "AGFA-AccuSet v52.3" /h "Intel" /v "Windows 2000" /f %windir%\inf\ntprin
http://windowsitpro.com/windows/how-can-i-add-printer-command-line 1/2
01/08/2017 How can I add a printer from the command line? | Management & Mobility content from Windows IT Pro
Restore all printer settings from a file:
start \\print_server\print_name
The first time the system asks if you want to install the new printer to your system. No wizards and no questions to answer. The driver is directly downloaded
from the printer server.
http://windowsitpro.com/windows/how-can-i-add-printer-command-line 2/2