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

System User's Guide: Operating System and Devices


Checking Print Job Status (qchk Command)

You can display the current status information for specified job numbers, queues, printers, or users with the Web-based System Manager Fast Path, the qchk Command, or 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.

qchk Command

The qchk command displays the current status information regarding specified print jobs, print queues, or users.

The basic format of the qchk command is:

qchk -P QueueName -# JobNumber -u OwnerName

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

For example, to display the default print queue, type:

qchk -q

For example, to display the long status of all queues until empty, while updating the screen every 5 seconds, type:

qchk -A -L -w 5

For example, to display the status for print queue lp0, type:

qchk -P lp0

For example, to display the status for job number 123, type:

qchk -# 123

For example, to check the status of all jobs in all queues, type:

qchk -A

Note: This 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.1 Commands Reference for the exact syntax.

smit Command

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

smit qchk


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