ipp
ipp copied to clipboard
The spec is not clear on how to handle tag
The spec is not clear on how to handle tag 19: date-time-at-completed=undefined. Please open a github issue to help find a solution!
The spec is not clear on how to handle tag 19: time-at-completed=undefined. Please open a github issue to help find a solution!
OpenPrinting CUPS 2.4.1
{
version: '2.0',
statusCode: 'successful-ok',
id: 81309427,
'operation-attributes-tag': {
'attributes-charset': 'utf-8',
'attributes-natural-language': 'en-us'
},
'job-attributes-tag': {
'number-of-documents': 1,
'job-media-progress': 0,
'job-more-info': 'http://localhost:631/jobs/80',
'job-printer-up-time': 1685629609,
'job-printer-uri': 'ipp://localhost:631/printers/printer',
'job-uri': 'ipp://localhost:631/jobs/80',
'printer-uri': 'ipp://localhost:3000/printers/printer',
'document-format': 'application/pdf',
'document-format-supplied': 'application/pdf',
'job-priority': 50,
'job-uuid': 'urn:uuid:62cc03c5-4027-3218-757d-23f9e254f6eb',
'date-time-at-completed': undefined,
'date-time-at-creation': 2023-07-01T08:26:49.000Z,
'date-time-at-processing': 2023-07-01T08:26:49.000Z,
'time-at-completed': undefined,
'time-at-creation': 1685629609,
'time-at-processing': 1685629609,
'job-id': 80,
'job-state': 'processing',
'job-state-reasons': 'job-printing',
'job-impressions-completed': 0,
'job-media-sheets-completed': 0,
'job-k-octets': 285,
'job-hold-until': 'no-hold',
'job-sheets': [ 'none', 'none' ]
}
}
Not sure what "undefined" means here but RFC 8011 defines date-time-at-completed thus:
5.3.14.7. date-time-at-completed (dateTime|unknown|no-value)
This RECOMMENDED attribute indicates the date and time at which the
Job entered a Terminating State (’completed’, ’canceled’, or
’aborted’).