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

System User's Guide: Operating System and Devices

Checking Print Job Status (qchk Command)

To display the current status information for specified job numbers, queues, printers, or users, you can use the Web-based System Manager Fast Path, qchk Command, or the smit Command.

Prerequisites

Web-based System Manager Fast Path

To check the status of 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 check its status.

Using the qchk Command

You can use the qchk command to display the current status information regarding specified print jobs, print queues, or users.

The common format of the qchk command is:

qchk -P QueueName -# JobNumber -u OwnerName

See the qchk command in the AIX 5L Version 5.2 Commands Reference for the complete syntax.

The following are examples of howto use the qchk command:

  1. To display the default print queue, type:
    qchk -q
    Press Enter.
  2. To display the long status of all queues until all queued jobs are complete, while updating the screen every 5 seconds, type:
    qchk -A -L -w 5
    To return to the command prompt, type ^C.
  3. To display the status for print queue lp0, type:
    qchk -P lp0
    Press Enter.
  4. To display the status for job number 123, type:
    qchk -# 123
    Press Enter.
  5. To check the status of all jobs in all queues, type:
    qchk -A
Note
The AIX operating system also supports the BSD UNIX check print queue command (lpq) and the System V UNIX check print queue command (lpstat).

See the lpq and lpstat commands in the AIX 5L Version 5.2 Commands Reference for the complete syntax.

Using the smit Command

To check a print job's status using SMIT, type:

smit qchk

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