System Administration Guide: Advanced Administration

Canceling a Print Request

You can use the cancel command to cancel print requests from printer queues or to cancel jobs that are printing. Three ways to use the cancel command are as follows:

When you use the cancel command, a message tells you the request(s) are canceled, and the next request in queue is printed. You can cancel a print request only if you are:

To cancel a specific request, you need to know its request ID. The request ID contains the name of the printer, a dash, and the number of the print request. For example, luna-185.

When you submit the print request, the request ID is displayed. If you do not remember the print request ID, you can find it by using the lpstat command with the -o printer option.