| Author |
Discover Network Printers
|
John McDonald
Ranch Hand
Joined: Jul 01, 2003
Posts: 112
|
|
Hello JGuru, I would like to use Java to discover network printers that are not added into the box that I run my code on. Could someone give some hint or sample how to do so? Thanks. John
|
 |
Paul Sturrock
Bartender
Joined: Apr 14, 2004
Posts: 10336
|
|
|
I don't think you can do this with the Java Print Service. It queries the machine the JVM is running on to see what printers that machine knows about, not what may all be avaliable to it through the network.
|
JavaRanch FAQ HowToAskQuestionsOnJavaRanch
|
 |
John McDonald
Ranch Hand
Joined: Jul 01, 2003
Posts: 112
|
|
Thanks Paul, But I have printer name and port of the printer, can I monitor status of that printer, given that the box the java code running on does not know about that printer? John
|
 |
 |
|
|
subject: Discover Network Printers
|
|
|