1cupsenable(8) Easy Software Products 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 ] destination(s)
11 cupsenable [ -E ] [-U username ] [ -c ] [ -h server[:port] ] destina‐
12 tion(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 -r "reason"
33 Sets the message associated with the stopped state. If no reason
34 is specified then the message is set to "Reason Unknown".
35
37 Unlike the System V printing system, CUPS allows printer names to con‐
38 tain any printable character except SPACE, TAB, "/", or "#". Also,
39 printer and class names are not case-sensitive.
40
41 The System V versions of these commands are disable and enable. They
42 have been renamed to avoid conflicts with the bash(1) build-in command
43 of the same name.
44
45 The CUPS versions of disable and enable may ask the user for an access
46 password depending on the printing system configuration. This differs
47 from the System V versions which require the root user to execute these
48 commands.
49
51 accept(8), cancel(1), lp(1), lpadmin(8), lpstat(1),
52 http://localhost:631/help
53
55 Copyright 1997-2006 by Easy Software Products, All Rights Reserved.
56
57
58
59
6012 February 2006 Common UNIX Printing System cupsenable(8)