[cups.bugs] [MOD] STR #1955: job-completed event has job-state 'job-printing'

jlovell.apple jlovell at apple.com
Sun Sep 3 22:43:51 PDT 2006


[STR New]

Got a little more testing in...

cupsdSetPrinterReasons() is not generating a printer-state-changed event.

Neither is accept/reject.

In printers.c maybe these two lines should be reversed so the reason is
part of the printer-state-changed event:

      cupsdSetPrinterState(p, IPP_PRINTER_STOPPED, 0);
      cupsdSetPrinterReasons(p, "+cups-missing-filter-error");

And a similar construct in job.c:

  cupsdAddEvent(CUPSD_EVENT_JOB_COMPLETED, job->printer, job,
                "Job canceled by \"%s\".", username);

  cupsdCancelJob(job, 0);

Thanks!

Link: http://www.cups.org/str.php?L1955
Version: 1.2-current





More information about the cups-devel mailing list