Set default printer

  • Thread starter Bruce Sanderson
  • Start date
B

Bruce Sanderson

The default printer setting is a per user setting (part of the user's
profile), so it pretty well has to be set while the user us logged on.

It can be set either of these two commands:

rundll32 printui.dll,PrintUIEntry /y /n printername

or

cscript prnmngr.vbs -t -p printername

In both cases, printername can be either a local printer's name or the name
of a network printer (e.g. \\servername\printername). If the printername
contains spaces or other special characters, enclose it in qoute marks.

These commands can be put into a logon script or into a command file in the
All Users\Startup folder.

The script - prnmngr.vbs is available only on Windows XP and Windows Server
2003. It is in %systemroot%\system32.

---------------------------------------------
Original question:

What I really need is some kind of utility to make a particular network
printer the default for all users. From the hours and hours I've spent
looking online, I am far from alone in my quest. Microsoft has an article
307016 that involves registry editing etc but that is far from ideal.
Do you know of any utilities that can do what I need? I am not a VB
programmer by any means but I could manage to create a form with a couple of
controls and a bit of code.
Do you have any ideas, pointers or inspiration?
 
G

Guest

Did Microsoft forget to include a Default Printer change when using the
Hardware Profile functionality? I use a different printer at home from my
office printer. Does anybody know how to set a different default printer
from the Hardware Profile selection at boot up?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top