How to get printer status via CUPS API?
Toni Heimala
snildspam at gmail.com
Tue Jun 17 05:46:41 PDT 2008
How can I get the current printer status through the CUPS API?
What I would like to achieve is to get printer status messages like "Out
of paper", "Paper jam", etc.
I have tried calling the cupsLastErrorString() function for example but
it only returns "successfull-ok" after I've sent a file for printing via
the cupsPrintFile() function. Even though the printer is actually in out
of paper state.
More information about the cups
mailing list