views:

624

answers:

2

I am trying to list all the printers on the network (we have a very large, cross-ocean network) using VS2008 & c#.

I am looking to replicate the functionality of the Find Printers dialog box in Windows (which can be found by going to Printers and Faxes, clicking Add a printer, selecting Network Printer, then picking Find a printer in the directory. From there you get this dialog box.

+1  A: 

You can get all connected printer using GetPrintQueue funtion of PrintServer class in Sytem.Printing Namespace Here is the good sample for this.

Firoz
Unfortunately, the sample only deals with printers that are already connected to you. I am looking for ALL printers on the network.
AngryHacker
A: 

I am having the same problem, but with .Net 2.0 I wanted to populate all the network Printers. Please let me know if you find any solution.

Thanks Shaik

Shaik Phakeer
I never found a solution.
AngryHacker