Delete Printer via Command-line

email me

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

http://blogs.technet.com/b/askperf/archive/2009/02/06/deploying-printers-and-print-drivers-remotely.aspx