Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to find name of default printer

Status
Not open for further replies.

ColinGregory

Technical User
Feb 16, 2001
39
US
Hi everyone

Sorry - don't know anything at all about W2K. Is there a command or something I could use to find the name of the printer set as default on a users PC.

Thanks in advance
Colin
 
Hi electronicsfreak

I just knew that I would mess up the question . . .

More details

I'm writing a subroutine in an application (LabWare LIMS)which has its own language (LIMS Basic). What I need to do is check that the default printer is a colour printer. There is no command in LIMS Basic to find the name of the default printer but there is a command which will execute a windows command line. I was hoping to fire off something which would tell me the printer name.

Thanks for taking the time
Colin
 
Colin

Go to Start, Settings, select Printers it will list the printers that are on your system.
Select the printer your are looking for and right click on it it will open a list of options, set to default printer is one of the options you are looking for.
 
Thanks tuco7 and wolluf

prnmngr is exactly the sort of thing I was after. However, it doesn't appear to run on W2K.

At the prompt I've been typing in "prnmngr -g" (quotes omitted) and getting "prnmngr not recognized as an internal or external command".

Am I just rubbish at typing or is there a similar sort of command for W2K?
 
Wolluf has the right idea.
prnmgr is a vb script, and will work under Win2k as well as XP.

Copy it from an XP machine.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top