I use :
ManagementObjectSearcher searcher = new
ManagementObjectSearcher("root\\CIMV2", "SELECT * FROM Win32_Printer");
to get printers but it find local printers..
It’s possible to select network printers , by ip maybe ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Pass “Network” to the object indexer of each item in your ManagementObjectCollection. If the printer is a network printer it will return true. Likewise you can pass “Local” to determine if the printer is local.