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

System User's Guide: Operating System and Devices

Canceling a Print Job (qcan Command)

You can cancel any job in the print queue by using the qcan Command or the smit Command. When you cancel a print job, you are prompted to provide the name of the print queue where the job resides and the job number to be canceled.

This procedure applies to both local and remote print jobs.

Prerequisites

Using the qcan Command

The qcan command cancels either a particular job number in a local or remote print queue, or all jobs in a local print queue. To determine the job number, type the qchk command.

The common format of the qcan command is as follows:

qcan -PQueueName -x JobNumber

For example, to cancel job number 123 on whichever printer the job is on, type:

qcan -x 123

For example, to cancel all jobs queued on printer lp0, type:

qcan -X -Plp0

Note: The AIX operating system also supports the BSD UNIX cancel print command (lprm) and the System V UNIX cancel print command (cancel). See the lprm and cancel commands in the AIX 5L Version 5.2 Commands Reference for more information and the exact syntax.

Using the smit Command

To cancel a print job using SMIT, type:

smit qcan

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

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