]> git.ipfire.org Git - thirdparty/cups.git/blame - man/cupsd.conf.man.in
The LPD mini-daemon now detects invalid UTF-8 sequences in job, document, and
[thirdparty/cups.git] / man / cupsd.conf.man.in
CommitLineData
ef416fc2 1.\"
e4e5666b 2.\" "$Id$"
ef416fc2 3.\"
e0660879 4.\" cupsd.conf man page for CUPS.
ef416fc2 5.\"
0d53bff1 6.\" Copyright 2007-2015 by Apple Inc.
e0660879 7.\" Copyright 1997-2006 by Easy Software Products.
ef416fc2 8.\"
e0660879
MS
9.\" These coded instructions, statements, and computer programs are the
10.\" property of Apple Inc. and are protected by Federal copyright
11.\" law. Distribution and use rights are outlined in the file "LICENSE.txt"
12.\" which should have been included with this file. If this file is
13.\" file is missing or damaged, see the license at "http://www.cups.org/".
ef416fc2 14.\"
0d53bff1 15.TH cupsd.conf 5 "CUPS" "30 June 2015" "Apple Inc."
ef416fc2 16.SH NAME
17cupsd.conf \- server configuration file for cups
18.SH DESCRIPTION
e0660879
MS
19The
20.I cupsd.conf
21file configures the CUPS scheduler,
22.BR cupsd (8).
2909c66c
MS
23It is normally located in the
24.I /etc/cups
25d0c3fe
MS
25directory.
26\fBNote:\fR File, directory, and user configuration directives that used to be allowed in the \fBcupsd.conf\fR file are now stored in the
27.BR cups-files.conf (5)
28file instead in order to prevent certain types of privilege escalation attacks.
ef416fc2 29.LP
25d0c3fe
MS
30Each line in the file can be a configuration directive, a blank line, or a comment.
31Configuration directives typically consist of a name and zero or more values separated by whitespace.
32The configuration directive name and values are case-insensitive.
33Comment lines start with the # character.
34.SS TOP-LEVEL DIRECTIVES
35The following top-level directives are understood by
36.BR cupsd (8):
37d9646b 37.\"#AccessLogLevel
ef416fc2 38.TP 5
25d0c3fe 39\fBAccessLogLevel config\fR
1f0275e3 40.TP 5
25d0c3fe 41\fBAccessLogLevel actions\fR
1f0275e3 42.TP 5
25d0c3fe 43\fBAccessLogLevel all\fR
1f0275e3 44Specifies the logging level for the AccessLog file.
25d0c3fe
MS
45The "config" level logs when printers and classes are added, deleted, or modified and when configuration files are accessed or updated.
46The "actions" level logs when print jobs are submitted, held, released, modified, or canceled, and any of the conditions for "config".
47The "all" level logs all requests.
48The default access log level is "actions".
37d9646b 49.\"#AutoPurgeJobs
1f0275e3 50.TP 5
25d0c3fe 51\fBAutoPurgeJobs Yes\fR
bd7854cb 52.TP 5
25d0c3fe 53\fBAutoPurgeJobs No\fR
ef416fc2 54.br
25d0c3fe
MS
55Specifies whether to purge job history data automatically when it is no longer required for quotas.
56The default is "No".
37d9646b 57.\"#BrowseLocalProtocols
ef416fc2 58.TP 5
25d0c3fe 59\fBBrowseLocalProtocols all\fR
ef416fc2 60.TP 5
25d0c3fe 61\fBBrowseLocalProtocols dnssd\fR
b19ccc9e 62.TP 5
25d0c3fe
MS
63\fBBrowseLocalProtocols none\fR
64Specifies which protocols to use for local printer sharing.
65The default is "dnssd" on systems that support Bonjour and "none" otherwise.
37d9646b 66.\"#BrowseWebIF
25d0c3fe
MS
67.TP 5
68\fBBrowseWebIF Yes\fR
69.TP 5
70\fBBrowseWebIF No\fR
b19ccc9e 71.br
25d0c3fe
MS
72Specifies whether the CUPS web interface is advertised.
73The default is "No".
37d9646b 74.\"#Browsing
b19ccc9e 75.TP 5
25d0c3fe 76\fBBrowsing Yes\fR
bd7854cb 77.TP 5
25d0c3fe 78\fBBrowsing No\fR
ef416fc2 79.br
25d0c3fe
MS
80Specifies whether shared printers are advertised.
81The default is "No".
37d9646b 82.\"#Classification
ef416fc2 83.TP 5
25d0c3fe 84\fBClassification \fIbanner\fR
ef416fc2 85.br
86Specifies the security classification of the server.
25d0c3fe
MS
87Any valid banner name can be used, including "classified", "confidential", "secret", "topsecret", and "unclassified", or the banner can be omitted to disable secure printing functions.
88The default is no classification banner.
37d9646b 89.\"#ClassifyOverride
ef416fc2 90.TP 5
25d0c3fe 91\fBClassifyOverride Yes\fR
bd7854cb 92.TP 5
25d0c3fe 93\fBClassifyOverride No\fR
ef416fc2 94.br
25d0c3fe
MS
95Specifies whether users may override the classification (cover page) of individual print jobs using the "job-sheets" option.
96The default is "No".
37d9646b 97.\"#DefaultAuthType
ef416fc2 98.TP 5
25d0c3fe 99\fBDefaultAuthType Basic\fR
bd7854cb 100.TP 5
25d0c3fe 101\fBDefaultAuthType Negotiate\fR
ef416fc2 102.br
103Specifies the default type of authentication to use.
25d0c3fe 104The default is "Basic".
37d9646b 105.\"#DefaultEncryption
ef416fc2 106.TP 5
25d0c3fe 107\fBDefaultEncryption Never\fR
8b450588 108.TP 5
25d0c3fe 109\fBDefaultEncryption IfRequested\fR
8b450588 110.TP 5
25d0c3fe
MS
111\fBDefaultEncryption Required\fR
112Specifies whether encryption will be used for authenticated requests.
113The default is "Required".
37d9646b 114.\"#DefaultLanguage
8b450588 115.TP 5
25d0c3fe 116\fBDefaultLanguage \fIlocale\fR
ef416fc2 117Specifies the default language to use for text and web content.
25d0c3fe 118The default is "en".
37d9646b 119.\"#DefaultPaperSize
ef416fc2 120.TP 5
25d0c3fe 121\fBDefaultPaperSize Auto\fR
49d87452 122.TP 5
25d0c3fe 123\fBDefaultPaperSize None\fR
49d87452 124.TP 5
25d0c3fe
MS
125\fBDefaultPaperSize \fIsizename\fR
126Specifies the default paper size for new print queues. "Auto" uses a locale-specific default, while "None" specifies there is no default paper size.
127Specific size names are typically "Letter" or "A4".
128The default is "Auto".
37d9646b 129.\"#DefaultPolicy
49d87452 130.TP 5
25d0c3fe 131\fBDefaultPolicy \fIpolicy-name\fR
ef416fc2 132Specifies the default access policy to use.
25d0c3fe 133The default access policy is "default".
37d9646b 134.\"#DefaultShared
ef416fc2 135.TP 5
25d0c3fe 136\fBDefaultShared Yes\fR
3d052e43 137.TP 5
25d0c3fe 138\fBDefaultShared No\fR
3d052e43 139Specifies whether local printers are shared by default.
25d0c3fe 140The default is "Yes".
37d9646b 141.\"#DirtyCleanInterval
25d0c3fe
MS
142.TP 5
143\fBDirtyCleanInterval \fIseconds\fR
144Specifies the delay for updating of configuration and state files.
145A value of 0 causes the update to happen as soon as possible, typically within a few milliseconds.
146The default value is "30".
37d9646b 147.\"#ErrorPolicy
25d0c3fe 148.TP 5
053939b3
MS
149\fBErrorPolicy abort-job\fR
150Specifies that a failed print job should be aborted (discarded) unless otherwise specified for the printer.
151.TP 5
152\fBErrorPolicy retry-job\fR
153Specifies that a failed print job should be retried at a later time unless otherwise specified for the printer.
154.TP 5
155\fBErrorPolicy retry-this-job\fR
156Specifies that a failed print job should be retried immediately unless otherwise specified for the printer.
157.TP 5
158\fBErrorPolicy stop-printer\fR
159Specifies that a failed print job should stop the printer unless otherwise specified for the printer. The 'stop-printer' error policy is the default.
37d9646b 160.\"#FilterLimit
053939b3 161.TP 5
25d0c3fe
MS
162\fBFilterLimit \fIlimit\fR
163Specifies the maximum cost of filters that are run concurrently, which can be used to minimize disk, memory, and CPU resource problems.
164A limit of 0 disables filter limiting.
165An average print to a non-PostScript printer needs a filter limit of about 200.
166A PostScript printer needs about half that (100).
167Setting the limit below these thresholds will effectively limit the scheduler to printing a single job at any time.
168The default limit is "0".
37d9646b 169.\"#FilterNice
25d0c3fe
MS
170.TP 5
171\fBFilterNice \fInice-value\fR
172Specifies the scheduling priority (
173.BR nice (8)
174value) of filters that are run to print a job.
175The nice value ranges from 0, the highest priority, to 19, the lowest priority.
176The default is 0.
37d9646b 177.\"#GSSServiceName
25d0c3fe
MS
178.TP 5
179\fBGSSServiceName \fIname\fR
180Specifies the service name when using Kerberos authentication.
181The default service name is "http."
182.TP 5
37d9646b 183.\"#HostNameLookups
25d0c3fe
MS
184\fBHostNameLookups On\fR
185.TP 5
186\fBHostNameLookups Off\fR
187.TP 5
188\fBHostNameLookups Double\fR
189Specifies whether to do reverse lookups on connecting clients.
190The "Double" setting causes
191.BR cupsd (8)
192to verify that the hostname resolved from the address matches one of the addresses returned for that hostname.
193Double lookups also prevent clients with unregistered addresses from connecting to your server.
194The default is "Off" to avoid the potential server performance problems with hostname lookups.
195Only set this option to "On" or "Double" if absolutely required.
37d9646b 196.\"#JobKillDelay
25d0c3fe
MS
197.TP 5
198\fBJobKillDelay \fIseconds\fR
199Specifies the number of seconds to wait before killing the filters and backend associated with a canceled or held job.
200The default is "30".
37d9646b 201.\"#JobRetryInterval
25d0c3fe
MS
202.TP 5
203\fBJobRetryInterval \fIseconds\fR
204Specifies the interval between retries of jobs in seconds.
205This 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".
206The default is "30".
37d9646b 207.\"#JobRetryLimit
3d052e43 208.TP 5
25d0c3fe
MS
209\fBJobRetryLimit \fIcount\fR
210Specifies the number of retries that are done for jobs.
211This 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".
212The default is "5".
37d9646b 213.\"#KeepAlive
4a4b4f99 214.TP 5
25d0c3fe 215\fBKeepAlive Yes\fR
ef416fc2 216.TP 5
25d0c3fe
MS
217\fBKeepAlive No\fR
218Specifies whether to support HTTP keep-alive connections.
219The default is "Yes".
37d9646b 220.\"#KeepAliveTimeout
ef416fc2 221.TP 5
25d0c3fe
MS
222\fBKeepAliveTimeout \fIseconds\fR
223Specifies how long an idle client connection remains open.
224The default is "30".
37d9646b 225.\"#LimitIPP
dcb445bc 226.TP 5
25d0c3fe
MS
227\fB<Limit \fIoperation \fR...\fB> \fR... \fB</Limit>\fR
228Specifies the IPP operations that are being limited inside a Policy section. IPP operation names are listed below in the section "IPP OPERATIONS".
37d9646b 229.\"#Limit
bd7854cb 230.TP 5
25d0c3fe 231\fB<Limit \fImethod \fR...\fB> \fR... \fB</Limit>\fR
37d9646b 232.\"#LimitExcept
bd7854cb 233.TP 5
25d0c3fe
MS
234\fB<LimitExcept \fImethod \fR...\fB> \fR... \fB</LimitExcept>\fR
235Specifies the HTTP methods that are being limited inside a Location section. HTTP method names are listed below in the section "HTTP METHODS".
37d9646b 236.\"#LimitRequestBody
ef416fc2 237.TP 5
25d0c3fe
MS
238\fBLimitRequestBody \fIsize\fR
239Specifies the maximum size of print files, IPP requests, and HTML form data.
240The default is "0" which disables the limit check.
37d9646b 241.\"#Listen
ef416fc2 242.TP 5
25d0c3fe 243\fBListen \fIipv4-address\fB:\fIport\fR
238c3832 244.TP 5
25d0c3fe 245\fBListen [\fIipv6-address\fB]:\fIport\fR
ef416fc2 246.TP 5
25d0c3fe 247\fBListen *:\fIport\fR
ef416fc2 248.TP 5
25d0c3fe
MS
249\fBListen \fI/path/to/domain/socket\fR
250Listens to the specified address and port or domain socket path for connections.
251Multiple Listen directives can be provided to listen on multiple addresses.
252The Listen directive is similar to the Port directive but allows you to restrict access to specific interfaces or networks.
37d9646b 253.\"#ListenBackLog
80ca4592 254.TP 5
25d0c3fe
MS
255\fBListenBackLog \fInumber\fR
256Specifies the number of pending connections that will be allowed.
257This normally only affects very busy servers that have reached the MaxClients limit, but can also be triggered by large numbers of simultaneous connections.
258When the limit is reached, the operating system will refuse additional connections until the scheduler can accept the pending ones.
259The default is the OS-defined default limit, typically either "5" for older operating systems or "128" for newer operating systems.
37d9646b 260.\"#Location
ef416fc2 261.TP 5
25d0c3fe
MS
262\fB<Location \fI/path\fB> \fR... \fB</Location>\fR
263Specifies access control for the named location.
264Paths are documented below in the section "LOCATION PATHS".
37d9646b 265.\"#LogDebugHistory
ef416fc2 266.TP 5
25d0c3fe
MS
267\fBLogDebugHistory \fInumber\fR
268Specifies 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 269.\"#LogLevel
ef416fc2 270.TP 5
25d0c3fe 271\fBLogLevel \fRnone
ef416fc2 272.TP 5
25d0c3fe 273\fBLogLevel \fRemerg
ef416fc2 274.TP 5
25d0c3fe 275\fBLogLevel \fRalert
ef416fc2 276.TP 5
25d0c3fe 277\fBLogLevel \fRcrit
bd7854cb 278.TP 5
25d0c3fe 279\fBLogLevel \fRerror
ed486911 280.TP 5
25d0c3fe 281\fBLogLevel \fRwarn
ef416fc2 282.TP 5
25d0c3fe 283\fBLogLevel \fRnotice
ef416fc2 284.TP 5
25d0c3fe 285\fBLogLevel \fRinfo
178cb736 286.TP 5
25d0c3fe 287\fBLogLevel \fRdebug
bd7854cb 288.TP 5
25d0c3fe
MS
289\fBLogLevel \fRdebug2
290Specifies the level of logging for the ErrorLog file.
291The value "none" stops all logging while "debug2" logs everything.
292The default is "warn".
37d9646b 293.\"#LogTimeFormat
bd7854cb 294.TP 5
25d0c3fe 295\fBLogTimeFormat \fRstandard
bd7854cb 296.TP 5
25d0c3fe
MS
297\fBLogTimeFormat \fRusecs
298Specifies the format of the date and time in the log files.
299The value "standard" is the default and logs whole seconds while "usecs" logs microseconds.
37d9646b 300.\"#MaxClients
bd7854cb 301.TP 5
25d0c3fe
MS
302\fBMaxClients \fInumber\fR
303Specifies the maximum number of simultaneous clients that are allowed by the scheduler.
304The default is "100".
37d9646b 305.\"#MaxClientPerHost
bd7854cb 306.TP 5
25d0c3fe
MS
307\fBMaxClientsPerHost \fInumber\fR
308Specifies the maximum number of simultaneous clients that are allowed from a
309single address.
310The default is the MaxClients value.
37d9646b 311.\"#MaxCopies
bd7854cb 312.TP 5
25d0c3fe
MS
313\fBMaxCopies \fInumber\fR
314Specifies the maximum number of copies that a user can print of each job.
315The default is "9999".
37d9646b 316.\"#MaxHoldTime
25d0c3fe
MS
317.TP 5
318\fBMaxHoldTime \fIseconds\fR
319Specifies the maximum time a job may remain in the "indefinite" hold state before it is canceled.
320The default is "0" which disables cancellation of held jobs.
37d9646b 321.\"#MaxJobs
25d0c3fe
MS
322.TP 5
323\fBMaxJobs \fInumber\fR
324Specifies the maximum number of simultaneous jobs that are allowed.
325Set to "0" to allow an unlimited number of jobs.
326The default is "500".
37d9646b 327.\"#MaxJobsPerPrinter
25d0c3fe
MS
328.TP 5
329\fBMaxJobsPerPrinter \fInumber\fR
330Specifies the maximum number of simultaneous jobs that are allowed per printer.
331The default is "0" which allows up to MaxJobs jobs per printer.
37d9646b 332.\"#MaxJobsPerUser
25d0c3fe
MS
333.TP 5
334\fBMaxJobsPerUser \fInumber\fR
335Specifies the maximum number of simultaneous jobs that are allowed per user.
336The default is "0" which allows up to MaxJobs jobs per user.
37d9646b 337.\"#MaxJobTime
25d0c3fe
MS
338.TP 5
339\fBMaxJobTime \fIseconds\fR
340Specifies the maximum time a job may take to print before it is canceled.
341Set to "0" to disable cancellation of "stuck" jobs.
342The default is "10800" (3 hours).
37d9646b 343.\"#MaxLogSize
25d0c3fe
MS
344.TP 5
345\fBMaxLogSize \fIsize\fR
346Specifies the maximum size of the log files before they are rotated.
347The value "0" disables log rotation.
348The default is "1048576" (1MB).
37d9646b 349.\"#MultipleOperationTimeout
25d0c3fe
MS
350.TP 5
351\fBMultipleOperationTimeout \fIseconds\fR
352Specifies the maximum amount of time to allow between files in a multiple file print job.
353The default is "300" (5 minutes).
37d9646b 354.\"#PageLogFormat
25d0c3fe
MS
355.TP 5
356\fBPageLogFormat \fIformat-string\fR
357Specifies the format of PageLog lines.
358Sequences beginning with percent (%) characters are replaced with the corresponding information, while all other characters are copied literally.
359The following percent sequences are recognized:
360.nf
361
362 "%%" inserts a single percent character.
363 "%{name}" inserts the value of the specified IPP attribute.
364 "%C" inserts the number of copies for the current page.
365 "%P" inserts the current page number.
366 "%T" inserts the current date and time in common log format.
367 "%j" inserts the job ID.
368 "%p" inserts the printer name.
369 "%u" inserts the username.
370
371.fi
0d53bff1
MS
372The default is the empty string, which disables page logging.
373The 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.
37d9646b 374.\"#PassEnv
25d0c3fe
MS
375.TP 5
376\fBPassEnv \fIvariable \fR[ ... \fIvariable \fR]
377Passes the specified environment variable(s) to child processes.
37d9646b 378.\"#Policy
bd7854cb 379.TP 5
25d0c3fe
MS
380\fB<Policy \fIname\fB> \fR... \fB</Policy>\fR
381Specifies access control for the named policy.
37d9646b 382.\"#Port
bd7854cb 383.TP 5
25d0c3fe
MS
384\fBPort \fInumber\fR
385Listens to the specified port number for connections.
37d9646b 386.\"#PreserveJobFiles
bd7854cb 387.TP 5
25d0c3fe 388\fBPreserveJobFiles Yes\fR
ef416fc2 389.TP 5
25d0c3fe 390\fBPreserveJobFiles No\fR
dfd5680b 391.TP 5
25d0c3fe
MS
392\fBPreserveJobFiles \fIseconds\fR
393Specifies whether job files (documents) are preserved after a job is printed.
394If a numeric value is specified, job files are preserved for the indicated number of seconds after printing.
395The default is "86400" (preserve 1 day).
37d9646b 396.\"#PreserveJobHistory
dfd5680b 397.TP 5
25d0c3fe 398\fBPreserveJobHistory Yes\fR
ef416fc2 399.TP 5
25d0c3fe 400\fBPreserveJobHistory No\fR
ef416fc2 401.TP 5
25d0c3fe
MS
402\fBPreserveJobHistory \fIseconds\fR
403Specifies whether the job history is preserved after a job is printed.
404If a numeric value is specified, the job history is preserved for the indicated number of seconds after printing.
405If "Yes", the job history is preserved until the MaxJobs limit is reached.
406The default is "Yes".
37d9646b 407.\"#ReloadTimeout
ef416fc2 408.TP 5
25d0c3fe
MS
409\fBReloadTimeout \fIseconds\fR
410Specifies the amount of time to wait for job completion before restarting the scheduler.
411The default is "30".
37d9646b 412.\"#RIPCache
3e7fe0ca 413.TP 5
25d0c3fe
MS
414\fBRIPCache \fIsize\fR
415Specifies the maximum amount of memory to use when converting documents into bitmaps for a printer.
416The default is "128m".
37d9646b 417.\"#ServerAdmin
ef416fc2 418.TP 5
25d0c3fe
MS
419\fBServerAdmin \fIemail-address\fR
420Specifies the email address of the server administrator.
421The default value is "root@ServerName".
37d9646b 422.\"#ServerAlias
ef416fc2 423.TP 5
25d0c3fe 424\fBServerAlias \fIhostname \fR[ ... \fIhostname \fR]
ef416fc2 425.TP 5
25d0c3fe
MS
426\fBServerAlias *\fR
427The ServerAlias directive is used for HTTP Host header validation when clients connect to the scheduler from external interfaces.
428Using the special name "*" can expose your system to known browser-based DNS rebinding attacks, even when accessing sites through a firewall.
429If the auto-discovery of alternate names does not work, we recommend listing each alternate name with a ServerAlias directive instead of using "*".
37d9646b 430.\"#ServerName
dcb445bc 431.TP 5
25d0c3fe
MS
432\fBServerName \fIhostname\fR
433Specifies the fully-qualified hostname of the server.
434The default is the value reported by the
435.BR hostname (1)
436command.
37d9646b 437.\"#ServerTokens
ef416fc2 438.TP 5
25d0c3fe 439\fBServerTokens None\fR
ef416fc2 440.TP 5
25d0c3fe 441\fBServerTokens ProductOnly\fR
dfd5680b 442.TP 5
25d0c3fe 443\fBServerTokens Major\fR
01ce6322 444.TP 5
25d0c3fe 445\fBServerTokens Minor\fR
ef416fc2 446.TP 5
25d0c3fe 447\fBServerTokens Minimal\fR
ef416fc2 448.TP 5
25d0c3fe 449\fBServerTokens OS\fR
ef416fc2 450.TP 5
25d0c3fe
MS
451\fBServerTokens Full\fR
452Specifies what information is included in the Server header of HTTP responses.
453"None" disables the Server header.
454"ProductOnly" reports "CUPS".
455"Major" reports "CUPS 2".
456"Minor" reports "CUPS 2.0".
457"Minimal" reports "CUPS 2.0.0".
053939b3 458"OS" reports "CUPS 2.0.0 (UNAME)" where UNAME is the output of the
25d0c3fe
MS
459.BR uname (1)
460command.
461"Full" reports "CUPS 2.0.0 (UNAME) IPP/2.0".
462The default is "Minimal".
37d9646b 463.\"#SetEnv
bd7854cb 464.TP 5
25d0c3fe
MS
465\fBSetEnv \fIvariable value\fR
466Set the specified environment variable to be passed to child processes.
37d9646b 467.\"#SSLListen
bd7854cb 468.TP 5
25d0c3fe 469\fBSSLListen \fIipv4-address\fB:\fIport\fR
ef416fc2 470.TP 5
25d0c3fe 471\fBSSLListen [\fIipv6-address\fB]:\fIport\fR
ef416fc2 472.TP 5
25d0c3fe
MS
473\fBSSLListen *:\fIport\fR
474Listens on the specified address and port for encrypted connections.
37d9646b 475.\"#SSLOptions
0af14961 476.TP 5
63aefcd5
MS
477\fBSSLOptions \fR[\fIAllowRC4\fR] [\fIAllowSSL3\fR]
478.TP 5
479\fBSSLOptions None\fR
480Sets encryption options.
481By default, CUPS only supports encryption using TLS v1.0 or higher using known secure cipher suites.
482The \fIAllowRC4\fR option enables the 128-bit RC4 cipher suites, which are required for some older clients that do not implement newer ones.
483The \fIAllowSSL3\fR option enables SSL v3.0, which is required for some older clients that do not support TLS v1.0.
37d9646b 484.\"#SSLPort
63aefcd5 485.TP 5
25d0c3fe
MS
486\fBSSLPort \fIport\fR
487Listens on the specified port for encrypted connections.
37d9646b 488.\"#StrictConformance
ef416fc2 489.TP 5
25d0c3fe 490\fBStrictConformance Yes\fR
ef416fc2 491.TP 5
25d0c3fe
MS
492\fBStrictConformance No\fR
493Specifies whether the scheduler requires clients to strictly adhere to the IPP specifications.
494The default is "No".
37d9646b 495.\"#Timeout
ef416fc2 496.TP 5
25d0c3fe
MS
497\fBTimeout \fIseconds\fR
498Specifies the HTTP request timeout.
499The default is "300" (5 minutes).
37d9646b 500.\"#WebInterface
ef416fc2 501.TP 5
25d0c3fe 502\fBWebInterface yes\fR
ef416fc2 503.TP 5
25d0c3fe
MS
504\fBWebInterface no\fR
505Specifies whether the web interface is enabled.
506The default is "No".
507.SS HTTP METHOD NAMES
508The following HTTP methods are supported by
509.BR cupsd (8):
ef416fc2 510.TP 5
25d0c3fe
MS
511GET
512Used by a client to download icons and other printer resources and to access the CUPS web interface.
88f9aafc 513.TP 5
25d0c3fe
MS
514HEAD
515Used by a client to get the type, size, and modification date of resources.
e07d4801 516.TP 5
25d0c3fe
MS
517OPTIONS
518Used by a client to establish a secure (SSL/TLS) connection.
ef416fc2 519.TP 5
25d0c3fe
MS
520POST
521Used by a client to submit IPP requests and HTML forms from the CUPS web interface.
bd7854cb 522.TP 5
25d0c3fe
MS
523PUT
524Used by a client to upload configuration files.
525.SS IPP OPERATION NAMES
526The following IPP operations are supported by
527.BR cupsd (8):
bd7854cb 528.TP 5
25d0c3fe
MS
529CUPS\-Accept\-Jobs
530Allows a printer to accept new jobs.
bd7854cb 531.TP 5
25d0c3fe
MS
532CUPS\-Add\-Modify\-Class
533Adds or modifies a printer class.
bd7854cb 534.TP 5
25d0c3fe
MS
535CUPS\-Add\-Modify\-Printer
536Adds or modifies a printer.
bd7854cb 537.TP 5
25d0c3fe
MS
538CUPS\-Authenticate\-Job
539Releases a job that is held for authentication.
bd7854cb 540.TP 5
25d0c3fe
MS
541CUPS\-Delete\-Class
542Deletes a printer class.
ef416fc2 543.TP 5
25d0c3fe
MS
544CUPS\-Delete\-Printer
545Deletes a printer.
ef416fc2 546.TP 5
25d0c3fe
MS
547CUPS\-Get\-Classes
548Gets a list of printer classes.
ef416fc2 549.TP 5
25d0c3fe
MS
550CUPS\-Get\-Default
551Gets the server default printer or printer class.
ef416fc2 552.TP 5
25d0c3fe
MS
553CUPS\-Get\-Devices
554Gets a list of devices that are currently available.
a29fd7dd 555.TP 5
25d0c3fe
MS
556CUPS\-Get\-Document
557Gets a document file for a job.
a29fd7dd 558.TP 5
25d0c3fe
MS
559CUPS\-Get\-PPD
560Gets a PPD file.
e0660879 561.TP 5
25d0c3fe
MS
562CUPS\-Get\-PPDs
563Gets a list of installed PPD files.
e0660879 564.TP 5
25d0c3fe
MS
565CUPS\-Get\-Printers
566Gets a list of printers.
567.TP 5
568CUPS\-Move\-Job
569Moves a job.
570.TP 5
571CUPS\-Reject\-Jobs
572Prevents a printer from accepting new jobs.
573.TP 5
574CUPS\-Set\-Default
575Sets the server default printer or printer class.
576.TP 5
577Cancel\-Job
578Cancels a job.
579.TP 5
580Cancel\-Jobs
581Cancels one or more jobs.
582.TP 5
583Cancel\-My\-Jobs
584Cancels one or more jobs creates by a user.
585.TP 5
586Cancel\-Subscription
587Cancels a subscription.
588.TP 5
589Close\-Job
590Closes a job that is waiting for more documents.
591.TP 5
592Create\-Job
593Creates a new job with no documents.
594.TP 5
595Create\-Job\-Subscriptions
596Creates a subscription for job events.
597.TP 5
598Create\-Printer\-Subscriptions
599Creates a subscription for printer events.
600.TP 5
601Get\-Job\-Attributes
602Gets information about a job.
603.TP 5
604Get\-Jobs
605Gets a list of jobs.
606.TP 5
607Get\-Notifications
608Gets a list of event notifications for a subscription.
609.TP 5
610Get\-Printer\-Attributes
611Gets information about a printer or printer class.
612.TP 5
613Get\-Subscription\-Attributes
614Gets information about a subscription.
615.TP 5
616Get\-Subscriptions
617Gets a list of subscriptions.
618.TP 5
619Hold\-Job
620Holds a job from printing.
621.TP 5
622Hold\-New\-Jobs
623Holds all new jobs from printing.
624.TP 5
625Pause\-Printer
626Stops processing of jobs by a printer or printer class.
627.TP 5
628Pause\-Printer\-After\-Current\-Job
629Stops processing of jobs by a printer or printer class after the current job is finished.
630.TP 5
631Print\-Job
632Creates a new job with a single document.
633.TP 5
634Purge\-Jobs
635Cancels one or more jobs and deletes the job history.
636.TP 5
637Release\-Held\-New\-Jobs
638Allows previously held jobs to print.
639.TP 5
640Release\-Job
641Allows a job to print.
642.TP 5
643Renew\-Subscription
644Renews a subscription.
645.TP 5
646Restart\-Job
647Reprints a job, if possible.
648.TP 5
649Send\-Document
650Adds a document to a job.
651.TP 5
652Set\-Job\-Attributes
653Changes job information.
654.TP 5
655Set\-Printer\-Attributes
656Changes printer or printer class information.
657.TP 5
658Validate\-Job
659Validates options for a new job.
660.SS LOCATION PATHS
661The following paths are commonly used when configuring
662.BR cupsd (8):
663.TP 5
664/
665The path for all get operations (get-printers, get-jobs, etc.)
666.TP 5
667/admin
668The path for all administration operations (add-printer, delete-printer, start-printer, etc.)
669.TP 5
670/admin/conf
671The path for access to the CUPS configuration files (cupsd.conf, client.conf, etc.)
672.TP 5
673/admin/log
674The path for access to the CUPS log files (access_log, error_log, page_log)
675.TP 5
676/classes
677The path for all printer classes
678.TP 5
679/classes/name
680The resource for the named printer class
681.TP 5
682/jobs
683The path for all jobs (hold-job, release-job, etc.)
684.TP 5
685/jobs/id
686The path for the specified job.
687.TP 5
688/printers
689The path for all printers
690.TP 5
691/printers/name
692The path for the named printer
693.TP 5
694/printers/name.png
695The icon file path for the named printer
696.TP 5
697/printers/name.ppd
698The PPD file path for the named printer
699.SS DIRECTIVES VALID WITHIN LOCATION AND LIMIT SECTIONS
700The following directives may be placed inside Location and Limit sections in the \fBcupsd.conf\fR file:
701.TP 5
702\fBAllow all\fR
703.TP 5
704\fBAllow none\fR
705.TP 5
706\fBAllow \fIhost.domain.com\fR
707.TP 5
708\fBAllow *.\fIdomain.com\fR
709.TP 5
710\fBAllow \fIipv4-address\fR
711.TP 5
712\fBAllow \fIipv4-address\fB/\fInetmask\fR
713.TP 5
714\fBAllow \fIipv4-address\fB/\fImm\fR
e0660879 715.TP 5
25d0c3fe 716\fBAllow [\fIipv6-address\fB]\fR
e0660879 717.TP 5
25d0c3fe 718\fBAllow [\fIipv6-address\fB]/\fImm\fR
e0660879 719.TP 5
25d0c3fe 720\fBAllow @IF(\fIname\fB)\fR
e0660879 721.TP 5
25d0c3fe
MS
722\fBAllow @LOCAL\fR
723Allows access from the named hosts, domains, addresses, or interfaces.
724The Order directive controls whether Allow lines are evaluated before or after Deny lines.
e0660879 725.TP 5
25d0c3fe 726\fBAuthType None\fR
e0660879 727.TP 5
25d0c3fe 728\fBAuthType Basic\fR
e0660879 729.TP 5
25d0c3fe 730\fBAuthType Default\fR
e0660879 731.TP 5
25d0c3fe
MS
732\fBAuthType Negotiate\fR
733Specifies the type of authentication required.
734The value "Default" corresponds to the DefaultAuthType value.
e0660879 735.TP 5
25d0c3fe 736\fBDeny all\fR
e0660879 737.TP 5
25d0c3fe 738\fBDeny none\fR
e0660879 739.TP 5
25d0c3fe 740\fBDeny \fIhost.domain.com\fR
e0660879 741.TP 5
25d0c3fe 742\fBDeny *.\fIdomain.com\fR
e0660879 743.TP 5
25d0c3fe 744\fBDeny \fIipv4-address\fR
e0660879 745.TP 5
25d0c3fe 746\fBDeny \fIipv4-address\fB/\fInetmask\fR
e0660879 747.TP 5
25d0c3fe 748\fBDeny \fIipv4-address\fB/\fImm\fR
e0660879 749.TP 5
25d0c3fe 750\fBDeny [\fIipv6-address\fB]\fR
e0660879 751.TP 5
25d0c3fe 752\fBDeny [\fIipv6-address\fB]/\fImm\fR
e0660879 753.TP 5
25d0c3fe 754\fBDeny @IF(\fIname\fB)\fR
e0660879 755.TP 5
25d0c3fe
MS
756\fBDeny @LOCAL\fR
757Denies access from the named hosts, domains, addresses, or interfaces.
758The Order directive controls whether Deny lines are evaluated before or after Allow lines.
e0660879 759.TP 5
25d0c3fe 760\fBEncryption IfRequested\fR
e0660879 761.TP 5
25d0c3fe 762\fBEncryption Never\fR
e0660879 763.TP 5
25d0c3fe
MS
764\fBEncryption Required\fR
765Specifies the level of encryption that is required for a particular location.
766The default value is "IfRequested".
e0660879 767.TP 5
25d0c3fe
MS
768\fBOrder allow,deny\fR
769Specifies 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.
e0660879 770.TP 5
25d0c3fe
MS
771\fBOrder deny,allow\fR
772Specifies 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.
e0660879 773.TP 5
25d0c3fe
MS
774\fBRequire group \fIgroup-name \fR[ \fIgroup-name \fR... ]
775Specifies that an authenticated user must be a member of one of the named groups.
e0660879 776.TP 5
25d0c3fe
MS
777\fBRequire user {\fIuser-name\fR|\fB@\fIgroup-name\fR} ...
778Specifies that an authenticated user must match one of the named users or be a member of one of the named groups.
779The group name "@SYSTEM" corresponds to the list of groups defined by the SystemGroup directive in the
780.BR cups-files.conf (5)
781file.
782The group name "@OWNER" corresponds to the owner of the resource, for example the person that submitted a print job.
e0660879 783.TP 5
25d0c3fe
MS
784\fBRequire valid-user\fR
785Specifies that any authenticated user is acceptable.
e0660879 786.TP 5
25d0c3fe
MS
787\fBSatisfy all\fR
788Specifies that all Allow, AuthType, Deny, Order, and Require conditions must be satisfied to allow access.
e0660879 789.TP 5
25d0c3fe
MS
790\fBSatisfy any\fR
791Specifies that any a client may access a resource if either the authentication (AuthType/Require) or address (Allow/Deny/Order) conditions are satisfied.
792For example, this can be used to require authentication only for remote accesses.
793.SS DIRECTIVES VALID WITHIN POLICY SECTIONS
794The following directives may be placed inside Policy sections in the \fBcupsd.conf\fR file:
e0660879 795.TP 5
25d0c3fe 796\fBJobPrivateAccess all\fR
e0660879 797.TP 5
25d0c3fe 798\fBJobPrivateAccess default\fR
e0660879 799.TP 5
25d0c3fe
MS
800\fBJobPrivateAccess \fR{\fIuser\fR|\fB@\fIgroup\fR|\fB@ACL\fR|\fB@OWNER\fR|\fB@SYSTEM\fR} ...
801Specifies an access list for a job's private values.
802The "default" access list is "@OWNER @SYSTEM".
803"@ACL" maps to the printer's requesting-user-name-allowed or requesting-user-name-denied values.
804"@OWNER" maps to the job's owner.
805"@SYSTEM" maps to the groups listed for the SystemGroup directive in the
806.BR cups-files.conf (5)
807file.
e0660879 808.TP 5
25d0c3fe 809\fBJobPrivateValues all\fR
e0660879 810.TP 5
25d0c3fe 811\fBJobPrivateValues default\fR
e0660879 812.TP 5
25d0c3fe 813\fBJobPrivateValues none\fR
e0660879 814.TP 5
25d0c3fe
MS
815\fBJobPrivateValues \fIattribute-name \fR[ ... \fIattribute-name \fR]
816Specifies the list of job values to make private.
817The "default" values are "job-name", "job-originating-host-name", "job-originating-user-name", and "phone".
e0660879 818.TP 5
25d0c3fe 819\fBSubscriptionPrivateAccess all\fR
10d09e33 820.TP 5
25d0c3fe 821\fBSubscriptionPrivateAccess default\fR
10d09e33 822.TP 5
25d0c3fe
MS
823\fBSubscriptionPrivateAccess \fR{\fIuser\fR|\fB@\fIgroup\fR|\fB@ACL\fR|\fB@OWNER\fR|\fB@SYSTEM\fR} ...
824Specifies an access list for a subscription's private values.
825The "default" access list is "@OWNER @SYSTEM".
826"@ACL" maps to the printer's requesting-user-name-allowed or requesting-user-name-denied values.
827"@OWNER" maps to the job's owner.
828"@SYSTEM" maps to the groups listed for the SystemGroup directive in the
829.BR cups-files.conf (5)
830file.
10d09e33 831.TP 5
25d0c3fe 832\fBSubscriptionPrivateValues all\fR
10d09e33 833.TP 5
25d0c3fe 834\fBSubscriptionPrivateValues default\fR
10d09e33 835.TP 5
25d0c3fe 836\fBSubscriptionPrivateValues none\fR
10d09e33 837.TP 5
25d0c3fe
MS
838\fBSubscriptionPrivateValues \fIattribute-name \fR[ ... \fIattribute-name \fR]
839Specifies the list of subscription values to make private.
840The "default" values are "notify-events", "notify-pull-method", "notify-recipient-uri", "notify-subscriber-user-name", and "notify-user-data".
841.SH CONFORMING TO
842The \fBcupsd.conf\fR file format is based on the Apache HTTP Server configuration file format.
843.SH EXAMPLES
844Log everything with a maximum log file size of 32 megabytes:
845.nf
846
847 AccessLogLevel all
848 LogLevel debug2
849 MaxLogSize 32m
850
851.fi
852Require authentication for accesses from outside the 10. network:
853.nf
854
855 <Location />
856 Order allow,deny
857 Allow from 10./8
858 AuthType Basic
859 Require valid-user
860 Satisfy any
861 </Location>
862.fi
ef416fc2 863.SH SEE ALSO
25d0c3fe
MS
864.BR classes.conf (5),
865.BR cups-files.conf (5),
866.BR cupsd (8),
867.BR mime.convs (5),
868.BR mime.types (5),
869.BR printers.conf (5),
870.BR subscriptions.conf (5),
871CUPS Online Help (http://localhost:631/help)
ef416fc2 872.SH COPYRIGHT
0d53bff1 873Copyright \[co] 2007-2015 by Apple Inc.
ef416fc2 874.\"
e4e5666b 875.\" End of "$Id$".
ef416fc2 876.\"