LinuxCommandLibrary

cupsdisable

TLDR

Disable a printer

$ cupsdisable [printer_name]
copy
Disable with reason
$ cupsdisable -r "[maintenance]" [printer_name]
copy
Disable and cancel all jobs
$ cupsdisable -c [printer_name]
copy

SYNOPSIS

cupsdisable [options] destination(s)

DESCRIPTION

cupsdisable stops the printing system from processing jobs for the specified destinations. Jobs are held in the queue until the printer is enabled again.
Requires administrator privileges.

PARAMETERS

-c

Cancel all jobs on the destination.
-r reason
Set reason message.
-h server[:port]
Connect to specific server.
--hold
Hold remaining jobs.

SEE ALSO

Copied to clipboard