mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-12 13:58:58 +00:00
Update cheatsheets
This commit is contained in:
38
cancel
Normal file
38
cancel
Normal file
@@ -0,0 +1,38 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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`
|
||||
Reference in New Issue
Block a user