[cups-devel] How to status/error of printer like connected or disconnected using cups
"Balakrishnan, Shobin" <[email protected]> Thu, 29 Sep 2016 11:23:55 +0000
| Newsgroups | gmane.comp.printing.cups.devel |
|---|---|
| Message-ID | <BN6PR04MB037132F07F734188035D584AEDCE0@BN6PR04MB0371.namprd04.prod.outlook.com> |
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