Add network printer for all users

From WolfTech
Revision as of 16:46, 27 February 2007 by Bpcarty (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to 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