]>
Commit | Line | Data |
---|---|---|
c277f98c | 1 | <!DOCTYPE HTML> |
94436c5a MS |
2 | <html> |
3 | <!-- SECTION: Man Pages --> | |
4 | <head> | |
5 | <link rel="stylesheet" type="text/css" href="../cups-printable.css"> | |
6 | <title>cupsd.conf(5)</title> | |
7 | </head> | |
8 | <body> | |
9 | <h1 class="title">cupsd.conf(5)</h1> | |
10 | <h2 class="title"><a name="NAME">Name</a></h2> | |
11 | cupsd.conf - server configuration file for cups | |
12 | <h2 class="title"><a name="DESCRIPTION">Description</a></h2> | |
c390f212 MS |
13 | The |
14 | <i>cupsd.conf</i> | |
15 | file configures the CUPS scheduler, | |
d6395c6f | 16 | <a href="man-cupsd.html?TOPIC=Man+Pages"><b>cupsd</b>(8).</a> |
651e0a22 MS |
17 | It is normally located in the |
18 | <i>/etc/cups</i> | |
25d0c3fe | 19 | directory. |
51c22b86 | 20 | Each line in the file can be a configuration directive, a blank line, or a comment. |
25d0c3fe MS |
21 | Configuration directives typically consist of a name and zero or more values separated by whitespace. |
22 | The configuration directive name and values are case-insensitive. | |
23 | Comment lines start with the # character. | |
24 | <h3><a name="TOP_LEVEL_DIRECTIVES">Top-level Directives</a></h3> | |
25 | The following top-level directives are understood by | |
d6395c6f | 26 | <a href="man-cupsd.html?TOPIC=Man+Pages"><b>cupsd</b>(8):</a> |
2909c66c | 27 | <dl class="man"> |
37d9646b | 28 | <dt><a name="AccessLogLevel"></a><b>AccessLogLevel config</b> |
25d0c3fe MS |
29 | <dd style="margin-left: 5.0em"><dt><b>AccessLogLevel actions</b> |
30 | <dd style="margin-left: 5.0em"><dt><b>AccessLogLevel all</b> | |
c390f212 | 31 | <dd style="margin-left: 5.0em">Specifies the logging level for the AccessLog file. |
25d0c3fe MS |
32 | The "config" level logs when printers and classes are added, deleted, or modified and when configuration files are accessed or updated. |
33 | The "actions" level logs when print jobs are submitted, held, released, modified, or canceled, and any of the conditions for "config". | |
34 | The "all" level logs all requests. | |
35 | The default access log level is "actions". | |
37d9646b | 36 | <dt><a name="AutoPurgeJobs"></a><b>AutoPurgeJobs Yes</b> |
25d0c3fe | 37 | <dd style="margin-left: 5.0em"><dt><b>AutoPurgeJobs No</b> |
2909c66c | 38 | <dd style="margin-left: 5.0em"><br> |
25d0c3fe MS |
39 | Specifies whether to purge job history data automatically when it is no longer required for quotas. |
40 | The default is "No". | |
dda99de9 MS |
41 | <dt><a name="BrowseDNSSDSubTypes"></a><b>BrowseDNSSDSubTypes</b><i>_subtype[,...]</i> |
42 | <dd style="margin-left: 5.0em">Specifies a list of Bonjour sub-types to advertise for each shared printer. | |
43 | For example, "BrowseDNSSDSubTypes _cups,_print" will tell network clients that both CUPS sharing and IPP Everywhere are supported. | |
44 | The default is "_cups" which is necessary for printer sharing to work between systems using CUPS. | |
37d9646b | 45 | <dt><a name="BrowseLocalProtocols"></a><b>BrowseLocalProtocols all</b> |
25d0c3fe MS |
46 | <dd style="margin-left: 5.0em"><dt><b>BrowseLocalProtocols dnssd</b> |
47 | <dd style="margin-left: 5.0em"><dt><b>BrowseLocalProtocols none</b> | |
48 | <dd style="margin-left: 5.0em">Specifies which protocols to use for local printer sharing. | |
49 | The default is "dnssd" on systems that support Bonjour and "none" otherwise. | |
37d9646b | 50 | <dt><a name="BrowseWebIF"></a><b>BrowseWebIF Yes</b> |
25d0c3fe | 51 | <dd style="margin-left: 5.0em"><dt><b>BrowseWebIF No</b> |
2909c66c | 52 | <dd style="margin-left: 5.0em"><br> |
25d0c3fe MS |
53 | Specifies whether the CUPS web interface is advertised. |
54 | The default is "No". | |
37d9646b | 55 | <dt><a name="Browsing"></a><b>Browsing Yes</b> |
25d0c3fe | 56 | <dd style="margin-left: 5.0em"><dt><b>Browsing No</b> |
2909c66c | 57 | <dd style="margin-left: 5.0em"><br> |
25d0c3fe MS |
58 | Specifies whether shared printers are advertised. |
59 | The default is "No". | |
37d9646b | 60 | <dt><a name="DefaultAuthType"></a><b>DefaultAuthType Basic</b> |
25d0c3fe | 61 | <dd style="margin-left: 5.0em"><dt><b>DefaultAuthType Negotiate</b> |
2909c66c | 62 | <dd style="margin-left: 5.0em"><br> |
c277f98c | 63 | Specifies the default type of authentication to use. |
25d0c3fe | 64 | The default is "Basic". |
37d9646b | 65 | <dt><a name="DefaultEncryption"></a><b>DefaultEncryption Never</b> |
25d0c3fe MS |
66 | <dd style="margin-left: 5.0em"><dt><b>DefaultEncryption IfRequested</b> |
67 | <dd style="margin-left: 5.0em"><dt><b>DefaultEncryption Required</b> | |
68 | <dd style="margin-left: 5.0em">Specifies whether encryption will be used for authenticated requests. | |
69 | The default is "Required". | |
37d9646b | 70 | <dt><a name="DefaultLanguage"></a><b>DefaultLanguage </b><i>locale</i> |
c390f212 | 71 | <dd style="margin-left: 5.0em">Specifies the default language to use for text and web content. |
25d0c3fe | 72 | The default is "en". |
37d9646b | 73 | <dt><a name="DefaultPaperSize"></a><b>DefaultPaperSize Auto</b> |
25d0c3fe MS |
74 | <dd style="margin-left: 5.0em"><dt><b>DefaultPaperSize None</b> |
75 | <dd style="margin-left: 5.0em"><dt><b>DefaultPaperSize </b><i>sizename</i> | |
76 | <dd style="margin-left: 5.0em">Specifies the default paper size for new print queues. "Auto" uses a locale-specific default, while "None" specifies there is no default paper size. | |
77 | Specific size names are typically "Letter" or "A4". | |
78 | The default is "Auto". | |
37d9646b | 79 | <dt><a name="DefaultPolicy"></a><b>DefaultPolicy </b><i>policy-name</i> |
c390f212 | 80 | <dd style="margin-left: 5.0em">Specifies the default access policy to use. |
25d0c3fe | 81 | The default access policy is "default". |
37d9646b | 82 | <dt><a name="DefaultShared"></a><b>DefaultShared Yes</b> |
25d0c3fe | 83 | <dd style="margin-left: 5.0em"><dt><b>DefaultShared No</b> |
c390f212 | 84 | <dd style="margin-left: 5.0em">Specifies whether local printers are shared by default. |
25d0c3fe | 85 | The default is "Yes". |
37d9646b | 86 | <dt><a name="DirtyCleanInterval"></a><b>DirtyCleanInterval </b><i>seconds</i> |
25d0c3fe MS |
87 | <dd style="margin-left: 5.0em">Specifies the delay for updating of configuration and state files. |
88 | A value of 0 causes the update to happen as soon as possible, typically within a few milliseconds. | |
89 | The default value is "30". | |
dda99de9 MS |
90 | <dt><a name="DNSSDHostName"></a><b>DNSSDHostName</b><i>hostname.example.com</i> |
91 | <dd style="margin-left: 5.0em">Specifies the fully-qualified domain name for the server that is used for Bonjour sharing. | |
92 | The default is typically the server's ".local" hostname. | |
37d9646b | 93 | <dt><a name="ErrorPolicy"></a><b>ErrorPolicy abort-job</b> |
240214ef | 94 | <dd style="margin-left: 5.0em">Specifies that a failed print job should be aborted (discarded) unless otherwise specified for the printer. |
b95156db MS |
95 | <dt><b>ErrorPolicy retry-current-job</b> |
96 | <dd style="margin-left: 5.0em">Specifies that a failed print job should be retried immediately unless otherwise specified for the printer. | |
240214ef MS |
97 | <dt><b>ErrorPolicy retry-job</b> |
98 | <dd style="margin-left: 5.0em">Specifies that a failed print job should be retried at a later time unless otherwise specified for the printer. | |
240214ef MS |
99 | <dt><b>ErrorPolicy stop-printer</b> |
100 | <dd style="margin-left: 5.0em">Specifies that a failed print job should stop the printer unless otherwise specified for the printer. The 'stop-printer' error policy is the default. | |
37d9646b | 101 | <dt><a name="FilterLimit"></a><b>FilterLimit </b><i>limit</i> |
25d0c3fe MS |
102 | <dd style="margin-left: 5.0em">Specifies the maximum cost of filters that are run concurrently, which can be used to minimize disk, memory, and CPU resource problems. |
103 | A limit of 0 disables filter limiting. | |
104 | An average print to a non-PostScript printer needs a filter limit of about 200. | |
105 | A PostScript printer needs about half that (100). | |
106 | Setting the limit below these thresholds will effectively limit the scheduler to printing a single job at any time. | |
107 | The default limit is "0". | |
37d9646b | 108 | <dt><a name="FilterNice"></a><b>FilterNice </b><i>nice-value</i> |
25d0c3fe MS |
109 | <dd style="margin-left: 5.0em">Specifies the scheduling priority ( |
110 | <b>nice</b>(8) | |
111 | value) of filters that are run to print a job. | |
112 | The nice value ranges from 0, the highest priority, to 19, the lowest priority. | |
113 | The default is 0. | |
37d9646b | 114 | <dt><a name="GSSServiceName"></a><b>GSSServiceName </b><i>name</i> |
25d0c3fe MS |
115 | <dd style="margin-left: 5.0em">Specifies the service name when using Kerberos authentication. |
116 | The default service name is "http." | |
117 | <dt><b>HostNameLookups On</b> | |
37d9646b | 118 | <dd style="margin-left: 5.0em"><dt><a name="HostNameLookups"></a><b>HostNameLookups Off</b> |
25d0c3fe MS |
119 | <dd style="margin-left: 5.0em"><dt><b>HostNameLookups Double</b> |
120 | <dd style="margin-left: 5.0em">Specifies whether to do reverse lookups on connecting clients. | |
121 | The "Double" setting causes | |
d6395c6f | 122 | <a href="man-cupsd.html?TOPIC=Man+Pages"><b>cupsd</b>(8)</a> |
25d0c3fe MS |
123 | to verify that the hostname resolved from the address matches one of the addresses returned for that hostname. |
124 | Double lookups also prevent clients with unregistered addresses from connecting to your server. | |
125 | The default is "Off" to avoid the potential server performance problems with hostname lookups. | |
126 | Only set this option to "On" or "Double" if absolutely required. | |
c4412c12 | 127 | <dt><a name="IdleExitTimeout"></a><b>IdleExitTimeout </b><i>seconds</i> |
08d027c3 MS |
128 | <dd style="margin-left: 5.0em">Specifies the length of time to wait before shutting down due to inactivity. |
129 | The default is "60" seconds. | |
130 | Note: Only applicable when | |
d6395c6f | 131 | <a href="man-cupsd.html?TOPIC=Man+Pages"><b>cupsd</b>(8)</a> |
c4412c12 | 132 | is run on-demand (e.g., with <b>-l</b>). |
37d9646b | 133 | <dt><a name="JobKillDelay"></a><b>JobKillDelay </b><i>seconds</i> |
25d0c3fe MS |
134 | <dd style="margin-left: 5.0em">Specifies the number of seconds to wait before killing the filters and backend associated with a canceled or held job. |
135 | The default is "30". | |
37d9646b | 136 | <dt><a name="JobRetryInterval"></a><b>JobRetryInterval </b><i>seconds</i> |
c390f212 | 137 | <dd style="margin-left: 5.0em">Specifies the interval between retries of jobs in seconds. |
25d0c3fe MS |
138 | This is typically used for fax queues but can also be used with normal print queues whose error policy is "retry-job" or "retry-current-job". |
139 | The default is "30". | |
37d9646b | 140 | <dt><a name="JobRetryLimit"></a><b>JobRetryLimit </b><i>count</i> |
c390f212 | 141 | <dd style="margin-left: 5.0em">Specifies the number of retries that are done for jobs. |
25d0c3fe MS |
142 | This is typically used for fax queues but can also be used with normal print queues whose error policy is "retry-job" or "retry-current-job". |
143 | The default is "5". | |
37d9646b | 144 | <dt><a name="KeepAlive"></a><b>KeepAlive Yes</b> |
25d0c3fe | 145 | <dd style="margin-left: 5.0em"><dt><b>KeepAlive No</b> |
c390f212 | 146 | <dd style="margin-left: 5.0em">Specifies whether to support HTTP keep-alive connections. |
25d0c3fe | 147 | The default is "Yes". |
37d9646b | 148 | <dt><a name="KeepAliveTimeout"></a><b>KeepAliveTimeout </b><i>seconds</i> |
25d0c3fe MS |
149 | <dd style="margin-left: 5.0em">Specifies how long an idle client connection remains open. |
150 | The default is "30". | |
37d9646b | 151 | <dt><a name="LimitIPP"></a><b><Limit </b><i>operation </i>...<b>> </b>... <b></Limit></b> |
47eb8d30 | 152 | <dd style="margin-left: 5.0em">Specifies the IPP operations that are being limited inside a Policy section. IPP operation names are listed below in the section "IPP OPERATION NAMES". |
37d9646b MS |
153 | <dt><a name="Limit"></a><b><Limit </b><i>method </i>...<b>> </b>... <b></Limit></b> |
154 | <dd style="margin-left: 5.0em"><dt><a name="LimitExcept"></a><b><LimitExcept </b><i>method </i>...<b>> </b>... <b></LimitExcept></b> | |
47eb8d30 | 155 | <dd style="margin-left: 5.0em">Specifies the HTTP methods that are being limited inside a Location section. HTTP method names are listed below in the section "HTTP METHOD NAMES". |
37d9646b | 156 | <dt><a name="LimitRequestBody"></a><b>LimitRequestBody </b><i>size</i> |
25d0c3fe MS |
157 | <dd style="margin-left: 5.0em">Specifies the maximum size of print files, IPP requests, and HTML form data. |
158 | The default is "0" which disables the limit check. | |
37d9646b | 159 | <dt><a name="Listen"></a><b>Listen </b><i>ipv4-address</i><b>:</b><i>port</i> |
25d0c3fe MS |
160 | <dd style="margin-left: 5.0em"><dt><b>Listen [</b><i>ipv6-address</i><b>]:</b><i>port</i> |
161 | <dd style="margin-left: 5.0em"><dt><b>Listen *:</b><i>port</i> | |
162 | <dd style="margin-left: 5.0em"><dt><b>Listen </b><i>/path/to/domain/socket</i> | |
163 | <dd style="margin-left: 5.0em">Listens to the specified address and port or domain socket path for connections. | |
164 | Multiple Listen directives can be provided to listen on multiple addresses. | |
165 | The Listen directive is similar to the Port directive but allows you to restrict access to specific interfaces or networks. | |
37d9646b | 166 | <dt><a name="ListenBackLog"></a><b>ListenBackLog </b><i>number</i> |
25d0c3fe MS |
167 | <dd style="margin-left: 5.0em">Specifies the number of pending connections that will be allowed. |
168 | This normally only affects very busy servers that have reached the MaxClients limit, but can also be triggered by large numbers of simultaneous connections. | |
169 | When the limit is reached, the operating system will refuse additional connections until the scheduler can accept the pending ones. | |
170 | The default is the OS-defined default limit, typically either "5" for older operating systems or "128" for newer operating systems. | |
37d9646b | 171 | <dt><a name="Location"></a><b><Location </b><i>/path</i><b>> </b>... <b></Location></b> |
c390f212 | 172 | <dd style="margin-left: 5.0em">Specifies access control for the named location. |
25d0c3fe | 173 | Paths are documented below in the section "LOCATION PATHS". |
37d9646b | 174 | <dt><a name="LogDebugHistory"></a><b>LogDebugHistory </b><i>number</i> |
25d0c3fe | 175 | <dd style="margin-left: 5.0em">Specifies the number of debugging messages that are retained for logging if an error occurs in a print job. Debug messages are logged regardless of the LogLevel setting. |
37d9646b | 176 | <dt><a name="LogLevel"></a><b>LogLevel </b>none |
25d0c3fe MS |
177 | <dd style="margin-left: 5.0em"><dt><b>LogLevel </b>emerg |
178 | <dd style="margin-left: 5.0em"><dt><b>LogLevel </b>alert | |
179 | <dd style="margin-left: 5.0em"><dt><b>LogLevel </b>crit | |
180 | <dd style="margin-left: 5.0em"><dt><b>LogLevel </b>error | |
181 | <dd style="margin-left: 5.0em"><dt><b>LogLevel </b>warn | |
182 | <dd style="margin-left: 5.0em"><dt><b>LogLevel </b>notice | |
183 | <dd style="margin-left: 5.0em"><dt><b>LogLevel </b>info | |
184 | <dd style="margin-left: 5.0em"><dt><b>LogLevel </b>debug | |
185 | <dd style="margin-left: 5.0em"><dt><b>LogLevel </b>debug2 | |
186 | <dd style="margin-left: 5.0em">Specifies the level of logging for the ErrorLog file. | |
187 | The value "none" stops all logging while "debug2" logs everything. | |
188 | The default is "warn". | |
37d9646b | 189 | <dt><a name="LogTimeFormat"></a><b>LogTimeFormat </b>standard |
25d0c3fe | 190 | <dd style="margin-left: 5.0em"><dt><b>LogTimeFormat </b>usecs |
c390f212 | 191 | <dd style="margin-left: 5.0em">Specifies the format of the date and time in the log files. |
25d0c3fe | 192 | The value "standard" is the default and logs whole seconds while "usecs" logs microseconds. |
37d9646b | 193 | <dt><a name="MaxClients"></a><b>MaxClients </b><i>number</i> |
25d0c3fe MS |
194 | <dd style="margin-left: 5.0em">Specifies the maximum number of simultaneous clients that are allowed by the scheduler. |
195 | The default is "100". | |
37d9646b | 196 | <dt><a name="MaxClientPerHost"></a><b>MaxClientsPerHost </b><i>number</i> |
25d0c3fe | 197 | <dd style="margin-left: 5.0em">Specifies the maximum number of simultaneous clients that are allowed from a |
94436c5a | 198 | single address. |
25d0c3fe | 199 | The default is the MaxClients value. |
37d9646b | 200 | <dt><a name="MaxCopies"></a><b>MaxCopies </b><i>number</i> |
c390f212 | 201 | <dd style="margin-left: 5.0em">Specifies the maximum number of copies that a user can print of each job. |
25d0c3fe | 202 | The default is "9999". |
37d9646b | 203 | <dt><a name="MaxHoldTime"></a><b>MaxHoldTime </b><i>seconds</i> |
25d0c3fe MS |
204 | <dd style="margin-left: 5.0em">Specifies the maximum time a job may remain in the "indefinite" hold state before it is canceled. |
205 | The default is "0" which disables cancellation of held jobs. | |
37d9646b | 206 | <dt><a name="MaxJobs"></a><b>MaxJobs </b><i>number</i> |
25d0c3fe MS |
207 | <dd style="margin-left: 5.0em">Specifies the maximum number of simultaneous jobs that are allowed. |
208 | Set to "0" to allow an unlimited number of jobs. | |
209 | The default is "500". | |
37d9646b | 210 | <dt><a name="MaxJobsPerPrinter"></a><b>MaxJobsPerPrinter </b><i>number</i> |
25d0c3fe MS |
211 | <dd style="margin-left: 5.0em">Specifies the maximum number of simultaneous jobs that are allowed per printer. |
212 | The default is "0" which allows up to MaxJobs jobs per printer. | |
37d9646b | 213 | <dt><a name="MaxJobsPerUser"></a><b>MaxJobsPerUser </b><i>number</i> |
25d0c3fe MS |
214 | <dd style="margin-left: 5.0em">Specifies the maximum number of simultaneous jobs that are allowed per user. |
215 | The default is "0" which allows up to MaxJobs jobs per user. | |
37d9646b | 216 | <dt><a name="MaxJobTime"></a><b>MaxJobTime </b><i>seconds</i> |
25d0c3fe MS |
217 | <dd style="margin-left: 5.0em">Specifies the maximum time a job may take to print before it is canceled. |
218 | Set to "0" to disable cancellation of "stuck" jobs. | |
219 | The default is "10800" (3 hours). | |
37d9646b | 220 | <dt><a name="MaxLogSize"></a><b>MaxLogSize </b><i>size</i> |
25d0c3fe MS |
221 | <dd style="margin-left: 5.0em">Specifies the maximum size of the log files before they are rotated. |
222 | The value "0" disables log rotation. | |
223 | The default is "1048576" (1MB). | |
37d9646b | 224 | <dt><a name="MultipleOperationTimeout"></a><b>MultipleOperationTimeout </b><i>seconds</i> |
25d0c3fe | 225 | <dd style="margin-left: 5.0em">Specifies the maximum amount of time to allow between files in a multiple file print job. |
d6395c6f | 226 | The default is "900" (15 minutes). |
37d9646b | 227 | <dt><a name="Policy"></a><b><Policy </b><i>name</i><b>> </b>... <b></Policy></b> |
c390f212 | 228 | <dd style="margin-left: 5.0em">Specifies access control for the named policy. |
37d9646b | 229 | <dt><a name="Port"></a><b>Port </b><i>number</i> |
25d0c3fe | 230 | <dd style="margin-left: 5.0em">Listens to the specified port number for connections. |
37d9646b | 231 | <dt><a name="PreserveJobFiles"></a><b>PreserveJobFiles Yes</b> |
25d0c3fe MS |
232 | <dd style="margin-left: 5.0em"><dt><b>PreserveJobFiles No</b> |
233 | <dd style="margin-left: 5.0em"><dt><b>PreserveJobFiles </b><i>seconds</i> | |
234 | <dd style="margin-left: 5.0em">Specifies whether job files (documents) are preserved after a job is printed. | |
235 | If a numeric value is specified, job files are preserved for the indicated number of seconds after printing. | |
236 | The default is "86400" (preserve 1 day). | |
37d9646b | 237 | <dt><a name="PreserveJobHistory"></a><b>PreserveJobHistory Yes</b> |
25d0c3fe MS |
238 | <dd style="margin-left: 5.0em"><dt><b>PreserveJobHistory No</b> |
239 | <dd style="margin-left: 5.0em"><dt><b>PreserveJobHistory </b><i>seconds</i> | |
240 | <dd style="margin-left: 5.0em">Specifies whether the job history is preserved after a job is printed. | |
241 | If a numeric value is specified, the job history is preserved for the indicated number of seconds after printing. | |
242 | If "Yes", the job history is preserved until the MaxJobs limit is reached. | |
243 | The default is "Yes". | |
37d9646b | 244 | <dt><a name="ReloadTimeout"></a><b>ReloadTimeout </b><i>seconds</i> |
25d0c3fe MS |
245 | <dd style="margin-left: 5.0em">Specifies the amount of time to wait for job completion before restarting the scheduler. |
246 | The default is "30". | |
37d9646b | 247 | <dt><a name="ServerAdmin"></a><b>ServerAdmin </b><i>email-address</i> |
c390f212 | 248 | <dd style="margin-left: 5.0em">Specifies the email address of the server administrator. |
25d0c3fe | 249 | The default value is "root@ServerName". |
37d9646b | 250 | <dt><a name="ServerAlias"></a><b>ServerAlias </b><i>hostname </i>[ ... <i>hostname </i>] |
25d0c3fe MS |
251 | <dd style="margin-left: 5.0em"><dt><b>ServerAlias *</b> |
252 | <dd style="margin-left: 5.0em">The ServerAlias directive is used for HTTP Host header validation when clients connect to the scheduler from external interfaces. | |
253 | Using the special name "*" can expose your system to known browser-based DNS rebinding attacks, even when accessing sites through a firewall. | |
254 | If the auto-discovery of alternate names does not work, we recommend listing each alternate name with a ServerAlias directive instead of using "*". | |
37d9646b | 255 | <dt><a name="ServerName"></a><b>ServerName </b><i>hostname</i> |
c390f212 | 256 | <dd style="margin-left: 5.0em">Specifies the fully-qualified hostname of the server. |
25d0c3fe MS |
257 | The default is the value reported by the |
258 | <b>hostname</b>(1) | |
259 | command. | |
37d9646b | 260 | <dt><a name="ServerTokens"></a><b>ServerTokens None</b> |
25d0c3fe MS |
261 | <dd style="margin-left: 5.0em"><dt><b>ServerTokens ProductOnly</b> |
262 | <dd style="margin-left: 5.0em"><dt><b>ServerTokens Major</b> | |
263 | <dd style="margin-left: 5.0em"><dt><b>ServerTokens Minor</b> | |
264 | <dd style="margin-left: 5.0em"><dt><b>ServerTokens Minimal</b> | |
265 | <dd style="margin-left: 5.0em"><dt><b>ServerTokens OS</b> | |
266 | <dd style="margin-left: 5.0em"><dt><b>ServerTokens Full</b> | |
267 | <dd style="margin-left: 5.0em">Specifies what information is included in the Server header of HTTP responses. | |
268 | "None" disables the Server header. | |
269 | "ProductOnly" reports "CUPS". | |
dc84a5a4 MS |
270 | "Major" reports "CUPS/major IPP/2". |
271 | "Minor" reports "CUPS/major.minor IPP/2.1". | |
272 | "Minimal" reports "CUPS/major.minor.patch IPP/2.1". | |
273 | "OS" reports "CUPS/major.minor.path (osname osversion) IPP/2.1". | |
274 | "Full" reports "CUPS/major.minor.path (osname osversion; architecture) IPP/2.1". | |
25d0c3fe | 275 | The default is "Minimal". |
37d9646b | 276 | <dt><a name="SSLListen"></a><b>SSLListen </b><i>ipv4-address</i><b>:</b><i>port</i> |
25d0c3fe MS |
277 | <dd style="margin-left: 5.0em"><dt><b>SSLListen [</b><i>ipv6-address</i><b>]:</b><i>port</i> |
278 | <dd style="margin-left: 5.0em"><dt><b>SSLListen *:</b><i>port</i> | |
c390f212 | 279 | <dd style="margin-left: 5.0em">Listens on the specified address and port for encrypted connections. |
dda99de9 | 280 | <dt><a name="SSLOptions"></a><dt><b>SSLOptions </b>[<i>AllowDH</i>] [<i>AllowRC4</i>] [<i>AllowSSL3</i>] [<i>DenyCBC</i>] [<i>DenyTLS1.0</i>] [<i>MaxTLS1.0</i>] [<i>MaxTLS1.1</i>] [<i>MaxTLS1.2</i>] [<i>MaxTLS1.3</i>] [<i>MinTLS1.0</i>] [<i>MinTLS1.1</i>] [<i>MinTLS1.2</i>] [<i>MinTLS1.3</i>] |
63aefcd5 | 281 | <dd style="margin-left: 5.0em"><dt><b>SSLOptions None</b> |
dda99de9 | 282 | <dd style="margin-left: 5.0em">Sets encryption options (only in /etc/cups/client.conf). |
63aefcd5 | 283 | By default, CUPS only supports encryption using TLS v1.0 or higher using known secure cipher suites. |
dda99de9 MS |
284 | Security is reduced when <i>Allow</i> options are used. |
285 | Security is enhanced when <i>Deny</i> options are used. | |
286 | The <i>AllowDH</i> option enables cipher suites using plain Diffie-Hellman key negotiation (not supported on systems using GNU TLS). | |
287 | The <i>AllowRC4</i> option enables the 128-bit RC4 cipher suites, which are required for some older clients. | |
63aefcd5 | 288 | The <i>AllowSSL3</i> option enables SSL v3.0, which is required for some older clients that do not support TLS v1.0. |
345e10ca MS |
289 | The <i>DenyCBC</i> option disables all CBC cipher suites. |
290 | The <i>DenyTLS1.0</i> option disables TLS v1.0 support - this sets the minimum protocol version to TLS v1.1. | |
dda99de9 MS |
291 | The <i>MinTLS</i> options set the minimum TLS version to support. |
292 | The <i>MaxTLS</i> options set the maximum TLS version to support. | |
293 | Not all operating systems support TLS 1.3 at this time. | |
37d9646b | 294 | <dt><a name="SSLPort"></a><b>SSLPort </b><i>port</i> |
c390f212 | 295 | <dd style="margin-left: 5.0em">Listens on the specified port for encrypted connections. |
37d9646b | 296 | <dt><a name="StrictConformance"></a><b>StrictConformance Yes</b> |
25d0c3fe MS |
297 | <dd style="margin-left: 5.0em"><dt><b>StrictConformance No</b> |
298 | <dd style="margin-left: 5.0em">Specifies whether the scheduler requires clients to strictly adhere to the IPP specifications. | |
299 | The default is "No". | |
37d9646b | 300 | <dt><a name="Timeout"></a><b>Timeout </b><i>seconds</i> |
25d0c3fe MS |
301 | <dd style="margin-left: 5.0em">Specifies the HTTP request timeout. |
302 | The default is "300" (5 minutes). | |
37d9646b | 303 | <dt><a name="WebInterface"></a><b>WebInterface yes</b> |
25d0c3fe | 304 | <dd style="margin-left: 5.0em"><dt><b>WebInterface no</b> |
c390f212 | 305 | <dd style="margin-left: 5.0em">Specifies whether the web interface is enabled. |
25d0c3fe MS |
306 | The default is "No". |
307 | </dl> | |
308 | <h3><a name="HTTP_METHOD_NAMES">Http Method Names</a></h3> | |
309 | The following HTTP methods are supported by | |
d6395c6f | 310 | <a href="man-cupsd.html?TOPIC=Man+Pages"><b>cupsd</b>(8):</a> |
25d0c3fe MS |
311 | <dl class="man"> |
312 | <dt>GET | |
313 | <dd style="margin-left: 5.0em">Used by a client to download icons and other printer resources and to access the CUPS web interface. | |
314 | <dt>HEAD | |
315 | <dd style="margin-left: 5.0em">Used by a client to get the type, size, and modification date of resources. | |
316 | <dt>OPTIONS | |
317 | <dd style="margin-left: 5.0em">Used by a client to establish a secure (SSL/TLS) connection. | |
318 | <dt>POST | |
319 | <dd style="margin-left: 5.0em">Used by a client to submit IPP requests and HTML forms from the CUPS web interface. | |
320 | <dt>PUT | |
321 | <dd style="margin-left: 5.0em">Used by a client to upload configuration files. | |
322 | </dl> | |
323 | <h3><a name="IPP_OPERATION_NAMES">Ipp Operation Names</a></h3> | |
324 | The following IPP operations are supported by | |
d6395c6f | 325 | <a href="man-cupsd.html?TOPIC=Man+Pages"><b>cupsd</b>(8):</a> |
25d0c3fe MS |
326 | <dl class="man"> |
327 | <dt>CUPS-Accept-Jobs | |
328 | <dd style="margin-left: 5.0em">Allows a printer to accept new jobs. | |
329 | <dt>CUPS-Add-Modify-Class | |
330 | <dd style="margin-left: 5.0em">Adds or modifies a printer class. | |
331 | <dt>CUPS-Add-Modify-Printer | |
332 | <dd style="margin-left: 5.0em">Adds or modifies a printer. | |
333 | <dt>CUPS-Authenticate-Job | |
334 | <dd style="margin-left: 5.0em">Releases a job that is held for authentication. | |
335 | <dt>CUPS-Delete-Class | |
336 | <dd style="margin-left: 5.0em">Deletes a printer class. | |
337 | <dt>CUPS-Delete-Printer | |
338 | <dd style="margin-left: 5.0em">Deletes a printer. | |
339 | <dt>CUPS-Get-Classes | |
340 | <dd style="margin-left: 5.0em">Gets a list of printer classes. | |
341 | <dt>CUPS-Get-Default | |
342 | <dd style="margin-left: 5.0em">Gets the server default printer or printer class. | |
343 | <dt>CUPS-Get-Devices | |
344 | <dd style="margin-left: 5.0em">Gets a list of devices that are currently available. | |
345 | <dt>CUPS-Get-Document | |
346 | <dd style="margin-left: 5.0em">Gets a document file for a job. | |
347 | <dt>CUPS-Get-PPD | |
348 | <dd style="margin-left: 5.0em">Gets a PPD file. | |
349 | <dt>CUPS-Get-PPDs | |
350 | <dd style="margin-left: 5.0em">Gets a list of installed PPD files. | |
351 | <dt>CUPS-Get-Printers | |
352 | <dd style="margin-left: 5.0em">Gets a list of printers. | |
353 | <dt>CUPS-Move-Job | |
354 | <dd style="margin-left: 5.0em">Moves a job. | |
355 | <dt>CUPS-Reject-Jobs | |
356 | <dd style="margin-left: 5.0em">Prevents a printer from accepting new jobs. | |
357 | <dt>CUPS-Set-Default | |
358 | <dd style="margin-left: 5.0em">Sets the server default printer or printer class. | |
359 | <dt>Cancel-Job | |
360 | <dd style="margin-left: 5.0em">Cancels a job. | |
361 | <dt>Cancel-Jobs | |
362 | <dd style="margin-left: 5.0em">Cancels one or more jobs. | |
363 | <dt>Cancel-My-Jobs | |
364 | <dd style="margin-left: 5.0em">Cancels one or more jobs creates by a user. | |
365 | <dt>Cancel-Subscription | |
366 | <dd style="margin-left: 5.0em">Cancels a subscription. | |
367 | <dt>Close-Job | |
368 | <dd style="margin-left: 5.0em">Closes a job that is waiting for more documents. | |
369 | <dt>Create-Job | |
370 | <dd style="margin-left: 5.0em">Creates a new job with no documents. | |
371 | <dt>Create-Job-Subscriptions | |
372 | <dd style="margin-left: 5.0em">Creates a subscription for job events. | |
373 | <dt>Create-Printer-Subscriptions | |
374 | <dd style="margin-left: 5.0em">Creates a subscription for printer events. | |
375 | <dt>Get-Job-Attributes | |
376 | <dd style="margin-left: 5.0em">Gets information about a job. | |
377 | <dt>Get-Jobs | |
378 | <dd style="margin-left: 5.0em">Gets a list of jobs. | |
379 | <dt>Get-Notifications | |
380 | <dd style="margin-left: 5.0em">Gets a list of event notifications for a subscription. | |
381 | <dt>Get-Printer-Attributes | |
382 | <dd style="margin-left: 5.0em">Gets information about a printer or printer class. | |
383 | <dt>Get-Subscription-Attributes | |
384 | <dd style="margin-left: 5.0em">Gets information about a subscription. | |
385 | <dt>Get-Subscriptions | |
386 | <dd style="margin-left: 5.0em">Gets a list of subscriptions. | |
387 | <dt>Hold-Job | |
388 | <dd style="margin-left: 5.0em">Holds a job from printing. | |
389 | <dt>Hold-New-Jobs | |
390 | <dd style="margin-left: 5.0em">Holds all new jobs from printing. | |
391 | <dt>Pause-Printer | |
392 | <dd style="margin-left: 5.0em">Stops processing of jobs by a printer or printer class. | |
393 | <dt>Pause-Printer-After-Current-Job | |
394 | <dd style="margin-left: 5.0em">Stops processing of jobs by a printer or printer class after the current job is finished. | |
395 | <dt>Print-Job | |
396 | <dd style="margin-left: 5.0em">Creates a new job with a single document. | |
397 | <dt>Purge-Jobs | |
398 | <dd style="margin-left: 5.0em">Cancels one or more jobs and deletes the job history. | |
399 | <dt>Release-Held-New-Jobs | |
400 | <dd style="margin-left: 5.0em">Allows previously held jobs to print. | |
401 | <dt>Release-Job | |
402 | <dd style="margin-left: 5.0em">Allows a job to print. | |
403 | <dt>Renew-Subscription | |
404 | <dd style="margin-left: 5.0em">Renews a subscription. | |
405 | <dt>Restart-Job | |
406 | <dd style="margin-left: 5.0em">Reprints a job, if possible. | |
407 | <dt>Send-Document | |
408 | <dd style="margin-left: 5.0em">Adds a document to a job. | |
409 | <dt>Set-Job-Attributes | |
410 | <dd style="margin-left: 5.0em">Changes job information. | |
411 | <dt>Set-Printer-Attributes | |
412 | <dd style="margin-left: 5.0em">Changes printer or printer class information. | |
413 | <dt>Validate-Job | |
414 | <dd style="margin-left: 5.0em">Validates options for a new job. | |
c390f212 | 415 | </dl> |
25d0c3fe MS |
416 | <h3><a name="LOCATION_PATHS">Location Paths</a></h3> |
417 | The following paths are commonly used when configuring | |
d6395c6f | 418 | <a href="man-cupsd.html?TOPIC=Man+Pages"><b>cupsd</b>(8):</a> |
c390f212 | 419 | <dl class="man"> |
25d0c3fe MS |
420 | <dt>/ |
421 | <dd style="margin-left: 5.0em">The path for all get operations (get-printers, get-jobs, etc.) | |
422 | <dt>/admin | |
423 | <dd style="margin-left: 5.0em">The path for all administration operations (add-printer, delete-printer, start-printer, etc.) | |
424 | <dt>/admin/conf | |
425 | <dd style="margin-left: 5.0em">The path for access to the CUPS configuration files (cupsd.conf, client.conf, etc.) | |
426 | <dt>/admin/log | |
427 | <dd style="margin-left: 5.0em">The path for access to the CUPS log files (access_log, error_log, page_log) | |
428 | <dt>/classes | |
429 | <dd style="margin-left: 5.0em">The path for all printer classes | |
430 | <dt>/classes/name | |
431 | <dd style="margin-left: 5.0em">The resource for the named printer class | |
432 | <dt>/jobs | |
433 | <dd style="margin-left: 5.0em">The path for all jobs (hold-job, release-job, etc.) | |
434 | <dt>/jobs/id | |
47eb8d30 | 435 | <dd style="margin-left: 5.0em">The path for the specified job |
25d0c3fe MS |
436 | <dt>/printers |
437 | <dd style="margin-left: 5.0em">The path for all printers | |
438 | <dt>/printers/name | |
439 | <dd style="margin-left: 5.0em">The path for the named printer | |
440 | <dt>/printers/name.png | |
441 | <dd style="margin-left: 5.0em">The icon file path for the named printer | |
442 | <dt>/printers/name.ppd | |
443 | <dd style="margin-left: 5.0em">The PPD file path for the named printer | |
c390f212 | 444 | </dl> |
25d0c3fe MS |
445 | <h3><a name="DIRECTIVES_VALID_WITHIN_LOCATION_AND_LIMIT_SECTIONS">Directives Valid Within Location And Limit Sections</a></h3> |
446 | The following directives may be placed inside Location and Limit sections in the <b>cupsd.conf</b> file: | |
c390f212 | 447 | <dl class="man"> |
25d0c3fe MS |
448 | <dt><b>Allow all</b> |
449 | <dd style="margin-left: 5.0em"><dt><b>Allow none</b> | |
450 | <dd style="margin-left: 5.0em"><dt><b>Allow </b><i>host.domain.com</i> | |
451 | <dd style="margin-left: 5.0em"><dt><b>Allow *.</b><i>domain.com</i> | |
452 | <dd style="margin-left: 5.0em"><dt><b>Allow </b><i>ipv4-address</i> | |
453 | <dd style="margin-left: 5.0em"><dt><b>Allow </b><i>ipv4-address</i><b>/</b><i>netmask</i> | |
454 | <dd style="margin-left: 5.0em"><dt><b>Allow </b><i>ipv4-address</i><b>/</b><i>mm</i> | |
455 | <dd style="margin-left: 5.0em"><dt><b>Allow [</b><i>ipv6-address</i><b>]</b> | |
456 | <dd style="margin-left: 5.0em"><dt><b>Allow [</b><i>ipv6-address</i><b>]/</b><i>mm</i> | |
457 | <dd style="margin-left: 5.0em"><dt><b>Allow @IF(</b><i>name</i><b>)</b> | |
458 | <dd style="margin-left: 5.0em"><dt><b>Allow @LOCAL</b> | |
459 | <dd style="margin-left: 5.0em">Allows access from the named hosts, domains, addresses, or interfaces. | |
460 | The Order directive controls whether Allow lines are evaluated before or after Deny lines. | |
461 | <dt><b>AuthType None</b> | |
462 | <dd style="margin-left: 5.0em"><dt><b>AuthType Basic</b> | |
463 | <dd style="margin-left: 5.0em"><dt><b>AuthType Default</b> | |
464 | <dd style="margin-left: 5.0em"><dt><b>AuthType Negotiate</b> | |
465 | <dd style="margin-left: 5.0em">Specifies the type of authentication required. | |
466 | The value "Default" corresponds to the DefaultAuthType value. | |
467 | <dt><b>Deny all</b> | |
468 | <dd style="margin-left: 5.0em"><dt><b>Deny none</b> | |
469 | <dd style="margin-left: 5.0em"><dt><b>Deny </b><i>host.domain.com</i> | |
470 | <dd style="margin-left: 5.0em"><dt><b>Deny *.</b><i>domain.com</i> | |
471 | <dd style="margin-left: 5.0em"><dt><b>Deny </b><i>ipv4-address</i> | |
472 | <dd style="margin-left: 5.0em"><dt><b>Deny </b><i>ipv4-address</i><b>/</b><i>netmask</i> | |
473 | <dd style="margin-left: 5.0em"><dt><b>Deny </b><i>ipv4-address</i><b>/</b><i>mm</i> | |
474 | <dd style="margin-left: 5.0em"><dt><b>Deny [</b><i>ipv6-address</i><b>]</b> | |
475 | <dd style="margin-left: 5.0em"><dt><b>Deny [</b><i>ipv6-address</i><b>]/</b><i>mm</i> | |
476 | <dd style="margin-left: 5.0em"><dt><b>Deny @IF(</b><i>name</i><b>)</b> | |
477 | <dd style="margin-left: 5.0em"><dt><b>Deny @LOCAL</b> | |
478 | <dd style="margin-left: 5.0em">Denies access from the named hosts, domains, addresses, or interfaces. | |
479 | The Order directive controls whether Deny lines are evaluated before or after Allow lines. | |
480 | <dt><b>Encryption IfRequested</b> | |
481 | <dd style="margin-left: 5.0em"><dt><b>Encryption Never</b> | |
482 | <dd style="margin-left: 5.0em"><dt><b>Encryption Required</b> | |
483 | <dd style="margin-left: 5.0em">Specifies the level of encryption that is required for a particular location. | |
484 | The default value is "IfRequested". | |
485 | <dt><b>Order allow,deny</b> | |
486 | <dd style="margin-left: 5.0em">Specifies that access is denied by default. Allow lines are then processed followed by Deny lines to determine whether a client may access a particular resource. | |
487 | <dt><b>Order deny,allow</b> | |
488 | <dd style="margin-left: 5.0em">Specifies that access is allowed by default. Deny lines are then processed followed by Allow lines to determine whether a client may access a particular resource. | |
489 | <dt><b>Require group </b><i>group-name </i>[ <i>group-name </i>... ] | |
490 | <dd style="margin-left: 5.0em">Specifies that an authenticated user must be a member of one of the named groups. | |
491 | <dt><b>Require user {</b><i>user-name</i>|<b>@</b><i>group-name</i>} ... | |
492 | <dd style="margin-left: 5.0em">Specifies that an authenticated user must match one of the named users or be a member of one of the named groups. | |
493 | The group name "@SYSTEM" corresponds to the list of groups defined by the SystemGroup directive in the | |
d6395c6f | 494 | <a href="man-cups-files.conf.html?TOPIC=Man+Pages"><b>cups-files.conf</b>(5)</a> |
25d0c3fe MS |
495 | file. |
496 | The group name "@OWNER" corresponds to the owner of the resource, for example the person that submitted a print job. | |
b73a566c | 497 | Note: The 'root' user is not special and must be granted privileges like any other user account. |
25d0c3fe MS |
498 | <dt><b>Require valid-user</b> |
499 | <dd style="margin-left: 5.0em">Specifies that any authenticated user is acceptable. | |
500 | <dt><b>Satisfy all</b> | |
501 | <dd style="margin-left: 5.0em">Specifies that all Allow, AuthType, Deny, Order, and Require conditions must be satisfied to allow access. | |
502 | <dt><b>Satisfy any</b> | |
503 | <dd style="margin-left: 5.0em">Specifies that any a client may access a resource if either the authentication (AuthType/Require) or address (Allow/Deny/Order) conditions are satisfied. | |
504 | For example, this can be used to require authentication only for remote accesses. | |
2909c66c | 505 | </dl> |
25d0c3fe MS |
506 | <h3><a name="DIRECTIVES_VALID_WITHIN_POLICY_SECTIONS">Directives Valid Within Policy Sections</a></h3> |
507 | The following directives may be placed inside Policy sections in the <b>cupsd.conf</b> file: | |
508 | <dl class="man"> | |
509 | <dt><b>JobPrivateAccess all</b> | |
510 | <dd style="margin-left: 5.0em"><dt><b>JobPrivateAccess default</b> | |
511 | <dd style="margin-left: 5.0em"><dt><b>JobPrivateAccess </b>{<i>user</i>|<b>@</b><i>group</i>|<b>@ACL</b>|<b>@OWNER</b>|<b>@SYSTEM</b>} ... | |
512 | <dd style="margin-left: 5.0em">Specifies an access list for a job's private values. | |
513 | The "default" access list is "@OWNER @SYSTEM". | |
514 | "@ACL" maps to the printer's requesting-user-name-allowed or requesting-user-name-denied values. | |
515 | "@OWNER" maps to the job's owner. | |
516 | "@SYSTEM" maps to the groups listed for the SystemGroup directive in the | |
d6395c6f | 517 | <a href="man-cups-files.conf.html?TOPIC=Man+Pages"><b>cups-files.conf</b>(5)</a> |
25d0c3fe MS |
518 | file. |
519 | <dt><b>JobPrivateValues all</b> | |
520 | <dd style="margin-left: 5.0em"><dt><b>JobPrivateValues default</b> | |
521 | <dd style="margin-left: 5.0em"><dt><b>JobPrivateValues none</b> | |
522 | <dd style="margin-left: 5.0em"><dt><b>JobPrivateValues </b><i>attribute-name </i>[ ... <i>attribute-name </i>] | |
523 | <dd style="margin-left: 5.0em">Specifies the list of job values to make private. | |
524 | The "default" values are "job-name", "job-originating-host-name", "job-originating-user-name", and "phone". | |
525 | <dt><b>SubscriptionPrivateAccess all</b> | |
526 | <dd style="margin-left: 5.0em"><dt><b>SubscriptionPrivateAccess default</b> | |
527 | <dd style="margin-left: 5.0em"><dt><b>SubscriptionPrivateAccess </b>{<i>user</i>|<b>@</b><i>group</i>|<b>@ACL</b>|<b>@OWNER</b>|<b>@SYSTEM</b>} ... | |
528 | <dd style="margin-left: 5.0em">Specifies an access list for a subscription's private values. | |
529 | The "default" access list is "@OWNER @SYSTEM". | |
530 | "@ACL" maps to the printer's requesting-user-name-allowed or requesting-user-name-denied values. | |
531 | "@OWNER" maps to the job's owner. | |
532 | "@SYSTEM" maps to the groups listed for the SystemGroup directive in the | |
d6395c6f | 533 | <a href="man-cups-files.conf.html?TOPIC=Man+Pages"><b>cups-files.conf</b>(5)</a> |
25d0c3fe MS |
534 | file. |
535 | <dt><b>SubscriptionPrivateValues all</b> | |
536 | <dd style="margin-left: 5.0em"><dt><b>SubscriptionPrivateValues default</b> | |
537 | <dd style="margin-left: 5.0em"><dt><b>SubscriptionPrivateValues none</b> | |
538 | <dd style="margin-left: 5.0em"><dt><b>SubscriptionPrivateValues </b><i>attribute-name </i>[ ... <i>attribute-name </i>] | |
539 | <dd style="margin-left: 5.0em">Specifies the list of subscription values to make private. | |
540 | The "default" values are "notify-events", "notify-pull-method", "notify-recipient-uri", "notify-subscriber-user-name", and "notify-user-data". | |
541 | </dl> | |
7c7347a3 MS |
542 | <h3><a name="DEPRECATED_DIRECTIVES">Deprecated Directives</a></h3> |
543 | The following directives are deprecated and will be removed in a future release of CUPS: | |
544 | <dl class="man"> | |
545 | <dt><a name="Classification"></a><b>Classification </b><i>banner</i> | |
546 | <dd style="margin-left: 5.0em"><br> | |
547 | Specifies the security classification of the server. | |
548 | Any valid banner name can be used, including "classified", "confidential", "secret", "topsecret", and "unclassified", or the banner can be omitted to disable secure printing functions. | |
549 | The default is no classification banner. | |
550 | <dt><a name="ClassifyOverride"></a><b>ClassifyOverride Yes</b> | |
551 | <dd style="margin-left: 5.0em"><dt><b>ClassifyOverride No</b> | |
552 | <dd style="margin-left: 5.0em"><br> | |
553 | Specifies whether users may override the classification (cover page) of individual print jobs using the "job-sheets" option. | |
554 | The default is "No". | |
555 | <dt><a name="PageLogFormat"></a><b>PageLogFormat </b><i>format-string</i> | |
556 | <dd style="margin-left: 5.0em">Specifies the format of PageLog lines. | |
557 | Sequences beginning with percent (%) characters are replaced with the corresponding information, while all other characters are copied literally. | |
558 | The following percent sequences are recognized: | |
559 | <pre class="man"> | |
560 | ||
561 | "%%" inserts a single percent character. | |
562 | "%{name}" inserts the value of the specified IPP attribute. | |
563 | "%C" inserts the number of copies for the current page. | |
564 | "%P" inserts the current page number. | |
565 | "%T" inserts the current date and time in common log format. | |
566 | "%j" inserts the job ID. | |
567 | "%p" inserts the printer name. | |
568 | "%u" inserts the username. | |
569 | ||
570 | </pre> | |
571 | The default is the empty string, which disables page logging. | |
572 | The string "%p %u %j %T %P %C %{job-billing} %{job-originating-host-name} %{job-name} %{media} %{sides}" creates a page log with the standard items. | |
dda99de9 | 573 | Use "%{job-impressions-completed}" to insert the number of pages (sides) that were printed, or "%{job-media-sheets-completed}" to insert the number of sheets that were printed. |
7c7347a3 MS |
574 | <dt><a name="RIPCache"></a><b>RIPCache </b><i>size</i> |
575 | <dd style="margin-left: 5.0em">Specifies the maximum amount of memory to use when converting documents into bitmaps for a printer. | |
576 | The default is "128m". | |
577 | </dl> | |
51c22b86 MS |
578 | <h2 class="title"><a name="NOTES">Notes</a></h2> |
579 | File, directory, and user configuration directives that used to be allowed in the <b>cupsd.conf</b> file are now stored in the | |
d6395c6f | 580 | <a href="man-cups-files.conf.html?TOPIC=Man+Pages"><b>cups-files.conf</b>(5)</a> |
51c22b86 MS |
581 | file instead in order to prevent certain types of privilege escalation attacks. |
582 | <p>The scheduler MUST be restarted manually after making changes to the <b>cupsd.conf</b> file. | |
583 | On Linux this is typically done using the | |
584 | <b>systemctl</b>(8) | |
585 | command, while on macOS the | |
586 | <b>launchctl</b>(8) | |
587 | command is used instead. | |
25d0c3fe MS |
588 | <h2 class="title"><a name="CONFORMING_TO">Conforming To</a></h2> |
589 | The <b>cupsd.conf</b> file format is based on the Apache HTTP Server configuration file format. | |
590 | <h2 class="title"><a name="EXAMPLES">Examples</a></h2> | |
591 | Log everything with a maximum log file size of 32 megabytes: | |
592 | <pre class="man"> | |
593 | ||
594 | AccessLogLevel all | |
595 | LogLevel debug2 | |
596 | MaxLogSize 32m | |
597 | ||
598 | </pre> | |
599 | Require authentication for accesses from outside the 10. network: | |
600 | <pre class="man"> | |
601 | ||
602 | <Location /> | |
603 | Order allow,deny | |
604 | Allow from 10./8 | |
605 | AuthType Basic | |
606 | Require valid-user | |
607 | Satisfy any | |
608 | </Location> | |
609 | </pre> | |
94436c5a | 610 | <h2 class="title"><a name="SEE_ALSO">See Also</a></h2> |
87030afb | 611 | <b>classes.conf</b>(5), |
d6395c6f MS |
612 | <a href="man-cups-files.conf.html?TOPIC=Man+Pages"><b>cups-files.conf</b>(5),</a> |
613 | <a href="man-cupsd.html?TOPIC=Man+Pages"><b>cupsd</b>(8),</a> | |
87030afb MS |
614 | <b>mime.convs</b>(5), |
615 | <b>mime.types</b>(5), | |
616 | <b>printers.conf</b>(5), | |
617 | <b>subscriptions.conf</b>(5), | |
25d0c3fe | 618 | CUPS Online Help (<a href="http://localhost:631/help">http://localhost:631/help</a>) |
94436c5a | 619 | <h2 class="title"><a name="COPYRIGHT">Copyright</a></h2> |
87030afb | 620 | Copyright © 2007-2019 by Apple Inc. |
94436c5a MS |
621 | |
622 | </body> | |
623 | </html> |