rcancel(1M)
NAME
rcancel − remove requests from a remote line printer spooling queue
SYNOPSIS
/usr/lib/rcancel [id ...] [printer] [−a] [−e] [−u user]
DESCRIPTION
rcancel removes a request, or requests, from the spool queue of a remote printer. rcancel is invoked by the cancel(1) command.
At least one id or the name of a printer must be specified.
This command is intended to be used only by the spool system in response to the cancel command (see lp(1)), and should not be invoked directly.
Options
rcancel recognizes the following options:
id Specifying a request ID (as returned by lp(1)) cancels the associated request, if the request is owned by the user, even if it is currently printing.
printer Name of the printer (for a complete list, use lpstat(1)). Specifying a printer cancels the request which is currently printing on that printer, if the request is owned by the user. If the −a, −e or the −u option is specified, this option only specifies the printer to perform the cancel operation on.
−a Remove all requests owned by user on the specified printer (see printer). The owner is determined by the user’s login name and host name on the machine where the lp command was invoked.
−e Empty the spool queue of all requests for the specified printer. This form of invoking rcancel is useful only to users with appropriate privileges.
−u user Remove any requests queued belonging to that user (or users). This form of invoking rcancel is useful only to users with appropriate privileges.
HP Clustered Environment
In the HP Clustered Environment, all spooling is handled as if the cluster nodes were a single system and all printers attached to either the cluster server or clients can be available. Remote spooling applies to spooling from or to machines outside of the cluster nodes.
AUTHOR
rcancel was developed by the University of California, Berkeley, and HP.
FILES
/usr/spool/lp/*
SEE ALSO
accept(1M), enable(1), lp(1), lpadmin(1M), lpsched(1M), lpstat(1), rlp(1M), rlpdaemon(1M), rlpstat(1M).
Hewlett-Packard Company — HP-UX Release 8.05: June 1991