Canceling a print job
To cancel a print job, you need to know its job ID.
You can find this out by typing lpstat and pressing <Enter>,
as explained in the preceding section.
To cancel a print job, type cancel, the ID number
of the job, and press <Enter>.
Try sending a job to the printer and then canceling it:
Type lp /etc/passwd and press <Enter> to print the file
Type lpstat and press <Enter> to check the job ID
number of your print job. Write this down.
Cancel your print job by typing cancel, the job ID
you have written down, and press <Enter>.
Type lpstat and press <Enter> to confirm that your job has
disappeared from the print queue.
Checking on a print job
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003