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

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 by using the Web-Based System Manager Fast Path, the qhld Command, or the smit Command.Web-based System Manager Fast Path, the Using the qhld Command, or the Using the smit Command. You can use the same commands to later release the print job for printing.

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.

Using the 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 common 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.

The following are examples of how to use the qhld command:

  1. To hold job number 452 on whichever print queue the job is on, type:
    qhld -#452
    Press Enter.
  2. To hold all jobs queued on print queue hp2, type:
    qhld -Php2
    Press Enter.
  3. To release job number 452 on whichever print queue the job is on, type:
    qhld -#452 -r
    Press Enter.
  4. To release all jobs queued on print queue hp2, type:
    qhld -Php2 -r
    Press Enter.

Using the 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 ]