detect printer status
bui
bqbao at yahoo.com
Tue Mar 29 04:18:52 PDT 2011
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
More information about the cups
mailing list