How to get really printer status

Michael Sweet mike at easysw.com
Mon Mar 26 06:33:21 PDT 2007


JM Marino wrote:
> hi,
> 
> I want to know the really printer status (not CUPS printer status).
> When the user shutdown the printer, my application needs to know that.
> 
> I try to use CUPS to know that but only I can do it's to get CUPS status not really printer status ...

You need to query the printer directly to get the printer's status.
CUPS only provides a snapshot from the last print job.

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
Internet Printing and Document Software          http://www.easysw.com




More information about the cups-devel mailing list