The cancel utility cancels print requests. There
are two forms of the cancel command.
The first form of cancel has two optional arguments:
print requests (request-ID) and destinations
(destination). Specifying request-ID with destination cancels request-ID on destination. Specifying
only the destination cancels the current print request on destination. If destination is
not specified, cancel cancels the requested print request
on all destinations.
The second form of cancel cancels a user's print
requests on specific destinations.
Users can only cancel print requests associated with their username.
By default, users can only cancel print requests on the host from which
the print request was submitted. If a super-user has set user-equivalence=true in /etc/printers.conf on the print server,
users can cancel print requests associated with their username on any host.
Super-users can cancel print requests on the host from which the print request
was submitted. Super-users can also cancel print requests from the print
server.
The print client commands locate destination information using the "printers"
database in the name service switch. See nsswitch.conf(4), printers(4),
and printers.conf(4)
for details.
|