System Administration Guide: Printing

Canceling a Print Request

You can use the cancel command to cancel print requests in printer queues or to cancel jobs that are printing.

Three are three ways to use the cancel command:

When you use the cancel command, a message tells you the request or requests are canceled, and the next request in queue is being printed.

You can cancel a print request only under the following conditions:

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.