snippetbashTip
cancel — Cancel print jobs. See also: `lp`, `lpmove`, `lpstat`. More information: <https://openprinting.githu
Viewed 0 times
commandseecliprintjobscancelalso
Problem
How to use the
cancel command: Cancel print jobs. See also: lp, lpmove, lpstat. More information: <https://openprinting.github.io/cups/doc/man-cancel.html>.Solution
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_name):cancelCancel 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 -aCancel [a]ll jobs of a specific printer:
cancel -a {{printer}}Cancel the current job of a specific [h]ost server and then delete ([x]) job data files:
cancel -h {{server}} -xCode Snippets
Cancel the current job of the default printer (set with `lpoptions -d printer_name`)
cancelCancel 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 -aContext
tldr-pages: common/cancel
Revisions (0)
No revisions yet.