2025-03-14 21:59:59 -06:00
|
|
|
# cancel
|
|
|
|
|
|
|
|
|
|
> Cancel print jobs.
|
|
|
|
|
> See also: `lp`, `lpmove`, `lpstat`.
|
|
|
|
|
> More information: <https://openprinting.github.io/cups/doc/man-cancel.html>.
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
- Cancel the current job of the default printer (set with `lpoptions -d printer_name`):
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
`cancel`
|
|
|
|
|
|
|
|
|
|
- Cancel the jobs of the default printer owned by a specific [u]ser:
|
|
|
|
|
|
|
|
|
|
`cancel -u {{username}}`
|
|
|
|
|
|
|
|
|
|
- Cancel the current job of a specific printer:
|
|
|
|
|
|
|
|
|
|
`cancel {{printer}}`
|
|
|
|
|
|
|
|
|
|
- Cancel a specific job from a specific printer:
|
|
|
|
|
|
|
|
|
|
`cancel {{printer}}-{{job_id}}`
|
|
|
|
|
|
|
|
|
|
- Cancel [a]ll jobs of all printers:
|
|
|
|
|
|
|
|
|
|
`cancel -a`
|
|
|
|
|
|
|
|
|
|
- Cancel [a]ll jobs of a specific printer:
|
|
|
|
|
|
|
|
|
|
`cancel -a {{printer}}`
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
- Cancel the current job of a specific [h]ost server and then delete ([x]) job data files:
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
`cancel -h {{server}} -x`
|