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
Specifies the hostname of the print server hostname, “localhost” by default.
-
id
Cancel print request id.
Get Mac OS X 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.