cupsdisable

Stop printers and classes. NOTE: destination is referred as a printer or a class of printers. See also: cupsenable, cupsaccept, cupsreject, lpstat. More information: <https://openprinting.github.io/cups/doc/man-cupsenable.html>.

Install

All systems
curl cmd.cat/cupsdisable.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/cupsdisable cupsdisable powered by Commando

Stop printers and classes. NOTE: destination is referred as a printer or a class of printers. See also: cupsenable, cupsaccept, cupsreject, lpstat. More information: <https://openprinting.github.io/cups/doc/man-cupsenable.html>.

  • Stop one or more destination(s):
    cupsdisable destination1 destination2 ...
  • Cancel all jobs of the specified destination(s):
    cupsdisable -c destination1 destination2 ...

© tl;dr; authors and contributors