When I go to the Printers and Faxes dialog box, I can click the Add a printer link, select Network Printer , and then Find a printer in the directory . From there I get a dialog box that allows me to find ALL printers in the enterprise.
I need to find all network printers with my code. How can i do this?
Please note that I am not talking about network printers connected to my computer, but all network printers in the enterprise (there are almost 4000 printers in my workplace).
PS PrintServer (). GetPrintQueues returns only printers connected to the computer.
PPS Here is a short video about what I want: http://www.angryhacker.com/toys/FindAllPrinters/FindAllPrinters.html
source share