1cupsctl(8) Apple Inc. cupsctl(8)
2
3
4
6 cupsctl - configure cupsd.conf options
7
9 cupsctl [ -E ] [ -U username ] [ -h server[:port] ] [ --[no-]debug-log‐
10 ging ] [ --[no-]remote-admin ] [ --[no-]remote-any ] [
11 --[no-]share-printers ] [ --[no-]user-cancel-any ] [ name=value ]
12
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
19 The following options are recognized:
20
21 -E Enables encryption on the connection to the scheduler.
22
23 -U username
24 Specifies an alternate username to use when authenticating with
25 the scheduler.
26
27 -h server[:port]
28 Specifies the server address.
29
30 --[no-]debug-logging
31 Enables (disables) debug logging to the error_log file.
32
33 --[no-]remote-admin
34 Enables (disables) remote administration.
35
36 --[no-]remote-any
37 Enables (disables) printing from any address, e.g., the Internet.
38
39 --[no-]share-printers
40 Enables (disables) sharing of local printers with other computers.
41
42 --[no-]user-cancel-any
43 Allows (prevents) users to cancel jobs owned by others.
44
46 Display the current settings:
47
48 cupsctl
49
50 Enable debug logging:
51
52 cupsctl --debug-logging
53
54 Get the current debug logging state:
55
56 cupsctl | grep '^_debug_logging' | awk -F= '{print $2}'
57
58 Disable printer sharing:
59
60 cupsctl --no-share-printers
61
63 You cannot set the Listen or Port directives using cupsctl.
64
66 cupsd.conf(5), cupsd(8),
67 CUPS Online Help (http://localhost:631/help)
68
70 Copyright © 2007-2019 by Apple Inc.
71
72
73
7426 April 2019 CUPS cupsctl(8)