Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

rcancel(1m) [hpux man page]

rcancel(1M)															       rcancel(1M)

NAME
rcancel - remove requests from a remote printer spooling queue SYNOPSIS
[id ...] [printer] user] DESCRIPTION
The command removes a request, or requests, from the spool queue of a remote printer. is invoked by the command (see lp(1)). 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 command (see lp(1)), and should not be invoked directly. Options The command recognizes the following options: id Specifying a request ID (as returned by (see lp(1))) cancels the associated request, even if it is currently printing. The maximum number of ids that can be specified is 50. printer Name of the printer (for a complete list, use (see lpstat(1))). Specifying a printer cancels the request which is cur- rently printing on that printer, if the request is owned by the user. If the or the option is specified, this option only specifies the printer on which to perform the corresponding cancel operation. Remove all requests owned by the 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 command was invoked. Empty the spool queue of all requests for the specified printer. This form of invoking is useful only to users with appropriate privileges. Remove any requests queued belonging to that user (or users) for the specified printer. You can repeat the option to specify more users. The maximum number of users that can be specified is 50. This form of invoking is useful only to users with appropriate privileges. WARNINGS
A remote print request can be canceled only from the system on which the the original command was issued, and if the restrict cancel fea- ture (see lpadmin(1M)) is enabled for the specified printer, a request belonging to this printer can be canceled only by the system admin- istrator or the user who requested it. This command is intended to be used only by the spool system in response to the command (see lp(1)), and should not be invoked directly. AUTHOR
was developed by the University of California, Berkeley, and HP. FILES
SEE ALSO
enable(1), lp(1), lpstat(1), accept(1M), lpadmin(1M), lpsched(1M), rlp(1M), rlpdaemon(1M), rlpstat(1M). rcancel(1M)

Check Out this Related Man Page

enable(1)							   User Commands							 enable(1)

NAME
enable, disable - enable/disable LP printers SYNOPSIS
/usr/bin/enable printer... /usr/bin/disable [-c | -W] [ -r [reason]] printer... DESCRIPTION
The enable command activates printers, enabling them to print requests submitted by the lp command. enable must be run on the printer server. The disable command deactivates printers, disabling them from printing requests submitted by the lp command. By default, any requests that are currently printing on printer will be reprinted in their entirety either on printer or another member of the same class of printers. The disable command must be run on the print server. Use lpstat -p to check the status of printers. enable and disable only effect queueing on the print server's spooling system. Executing these commands from a client system will have no effect on the server. OPTIONS
The following options are supported for use with disable: -c Cancels any requests that are currently printing on printer. This option cannot be used with the -W option. If the printer is remote, the -c option will be silently ignored. -W Waits until the request currently being printed is finished before disabling printer. This option cannot be used with the -c option. If the printer is remote, the -W option will be silently ignored. -r [reason] Assigns a reason for the disabling of the printer(s). This reason applies to all printers specified. This reason is reported by lpstat -p. Enclose reason in quotes if it contains blanks. The default reason is "unknown reason" for the existing printer, and "new printer" for a printer added to the system but not yet enabled. OPERANDS
The following operand is supported for both enable and disable: printer The name of the printer to be enabled or disabled. Specify printer using atomic name. See printers.conf(4) for information regarding the naming conventions for atomic names. EXIT STATUS
The following exit values are returned: 0 Successful completion. non-zero An error occurred. FILES
/var/spool/lp/* LP print queue. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWpcu | +-----------------------------+-----------------------------+ |CSI |enabled | +-----------------------------+-----------------------------+ SEE ALSO
lp(1), lpstat(1), printers.conf(4), attributes(5) SunOS 5.10 9 Sep 1996 enable(1)
Man Page