简体   繁体   中英

How to get Active connected printers in Java?

I am a bit new in this topic. Actually I want list of Printers which are connected to my PC currently in Java. I referred this link for solving my problem. But the problem is, it is giving me all the printers whose drivers are installed in my PC (even if they are not connected right now).

How can I get list of Printers which are connected currently?

检查PrinterStateReason类。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM