lprm

Cancel queued print jobs of a server. See also: lpq. More information: <https://openprinting.github.io/cups/doc/man-lprm.html>.

Install

All systems
curl cmd.cat/lprm.sh
Debian Debian
apt-get install lprng
Ubuntu
apt-get install gnuspool
Alpine
apk add cups
Arch Arch Linux
pacman -S cups
image/svg+xml Kali Linux
apt-get install lprng
Fedora
dnf install cups
Windows (WSL2)
sudo apt-get update sudo apt-get install gnuspool
Raspbian
apt-get install gnuspool
Docker
docker run cmd.cat/lprm lprm powered by Commando

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]

© tl;dr; authors and contributors