954,492 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Returning all installed network printers

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

Sky_Blue
Newbie Poster
2 posts since Jun 2009
Reputation Points: 10
Solved Threads: 0
 

I believe what you are looking for is the EnumPrinters function in the Windows API. http://msdn.microsoft.com/en-ca/library/dd162692(VS.85).aspx

nmaillet
Posting Whiz in Training
236 posts since Aug 2008
Reputation Points: 69
Solved Threads: 53
 

Thank you very much, Although I do feel a bit foolish, thank you again.

Sky_Blue
Newbie Poster
2 posts since Jun 2009
Reputation Points: 10
Solved Threads: 0
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You