1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 10:22:08 +02:00
tldr/pages/common/lprm.md
2023-12-28 12:33:50 -03:00

504 B

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:

lprm -h {{server[:port]}} {{job_id}}

  • 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:

lprm -P {{destination[/instance]}}