Scripting a network printer

June 7th, 2005

I spent a bit of time today trying to figure out how to add a network printer from a batch file in Windows today. Here it is.
rundll32 printui.dll,PrintUIEntry /in /n\\host\Printer