Returning all installed network printers

Please support our C++ advertiser: Intel Parallel Studio Home
Thread Solved

Join Date: Jun 2009
Posts: 2
Reputation: Sky_Blue is an unknown quantity at this point 
Solved Threads: 0
Sky_Blue Sky_Blue is offline Offline
Newbie Poster

Returning all installed network printers

 
0
  #1
Jun 11th, 2009
Hey,
I am curious about making an application that will show current printers that are installed on the computer, will be windows XP, and at first returning them back for the user to see in command prompt.

Although I am unable to find out how I can check to see what printers are installed in the system, and a poke in the right direction would be appriciated, is there a library or API for this?

Sorry for what is probably a very easy question, worded incredibly badly.
Sky_Blue
Last edited by Sky_Blue; Jun 11th, 2009 at 11:46 am.
Reply With Quote Quick reply to this message  
Join Date: Aug 2008
Posts: 83
Reputation: nmaillet is an unknown quantity at this point 
Solved Threads: 18
nmaillet nmaillet is offline Offline
Junior Poster in Training

Re: Returning all installed network printers

 
0
  #2
Jun 11th, 2009
I believe what you are looking for is the EnumPrinters function in the Windows API. http://msdn.microsoft.com/en-ca/libr...92(VS.85).aspx
Reply With Quote Quick reply to this message  
Join Date: Jun 2009
Posts: 2
Reputation: Sky_Blue is an unknown quantity at this point 
Solved Threads: 0
Sky_Blue Sky_Blue is offline Offline
Newbie Poster

Re: Returning all installed network printers

 
0
  #3
Jun 13th, 2009
Thank you very much, Although I do feel a bit foolish, thank you again.
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C++ Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC