Copyright (C) 2000-2012 |
Manpages CANCELSection: User Commands (1)Updated: Index Return to Main Contents NAMEcancel - send cancel requests to an LPRng print serviceSYNOPSIScancel [ -P printer ] [ -D debug-options ][ request-ID... ] DESCRIPTIONThe LPRng lprm client supports an cancel interface when invoked with an cancel program name. This is similar to the ex(1) and vi(1) programs. The supported form of the cancel command arranges for the named jobs to be removed from the specified print queues. The action is identical to that of lprm(1), including the options, with the difference that the last argument on the command line can be an optional printer name. If the name does not appear in the LPRng printcap database, then the name is assumed to be a job identifier.
The format of
request-ID
should be either the identifier field value or the job number
reported by LPQ.
OPTIONS
OPERANDSThe following operands are supported by cancel:
ENVIRONMENTBy default, the destination printer is taken from the command line printer value, then the environment variables PRINTER, LPDEST, NPRINTER, NGPRINTER, then first entry in the printcap information, and and finally the default_printer entry from the configuration file, and then the compile time default. EXIT STATUSThe following exit values are returned:
SEE ALSOlpd.conf(5), lpc(8), lpd(8), checkpc(8), lpr(1), lpq(1), lprm(1), printcap(5), lpd.perms(5), pr(1).DIAGNOSTICSMost of the diagnostics are self explanatory. If you are puzzled over the exact cause of failure, set the debugging level on (-D5) and run again. The debugging information will help you to pinpoint the exact cause of failure. HISTORYLPRng is a enhanced printer spooler system with functionality similar to the Berkeley LPR software. The LPRng mailing list is lprng@lprng.com; subscribe by sending mail to lprng-request@lprng.com with the word subscribe in the body. The software is available from ftp://ftp.lprng.com/pub/LPRng.AUTHORPatrick Powell <papowell@lprng.com>.
Index
This document was created by man2html, using the manual pages. Time: 10:38:42 GMT, March 28, 2024 |