• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 248
  • Last Modified:

How to detect printers on the network that aren't installed

How can I have my software detect the existence (and IP address) of each network printer on my network, regardless of whether a queue for that printer is installed on my workstation?

Do network printers broadcast some message to advertise their existence, or is there a Windows API that can be used to help with this detection? (Much like Network Neighborhood can detect some printers that are on the network.)

1 Solution
i'm not sure about this...

but i would believe running "net view " on the shell command through your software would help...
if u write the output to a file and read the file for the name...

if the printer is connected to the server instead, u could go ahead and run "net view \\servername > test.txt" on the shell command
and read test.txt for type = print...


Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now