lpd_cancel(1)

lpd_cancel1

Remove an entry from a remote lpd print spooler

Usage

lpd_cancel {[-v] -j id_num queue@host | host [queue]}

Overview

lpd_cancel removes an entry from the BSD line printer daemon at host. The job is removed to queue, or lp if not specified. The job id to cancel is id_num, or 1 if not specified.

To be compliant with RFC-1179, this program must run SUID root, so that a privileged outbound port may be used. However, many lpd servers found on networked printers do not enforce this requirement.

Options

-j job_id

Set the job id to be job_id. This should be a three digit number from 001 to 999. Default is 001.

-v

Print warnings and fatal errors.

-vv

Print warnings, fatal errors, and informative messages.

-vvv

Print everything (debug level).

Bugs

When one does not have permission to cancel the requested job, no error message is displayed. Actually lpd_cancel does not work at all; don't print jobs you intend to cancel.

Author

Jacob A. Langford <[email protected]>

From pdq 2.2.1-7 in Debian 3.0 (Woody). Parsed by carta from the page's man source.