cupsenable8
Stop/start printers and classes
Usage
cupsdisable [-E]
[-U
username]
[-c]
[-h
server
[:port]]
[-r
reason]
[--hold]
destination(s)
cupsenable [-E]
[-U
username]
[-c]
[-h
server
[:port]]
[--release]
destination(s)
Overview
cupsenable starts the named printers or classes while cupsdisable stops the named printers or classes.
Options
The following options may be used:
-
-E -
Forces encryption of the connection to the server.
-
-U username -
Uses the specified username when connecting to the server.
-
-c -
Cancels all jobs on the named destination.
-
-h server[:port] -
Uses the specified server and port.
-
--hold -
Holds remaining jobs on the named printer. Useful for allowing the current job to complete before performing maintenance.
-
-r "reason" -
Sets the message associated with the stopped state. If no reason is specified then the message is set to "Reason Unknown".
-
--release -
Releases pending jobs for printing. Use after running
cupsdisablewith the --hold option to resume printing.
Releases
14 releases since Debian 2.2 (Potato); the text changed 12 times.
--hold since Debian 6.0 (Squeeze);
--release since Debian 6.0 (Squeeze);
-E since Debian 4.0 (Etch);
-U since Debian 4.0 (Etch);
-h since Debian 4.0 (Etch);
-r since Debian 4.0 (Etch).