User`s guide

1-12
Guide to Printers and Printing
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 or with the qchk or smit
commands.
Prerequisites
For local print jobs, the printer must be physically attached to your system or, in the case
of a network printer, attached and configured on the network.
For remote print jobs, your system must be configured to communicate with the remote
print server.
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 Print 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 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: 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 Commands Reference for the exact syntax.
smit Command
To check a print job’s status using SMIT, type:
smit qchk
Printer Status Conditions
Some of the status conditions that a print queue can have are: