HP Distributed Print Service Administration Guide

Chapter 11 353
Managing Jobs and Supporting Users
Determining Job States and Job Status
Determining Job States and Job Status
This section describes the jobs states and other job attributes that reflect
the status of jobs. It describes how to query jobs to determine their state
and status.
You can obtain job status before and while a job prints. You can obtain
job status after a job finishes processing if the job is retained.
Table 11-3 describes job attributes that reflect the state and status of
jobs. These attributes are non-settable, which means their values are set
and updated by HPDPS as it processes the job.
The following job attributes also reflect the status of pending jobs or
affect when HPDPS schedules the job: intervening-jobs,
job-priority, and total-job-octets.
The following job attributes report the printers, both logical and
physical, and queue to which HPDPS assigns the job:
printer-name-requested, queue-assigned, and printers-assigned.
See Table 11-2 for descriptions of these six attributes.
Table 11-3 Job Status Attributes
Attribute Description
The following are job-state attributes.
current-job-state Describes the current state of the job, such as pending.
previous-job-state Describes the previous state of the job.
job-state-reasons Describes why the job is in the current-job-state.
The following are time-related status attributes.
submission-time Reports the time the job was added to the queue.
job-submission-complete Indicates whether all documents of the job have been received
by the spooler; if true, HPDPS can schedule the job.
started-printing-time Reports the time the job was sent to the physical printer.
completion-time Reports the time the job completed processing (printing) on
the physical printer.