2025-03-14 21:59:59 -06:00
|
|
|
# lprm
|
|
|
|
|
|
|
|
|
|
> Cancel queued print jobs of a server.
|
|
|
|
|
> See also: `lpq`.
|
|
|
|
|
> More information: <https://openprinting.github.io/cups/doc/man-lprm.html>.
|
|
|
|
|
|
|
|
|
|
- Cancel current job on the default printer:
|
|
|
|
|
|
|
|
|
|
`lprm`
|
|
|
|
|
|
|
|
|
|
- Cancel a job of a specific server:
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`lprm -h {{server}} {{job_id}}`
|
|
|
|
|
|
|
|
|
|
- Cancel a job of a specific server in a specific port:
|
|
|
|
|
|
|
|
|
|
`lprm -h {{server}}:{{port}} {{job_id}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Cancel multiple jobs with a encrypted connection to the server:
|
|
|
|
|
|
|
|
|
|
`lprm -E {{job_id1 job_id2 ...}}`
|
|
|
|
|
|
|
|
|
|
- Cancel all jobs:
|
|
|
|
|
|
|
|
|
|
`lprm -`
|
|
|
|
|
|
|
|
|
|
- Cancel the current job of a specific printer or class:
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`lprm -P {{destination}}/{{instance}}`
|