LPRng-HOWTO: 15 Oct 2001 (For LPRng-3.7.9)
Prev | Chapter 13. Spool Queues and Files | Next

# 13.7. Job State

Options used:

- `ah` FLAG Automatically hold jobs

A job can be in the following state:

1. Initial. This is the state during job submission. Jobs in the initial state do not have any status displayed for them.

2. Held. Once a job is submitted, it can either be printed or held. The `ah` printcap option specifies that all jobs are automatically held on submission. The `lpc release` and `lpc redo` command will cause these jobs to be printed and the lprm command can remove these jobs.

3. Active. The job is being processed for printing or transfer to another queue.

4. Pending. Jobs which can be printed but are not active. This can be due to the printer being busy or the job class not being printed.

5. Error. Jobs which have encountered an error during printing. The `lpc release` and `lpc redo` command will cause these jobs to be printed and the lprm command can remove these jobs.

6. Done. Jobs which have completed printing, but which are not yet removed from the print queue. See the save_when_done flag for more information. The lprm command can remove these jobs.

Normally the job sequences is initial, pending, active, and done. However, a job may be put in the error state by problems processing the job or by actions of the lpc command.

Prev | Home | Next
Job Hold File | Up | Job Identifier