1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 12:02:08 +02:00
tldr/pages/common/cancel.md
Vitor Henrique 1ba7fb9460
pages*: add missing mnemonics (#12151)
* pages*: add missing mnemonics

---------

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2024-02-19 19:43:42 +05:30

33 lines
728 B
Markdown

# 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`
- 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}}`
- Cancel the current job of a specific server and then delete ([x]) job data files:
`cancel -h {{server}} -x`