Add network printer for all users

From WolfTech
Jump to: navigation, search
rundll32 printui.dll,PrintUIEntry /ga /c\\%1 /n\\%2\%3

Where %1 is the name and address of the machine you are adding the printer to, %2 is the print server, and %3 is the print queue.

Ex:

rundll32 printui.dll,PrintUIEntry /ga /c\\thanatos.ece.ncsu.edu /n\\eceprint.ece.ncsu.edu\arcticwolf

would add arcticwolf to the list of printers for any user that logged into THANATOS