1cupsenable(8) Apple Inc. cupsenable(8)
2
3
4
6 cupsdisable, cupsenable - stop/start printers and classes
7
9 cupsdisable [ -E ] [-U username ] [ -c ] [ -h server[:port] ] [ -r rea‐
10 son ] [ --hold ] destination(s)
11 cupsenable [ -E ] [-U username ] [ -c ] [ -h server[:port] ] [
12 --release ] destination(s)
13
15 cupsenable starts the named printers or classes.
16
17 cupsdisable stops the named printers or classes. The following options
18 may be used:
19
20 -E
21 Forces encryption of the connection to the server.
22
23 -U username
24 Uses the specified username when connecting to the server.
25
26 -c
27 Cancels all jobs on the named destination.
28
29 -h server[:port]
30 Uses the specified server and port.
31
32 --hold
33 Holds remaining jobs on the named printer. Useful for allowing
34 the current job to complete before performing maintenance.
35
36 -r "reason"
37 Sets the message associated with the stopped state. If no reason
38 is specified then the message is set to "Reason Unknown".
39
40 --release
41 Releases pending jobs for printing. Use after running cupsdisable
42 with the --hold option to resume printing.
43
45 Unlike the System V printing system, CUPS allows printer names to con‐
46 tain any printable character except SPACE, TAB, "/", or "#". Also,
47 printer and class names are not case-sensitive.
48
49 The System V versions of these commands are disable and enable. They
50 have been renamed to avoid conflicts with the bash(1) build-in commands
51 of the same name.
52
53 The CUPS versions of disable and enable may ask the user for an access
54 password depending on the printing system configuration. This differs
55 from the System V versions which require the root user to execute these
56 commands.
57
59 cupsaccept(8), cupsreject(8), cancel(1), lp(1), lpadmin(8), lpstat(1),
60 http://localhost:631/help
61
63 Copyright 2007-2013 by Apple Inc.
64
65
66
67
689 October 2008 CUPS cupsenable(8)