[cups.general] Clearing printer-state-reasons after job completion
Michael Sweet
mike at easysw.com
Sun Apr 1 06:18:10 PDT 2007
Tim Waugh wrote:
> Hi,
>
> I'm trying to add some user feedback to a queue manager program, and it
> seems that printer-state-reasons is what I need to look at. One thing
> I'd like to be able to report is that a printer is low on ink -- the
> HPLIP backend can detect this while printing a job, for instance. It
> doesn't cause the job to fail of course, and so the job completes
> normally.
>
> I'm trying to work out how a driver/backend that notices low ink on a
> device is meant to communicate that back to the user. The obvious way
> seems to be 'STATE: +marker-supply-low', but once the job is completed
> the printer's printer-state-reasons attribute gets cleared.
>
> Does printer-state-reasons need to be cleared after job completion? In
> particular, it seems unlikely that 'marker-supply-low' should be removed
> just because the job during which it was set has completed.
We shouldn't be clearing printer-state-reasons, just
printer-state-message. Please file a bug report and I'll get it
fixed for 1.2.11.
--
______________________________________________________________________
Michael Sweet, Easy Software Products mike at easysw dot com
Internet Printing and Document Software http://www.easysw.com
More information about the cups
mailing list