Name

cancel

Synopsis

cancel [options] [printer]

Cancels print requests made with lp. The request can be specified by its ID, by the printer on which it is currently printing, or by the username associated with the request (only privileged users can cancel another user’s print requests). Use lpstat to determine either the id or the printer to cancel.

Options

-a

Cancel all queued requests to the specified printer.

-h [hostname]

Specify the hostname of the print server. With no hostname, it uses the value of CUPS_SERVER or localhost.

-u username

Cancel jobs for user username.

id

Cancel print request id.

Get Mac OS X Tiger in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.