[cups-devel] How to status/error of printer like connected or disconnected using cups

Balakrishnan, Shobin shobin.balakrishnan at opwglobal.com
Thu Sep 29 04:23:55 PDT 2016


Hi,


   I am working on linux platform.I made an application that can print a file. The application runs in realtime, I needed it to handle the printer status/error such as:

1. Printer connected or disconnected
2. Printer turned off
3. Printer out of paper
4. Printer out of ink

My question is: how can I handle those status/errors above with CUPS? As I see it, there's no straightforward way to check whether a printer is out of paper or ink. So I guess I have to make another way.Please help me ASAP.



Thanks and Regards,

Shobin.b

+91 8861636401



More information about the cups mailing list