[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 System User's Guide: Operating System and Devices

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 Web-based System Manager fast path or with the qhld or smit commands. You can later release the print job for printing with these same commands.

Prerequisites

Web-based System Manager Fast Path

To hold or release a print job using the Web-based System Manager fast path, type:

wsm printers

In the Printer Queues container, select the print job, then use the menus to put it on hold or to release it 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.

The basic format of the qhld command is:

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

See the qhld command in the AIX Version 4.3 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 | Contents | Glossary | Home | Search ]