2023-12-27 19:25:56 +00:00
|
|
|
# cancel
|
|
|
|
|
|
|
|
> Cancel print jobs.
|
|
|
|
> See also: `lp`, `lpmove`, `lpstat`.
|
|
|
|
> More information: <https://openprinting.github.io/cups/doc/man-cancel.html>.
|
|
|
|
|
|
|
|
- Cancel the current job of the default printer (set with `lpoptions -d {{printer}}`):
|
|
|
|
|
|
|
|
`cancel`
|
|
|
|
|
2024-02-19 14:13:42 +00:00
|
|
|
- Cancel the jobs of the default printer owned by a specific [u]ser:
|
2023-12-27 19:25:56 +00:00
|
|
|
|
|
|
|
`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}}`
|
|
|
|
|
2024-02-19 14:13:42 +00:00
|
|
|
- Cancel [a]ll jobs of all printers:
|
2023-12-27 19:25:56 +00:00
|
|
|
|
|
|
|
`cancel -a`
|
|
|
|
|
2024-02-19 14:13:42 +00:00
|
|
|
- Cancel [a]ll jobs of a specific printer:
|
2023-12-27 19:25:56 +00:00
|
|
|
|
|
|
|
`cancel -a {{printer}}`
|
|
|
|
|
2024-02-19 14:13:42 +00:00
|
|
|
- Cancel the current job of a specific server and then delete ([x]) job data files:
|
2023-12-27 19:25:56 +00:00
|
|
|
|
|
|
|
`cancel -h {{server}} -x`
|