Options used:
ah FLAG Automatically hold jobs
A job can be in the following state:
Initial. This is the state during job submission. Jobs in the initial state do not have any status displayed for them.
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.
Active. The job is being processed for printing or transfer to another queue.
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.
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.
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.