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
Specify the hostname of the print server hostname, “localhost” by default.
-
-u
username
Cancel jobs for user
username
.-
id
Cancel print request
id
.
Get Mac OS X Panther in a Nutshell, 2nd Edition 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.