DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Writing and editing

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:

  1. Type lp /etc/passwd and press <Enter> to print the file /etc/passwd.

  2. Type lpstat and press <Enter> to check the job ID number of your print job. Write this down.

  3. Cancel your print job by typing cancel, the job ID you have written down, and press <Enter>.

  4. Type lpstat and press <Enter> to confirm that your job has disappeared from the print queue.


Next topic: Summary
Previous topic: Checking on a print job

© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 03 June 2005