cupsreject

Reject jobs sent to one or more printers. NOTE: destination is referred as a printer or a class of printers. See also: cupsaccept, cupsenable, cupsdisable, lpstat. More information: <https://www.cups.org/doc/man-cupsaccept.html>.

Install

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

Reject jobs sent to one or more printers. NOTE: destination is referred as a printer or a class of printers. See also: cupsaccept, cupsenable, cupsdisable, lpstat. More information: <https://www.cups.org/doc/man-cupsaccept.html>.

  • Reject print jobs to the specified destinations:
    cupsreject destination1 destination2 ...
  • Specify a different server:
    cupsreject -h server destination1 destination2 ...
  • Specify a reason string ("Reason Unknown" by default):
    cupsreject -r reason destination1 destination2 ...

© tl;dr; authors and contributors