Specifications

174 Chapter 10 Working with the Print Service
For each job, the command lists:
 Document name
 Document size
 Job ID
 Submitting user
 Submitting host
 Job name
 Job state
 Job priority
Holding and Releasing a Job
To hold or release a job, use the serveradmin setJobState command.
To hold a job:
$ sudo serveradmin command
print:command = setJobState
print:status = HOLD
print:jobsArray:_array_index:0:printer =
queue
print:jobsArray:_array_index:0:idsArray:_array_index:0 =
jobid
Control-D
To release the job for printing, change its state to PENDING.
To release a job:
$ sudo serveradmin command
print:command = setJobState
print:status = PENDING
print:jobsArray:_array_index:0:printer =
queue
print:jobsArray:_array_index:0:idsArray:_array_index:0 =
jobid
Control-D
Parameter Description
queue
The name of the queue. To find the name of the queue, use the
getQueues command and look for the value of the printer
setting. See “Listing Queues” on page 173.
jobid
The ID of the job. To find the ID of the job, use the getJobs
command and look for the value of the
jobId setting. See “Listing
Jobs and Job Information on page 173.