1cupsctl(8)                        Apple Inc.                        cupsctl(8)
2
3
4

NAME

6       cupsctl - configure cupsd.conf options
7

SYNOPSIS

9       cupsctl  [ -E ] [-U username ] [ -h server[:port] ] [ --[no-]debug-log‐
10       ging ] [ --[no-]remote-admin ] [ --[no-]remote-any  ]  [  --[no-]share-
11       printers ] [ --[no-]user-cancel-any ] [ name=value ]
12

DESCRIPTION

14       cupsctl  updates  or  queries the cupsd.conf file for a server. When no
15       changes are requested, the current configuration values are written  to
16       the standard output in the format "name=value", one per line.
17

OPTIONS

19       The following options are recognized:
20
21       -E
22            Enables encryption on the connection to the scheduler.
23
24       -U username
25            Specifies  an  alternate  username to use when authenticating with
26            the scheduler.
27
28       -h server[:port]
29            Specifies the server address.
30
31       --[no-]debug-logging
32            Enables or disables debug logging in the error_log file.
33
34       --[no-]remote-admin
35            Enables or disables remote administration.
36
37       --[no-]remote-any
38            Enables or disables printing from any address, e.g. the Internet.
39
40       --[no-]share-printers
41            Enables or disables sharing of local printers with  other  comput‐
42            ers.
43
44       --[no-]user-cancel-any
45            Allows or prevents users from canceling jobs owned by others.
46

EXAMPLES

48       Display the current settings:
49           cupsctl
50
51       Enable debug logging:
52           cupsctl --debug-logging
53
54       Get the current debug logging state:
55           cupsctl | grep '^_debug_logging' | awk -F= '{print $2}'
56
57       Disable printer sharing:
58           cupsctl --no-share-printers
59

KNOWN ISSUES

61       You cannot set the Listen or Port directives using cupsctl.
62

SEE ALSO

64       cupsd.conf(5), cupsd(8),
65       http://localhost:631/help
66
68       Copyright 2007-2013 by Apple Inc.
69
70
71
7211 January 2013                      CUPS                           cupsctl(8)
Impressum