[cups.development] detect printer status
Michael Sweet
msweet at apple.com
Tue Mar 29 11:39:52 PDT 2011
You can't get the low-level USB status from CUPS, at least on Linux.
On Mar 29, 2011, at 4:18 AM, bui wrote:
> Hi,
>
> I am writing a Qt program to control a USB printer. How can I detect the printer status (just display the online-offline status)? When I use IPP API to querry the printer state, it always return: printerstate is idle.
>
> When I turn on and turn off the printer, the kernel display notify message about usblp (I am using CUPS 1.3.9), so I think there must be a way to detect the on-off status of the printer using CUPS API, but I can not find it until now.
>
> Any help is very appropriate.
>
> Thank you very much
> _______________________________________________
> cups-dev mailing list
> cups-dev at easysw.com
> http://lists.easysw.com/mailman/listinfo/cups-dev
________________________________________________________________________
Michael Sweet, Senior Printing System Engineer, PWG Chair
More information about the cups-devel
mailing list