[cups.bugs] [LOW] STR #1249: printer-state-history retrieved with

David Keeffe david at systemsolve.net
Thu Aug 18 05:08:10 PDT 2005


[STR New]

I have written a simple app to retrieve the printer-state-history
collection, as we are having problems with a printer geting disabled with
no apparent reason.

I notice that in all the items in the collection, all values have two
entries, with the first always being empty. I think this is also stopping
the history output on the cupsd web pages.

Below is a dump of output:

printer-state-history[8]: COLLECTION
printer-state[0]: ENUM 0
printer-state[1]: WORKING
printer-is-accepting-jobs[0]: (null)
printer-is-accepting-jobs[1]: (null)
printer-state-message[0]: (null)
printer-state-message[1]: Received 39 bytes of back-channel data!
printer-state-reasons[0]: (null)
printer-state-reasons[1]: none
printer-state-time[0]: Thu Jan  1 10:00:00 1970
printer-state-time[1]: Thu Aug 18 17:09:49 2005
printer-state-sequence-number[0]: 0
printer-state-sequence-number[1]: 74719
printer-state-history[9]: COLLECTION
printer-state[0]: ENUM 0
printer-state[1]: IDLE
printer-is-accepting-jobs[0]: (null)
printer-is-accepting-jobs[1]: (null)
printer-state-message[0]: (null)
printer-state-message[1]: Received 39 bytes of back-channel data!
printer-state-reasons[0]: (null)
printer-state-reasons[1]: none
printer-state-time[0]: Thu Jan  1 10:00:00 1970
printer-state-time[1]: Thu Aug 18 17:10:03 2005
printer-state-sequence-number[0]: 0
printer-state-sequence-number[1]: 74720

Link: http://www.cups.org/str.php?L1249
Version: 1.1.23





More information about the cups mailing list