Specifications

1-15
Printing Overview
Checking print job status (qchk command)
This section discusses how you can display the current status information for specified job
numbers, queues, printers, or users.
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
To check the status of a print job using Web–based System Manager, enter wsm, and then
select Printers.
In the Printer Queues window, select the print job, and then use the menus to check its
status.
qchk command
Use the qchk command to display 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.3 Commands Reference for the complete
syntax.
The following list contains examples of how to use the qchk command:
To display the default print queue, enter:
qchk –q
To display the long status of all queues until empty, while updating the screen every 5
seconds, enter:
qchk –A –L –w 5
To display the status for print queue lp0, enter:
qchk –P lp0
To display the status for job number 123, enter:
qchk –# 123
To check the status of all jobs in all queues, enter:
qchk –A
Note: The base 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.3 Commands Reference for the
complete syntax.
smit command
To check a print job’s status using SMIT, enter:
smit qchk