---
name: "lpd_cancel"
section: "1"
platform: "linux"
package: "pdq"
version: "2.2.1-7"
release: "Debian 3.0 (Woody)"
platforms: ["linux"]
url: "https://new.carta.tech/lpd_cancel"
---

# lpd\_cancel(1)

remove an entry from a remote lpd print spooler

## NAME

lpd\_cancel - remove an entry from a remote lpd print spooler

## SYNOPSIS

**lpd\_cancel \[-v\] -j** *id\_num* *queue***@***host* **\|** *host* **\[***queue***\]**

## DESCRIPTION

**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 \<langford@uiuc.edu\>

## SEE ALSO

[lpd\_print(1)](/lpd_print/1.md), [lpd\_status(1)](/lpd_status/1.md), RFC-1179
