[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]

Guide to Printers and Printing


Holding and Releasing a Print Job (qhld Command)

After you have sent a print job to a print queue, you can put the print job on hold with the:

commands. You can later release the print job for printing with these same commands.

Note: You cannot hold and release remote print jobs.

Prerequisite

The printer must be physically attached to your system.

Web-based System Manager

To hold or release a print job using Web-based System Manager, type wsm, then select Printers.

In the Printer Queues window, select the print job, then use the menus to put it on hold or to release a held job for printing.

qhld Command

The qhld command puts a print job on hold after you have sent it. You can either put a particular print job on hold, or you can hold all the print jobs on a specified print queue. To determine the print job number, type the qchk command.

For more information see qchk Command.

The basic format of the qhld command is:

qhld [ -r ] {[ -#JobNumber ] [ -PQueue ] [ -uUser ]}

See the qhld command in the AIX 5L Version 5.1 Commands Reference for the exact syntax.

For example, to hold job number 452 on whichever print queue the job is on, type:

qhld -#452 

For example, to hold all jobs queued on print queue hp2, type:

qhld -Php2

To release job number 452 on whichever print queue the job is on, type:

qhld -#452 -r

To release all jobs queued on print queue hp2, type:

qhld -Php2 -r

smit Command

To hold or release a print job using SMIT, type:

smit qhld


[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]