cupsreject

prevent printer from accepting new jobs

TLDR

Reject new print jobs for a printer
$ cupsreject [printer_name]
Reject with reason message
$ cupsreject -r "[printer offline]" [printer_name]

SYNOPSIS

cupsreject [options] destination(s)

DESCRIPTION

cupsreject instructs the printing system to reject new print jobs for the specified destinations. Existing jobs in the queue are not affected.Use cupsaccept to accept jobs again. Requires administrator privileges.

PARAMETERS

-r reason

Set reason message for rejecting.
-h server[:port]
Connect to specific server.

INSTALL

sudo apt install cups-client
sudo dnf install cups-client
sudo pacman -S cups
sudo apk add cups
sudo zypper install cups-client
brew install cups
nix profile install nixpkgs#cups

SEE ALSO

cupsaccept(1), cupsdisable(1)

RESOURCES

Source code · Homepage · Documentation