PrintUI.exe /dl /n “PrinterName” /q
Notes
printui.exe /if /b “<Name of Printer>” /f <Driver File> /u /r “<Address>” /m “<Name of Printer>”
Replace “<Name of Printer>” with the device’s product name, “<Driver File>” with the full file path linking to the INF file and “<Address>” with the method through which the printer communicates (e.g. “lpt1:” for the parallel port or “usb001” for USB).
References