• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 253
  • 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.)

Thanks!
0
bsdex
Asked:
bsdex
1 Solution
 
gopinathdeepakCommented:
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...

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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