By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,170 Members | 1,360 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,170 IT Pros & Developers. It's quick & easy.

Can the status of a printer be checked programtically in c#

P: n/a
Bob
Greetings,

I have a written an app that checks to see what printers are available to a
machine, it then populates a combobox and allows the user to choose any of
the printers.

Basically I populate a list using PrinterSettings.InstalledPrinters string
array

Is there a way to check the online status of any of these printers ... I
created a method that can 'ping' the IP address .. but I dont know what IP
address they are at so no joy there.

Is there a way to 'programatically' query the printer name / port to its IP
address or is there another way to check whether a printer is alive, dead or
having 'issues'.

regards Bob.
Feb 5 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Hello Bob,

Have u tried smth from there http://groups.google.com/groups?q=dotnet+printer+status
?

BIs there a way to check the online status of any of these printers
B... I created a method that can 'ping' the IP address .. but I dont
Bknow what IP address they are at so no joy there.
B>
BIs there a way to 'programatically' query the printer name / port to
Bits IP address or is there another way to check whether a printer is
Balive, dead or having 'issues'.

---
WBR, Michael Nemtsev [C# MVP]. Blog: http://spaces.live.com/laflour
team blog: http://devkids.blogspot.com/

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
Feb 5 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.