Question

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.

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top