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

Guide to Printers and Printing

Holding and Releasing a Print Job (qhld Command)

This section discusses how to hold a print job after it has been sent to the print queue. 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.2 Commands Reference for the complete 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

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