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

jlovell.apple jlovell at apple.com
Sun Sep 3 11:53:44 PDT 2006


[STR New]

The job-completed event has the job-state 'job-printing' rather than
'completed'. rfc3995, section 5.3.3.4.3 says:

job-completed':  REQUIRED - the job has reached one of the
         completed states, i.e., the value of the job's "job-state"
         attribute has changed to: 'completed', 'aborted', or
         'canceled'.

With a little testsubscriptions tool I see:

job-created: ("Job created.")
printer-state-changed: processing ("Printer "test" state changed.")
job-state: job-printing ("Job #38 started.")
job-completed: job-printing ("Job completed successfully.")
printer-state-changed: idle ("Printer "test" state changed.")

Seperatly, when a backend exits with an error the job-completed event is
missing:

job-created: ("Job created.")
printer-state-changed: processing ("Printer "test" state changed.")
job-state: job-printing ("Job #39 started.")
printer-state-changed: stopped ("Printer "test" state changed.")

I hope to do more event testing on Tuesday...

Thanks!

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





More information about the cups-devel mailing list