Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
cancel(1)
Edit
PageHistory
Diff
Info
LikePages
CANCEL !!!CANCEL NAME SYNOPSIS DESCRIPTION OPTIONS OPERANDS ENVIRONMENT EXIT STATUS SEE ALSO DIAGNOSTICS HISTORY AUTHOR ---- !!NAME cancel - send cancel requests to an LPRng print service !!SYNOPSIS __cancel__ [[ __-P__ ''printer'' ] [[ __-D__ ''debug-options'' ] [[ ''request-ID''... ] !!DESCRIPTION The 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 __-P__ ''printer'' printer name. The destination printer is taken from the command line __-P__ ''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. __-D__ ''debug-options'' Debug options for the program. !!OPERANDS The following operands are supported by __cancel__: ''ID'' A request ''ID'', as returned by __lp__. Specifying a request ''ID'' cancels the associated request even if it is currently printing. ''printer'' A printer name (for a complete list of printer names, use __lpq__). This method may not be supported on all systems, and the __-P__ ''printer'' form should be used instead. !!ENVIRONMENT By 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 STATUS The following exit values are returned: __zero (0)__ Successful completion. __non-zero (!=0)__ An error occurred. !!SEE ALSO lpd.conf(5), lpc(8), lpd(8), checkpc(8), lpr(1), lpq(1), lprm(1), printcap(5), lpd.perms(5), pr(1). !!DIAGNOSTICS Most 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. !!HISTORY LPRng 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. !!AUTHOR Patrick Powell ----
2 pages link to
cancel(1)
:
Man1c
lp(1)
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.