]> git.ipfire.org Git - thirdparty/cups.git/blame - man/cupsd.conf.man.in
Import CUPS v2.0.2
[thirdparty/cups.git] / man / cupsd.conf.man.in
CommitLineData
ef416fc2 1.\"
4ef75dec 2.\" "$Id: cupsd.conf.man.in 12363 2014-12-12 19:51:33Z msweet $"
ef416fc2 3.\"
1a18c85c 4.\" cupsd.conf man page for CUPS.
ef416fc2 5.\"
1a18c85c
MS
6.\" Copyright 2007-2014 by Apple Inc.
7.\" Copyright 1997-2006 by Easy Software Products.
ef416fc2 8.\"
1a18c85c
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.\"
86243a75 15.TH cupsd.conf 5 "CUPS" "20 October 2014" "Apple Inc."
ef416fc2 16.SH NAME
17cupsd.conf \- server configuration file for cups
18.SH DESCRIPTION
1a18c85c
MS
19The
20.I cupsd.conf
21file configures the CUPS scheduler,
22.BR cupsd (8).
23It is normally located in the
24.I /etc/cups
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
1a18c85c
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):
4ef75dec 37.\"#AccessLogLevel
ef416fc2 38.TP 5
1a18c85c 39\fBAccessLogLevel config\fR
1f0275e3 40.TP 5
1a18c85c 41\fBAccessLogLevel actions\fR
1f0275e3 42.TP 5
1a18c85c 43\fBAccessLogLevel all\fR
1f0275e3 44Specifies the logging level for the AccessLog file.
1a18c85c
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".
4ef75dec 49.\"#AutoPurgeJobs
1f0275e3 50.TP 5
1a18c85c 51\fBAutoPurgeJobs Yes\fR
bd7854cb 52.TP 5
1a18c85c
MS
53\fBAutoPurgeJobs No\fR
54.br
55Specifies whether to purge job history data automatically when it is no longer required for quotas.
56The default is "No".
4ef75dec 57.\"#BrowseLocalProtocols
bd7854cb 58.TP 5
1a18c85c 59\fBBrowseLocalProtocols all\fR
bd7854cb 60.TP 5
1a18c85c 61\fBBrowseLocalProtocols dnssd\fR
bd7854cb 62.TP 5
1a18c85c
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.
4ef75dec 66.\"#BrowseWebIF
bd7854cb 67.TP 5
1a18c85c 68\fBBrowseWebIF Yes\fR
bd7854cb 69.TP 5
1a18c85c
MS
70\fBBrowseWebIF No\fR
71.br
72Specifies whether the CUPS web interface is advertised.
73The default is "No".
4ef75dec 74.\"#Browsing
bd7854cb 75.TP 5
1a18c85c 76\fBBrowsing Yes\fR
bd7854cb 77.TP 5
1a18c85c 78\fBBrowsing No\fR
ef416fc2 79.br
1a18c85c
MS
80Specifies whether shared printers are advertised.
81The default is "No".
4ef75dec 82.\"#Classification
ef416fc2 83.TP 5
1a18c85c
MS
84\fBClassification \fIbanner\fR
85.br
86Specifies the security classification of the server.
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.
4ef75dec 89.\"#ClassifyOverride
bd7854cb 90.TP 5
1a18c85c 91\fBClassifyOverride Yes\fR
bd7854cb 92.TP 5
1a18c85c
MS
93\fBClassifyOverride No\fR
94.br
95Specifies whether users may override the classification (cover page) of individual print jobs using the "job-sheets" option.
96The default is "No".
4ef75dec 97.\"#DefaultAuthType
bd7854cb 98.TP 5
1a18c85c 99\fBDefaultAuthType Basic\fR
f7deaa1a 100.TP 5
1a18c85c 101\fBDefaultAuthType Negotiate\fR
ef416fc2 102.br
1a18c85c
MS
103Specifies the default type of authentication to use.
104The default is "Basic".
4ef75dec 105.\"#DefaultEncryption
ef416fc2 106.TP 5
1a18c85c 107\fBDefaultEncryption Never\fR
bd7854cb 108.TP 5
1a18c85c 109\fBDefaultEncryption IfRequested\fR
ef416fc2 110.TP 5
1a18c85c
MS
111\fBDefaultEncryption Required\fR
112Specifies whether encryption will be used for authenticated requests.
113The default is "Required".
4ef75dec 114.\"#DefaultLanguage
ef416fc2 115.TP 5
1a18c85c
MS
116\fBDefaultLanguage \fIlocale\fR
117Specifies the default language to use for text and web content.
118The default is "en".
4ef75dec 119.\"#DefaultPaperSize
b19ccc9e 120.TP 5
1a18c85c 121\fBDefaultPaperSize Auto\fR
b19ccc9e 122.TP 5
1a18c85c 123\fBDefaultPaperSize None\fR
bd7854cb 124.TP 5
1a18c85c
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".
4ef75dec 129.\"#DefaultPolicy
ef416fc2 130.TP 5
1a18c85c
MS
131\fBDefaultPolicy \fIpolicy-name\fR
132Specifies the default access policy to use.
133The default access policy is "default".
4ef75dec 134.\"#DefaultShared
ef416fc2 135.TP 5
1a18c85c 136\fBDefaultShared Yes\fR
bd7854cb 137.TP 5
1a18c85c
MS
138\fBDefaultShared No\fR
139Specifies whether local printers are shared by default.
140The default is "Yes".
4ef75dec 141.\"#DirtyCleanInterval
ef416fc2 142.TP 5
1a18c85c
MS
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".
4ef75dec 147.\"#ErrorPolicy
bd7854cb 148.TP 5
1a18c85c
MS
149\fBErrorPolicy abort-job\fR
150Specifies that a failed print job should be aborted (discarded) unless otherwise specified for the printer.
bd7854cb 151.TP 5
1a18c85c
MS
152\fBErrorPolicy retry-job\fR
153Specifies that a failed print job should be retried at a later time unless otherwise specified for the printer.
f7deaa1a 154.TP 5
1a18c85c
MS
155\fBErrorPolicy retry-this-job\fR
156Specifies that a failed print job should be retried immediately unless otherwise specified for the printer.
ef416fc2 157.TP 5
1a18c85c
MS
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.
4ef75dec 160.\"#FilterLimit
8b450588 161.TP 5
1a18c85c
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".
4ef75dec 169.\"#FilterNice
1a18c85c
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.
4ef75dec 177.\"#GSSServiceName
1a18c85c
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
4ef75dec 183.\"#HostNameLookups
1a18c85c
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.
4ef75dec 196.\"#JobKillDelay
1a18c85c
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".
4ef75dec 201.\"#JobRetryInterval
1a18c85c
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".
4ef75dec 207.\"#JobRetryLimit
8b450588 208.TP 5
1a18c85c
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".
4ef75dec 213.\"#KeepAlive
8b450588 214.TP 5
1a18c85c 215\fBKeepAlive Yes\fR
ef416fc2 216.TP 5
1a18c85c
MS
217\fBKeepAlive No\fR
218Specifies whether to support HTTP keep-alive connections.
219The default is "Yes".
4ef75dec 220.\"#KeepAliveTimeout
49d87452 221.TP 5
1a18c85c
MS
222\fBKeepAliveTimeout \fIseconds\fR
223Specifies how long an idle client connection remains open.
224The default is "30".
4ef75dec 225.\"#LimitIPP
49d87452 226.TP 5
1a18c85c
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".
4ef75dec 229.\"#Limit
49d87452 230.TP 5
1a18c85c 231\fB<Limit \fImethod \fR...\fB> \fR... \fB</Limit>\fR
4ef75dec 232.\"#LimitExcept
ef416fc2 233.TP 5
1a18c85c
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".
4ef75dec 236.\"#LimitRequestBody
3d052e43 237.TP 5
1a18c85c
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.
4ef75dec 241.\"#Listen
3d052e43 242.TP 5
1a18c85c 243\fBListen \fIipv4-address\fB:\fIport\fR
bd7854cb 244.TP 5
1a18c85c 245\fBListen [\fIipv6-address\fB]:\fIport\fR
bd7854cb 246.TP 5
1a18c85c 247\fBListen *:\fIport\fR
bd7854cb 248.TP 5
1a18c85c
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.
4ef75dec 253.\"#ListenBackLog
bd7854cb 254.TP 5
1a18c85c
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.
4ef75dec 260.\"#Location
bd7854cb 261.TP 5
1a18c85c
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".
4ef75dec 265.\"#LogDebugHistory
bd7854cb 266.TP 5
1a18c85c
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.
4ef75dec 269.\"#LogLevel
bd7854cb 270.TP 5
1a18c85c 271\fBLogLevel \fRnone
bd7854cb 272.TP 5
1a18c85c 273\fBLogLevel \fRemerg
ef416fc2 274.TP 5
1a18c85c 275\fBLogLevel \fRalert
4a4b4f99 276.TP 5
1a18c85c 277\fBLogLevel \fRcrit
bd7854cb 278.TP 5
1a18c85c 279\fBLogLevel \fRerror
bd7854cb 280.TP 5
1a18c85c 281\fBLogLevel \fRwarn
ef416fc2 282.TP 5
1a18c85c 283\fBLogLevel \fRnotice
b60086f8 284.TP 5
1a18c85c 285\fBLogLevel \fRinfo
b60086f8 286.TP 5
1a18c85c 287\fBLogLevel \fRdebug
b60086f8 288.TP 5
1a18c85c
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".
4ef75dec 293.\"#LogTimeFormat
b60086f8 294.TP 5
1a18c85c 295\fBLogTimeFormat \fRstandard
ef416fc2 296.TP 5
1a18c85c
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.
4ef75dec 300.\"#MaxClients
ef416fc2 301.TP 5
1a18c85c
MS
302\fBMaxClients \fInumber\fR
303Specifies the maximum number of simultaneous clients that are allowed by the scheduler.
304The default is "100".
4ef75dec 305.\"#MaxClientPerHost
dcb445bc 306.TP 5
1a18c85c
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.
4ef75dec 311.\"#MaxCopies
bd7854cb 312.TP 5
1a18c85c
MS
313\fBMaxCopies \fInumber\fR
314Specifies the maximum number of copies that a user can print of each job.
315The default is "9999".
4ef75dec 316.\"#MaxHoldTime
1a18c85c
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.
4ef75dec 321.\"#MaxJobs
1a18c85c
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".
4ef75dec 327.\"#MaxJobsPerPrinter
1a18c85c
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.
4ef75dec 332.\"#MaxJobsPerUser
1a18c85c
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.
4ef75dec 337.\"#MaxJobTime
1a18c85c
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).
4ef75dec 343.\"#MaxLogSize
1a18c85c
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).
4ef75dec 349.\"#MultipleOperationTimeout
1a18c85c
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).
4ef75dec 354.\"#PageLogFormat
1a18c85c
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
372The default is "%p %u %j %T %P %C %{job-billing} %{job-originating-host-name} %{job-name} %{media} %{sides}".
4ef75dec 373.\"#PassEnv
1a18c85c
MS
374.TP 5
375\fBPassEnv \fIvariable \fR[ ... \fIvariable \fR]
376Passes the specified environment variable(s) to child processes.
4ef75dec 377.\"#Policy
bd7854cb 378.TP 5
1a18c85c
MS
379\fB<Policy \fIname\fB> \fR... \fB</Policy>\fR
380Specifies access control for the named policy.
4ef75dec 381.\"#Port
ef416fc2 382.TP 5
1a18c85c
MS
383\fBPort \fInumber\fR
384Listens to the specified port number for connections.
4ef75dec 385.\"#PreserveJobFiles
ef416fc2 386.TP 5
1a18c85c 387\fBPreserveJobFiles Yes\fR
238c3832 388.TP 5
1a18c85c 389\fBPreserveJobFiles No\fR
10d09e33 390.TP 5
1a18c85c
MS
391\fBPreserveJobFiles \fIseconds\fR
392Specifies whether job files (documents) are preserved after a job is printed.
393If a numeric value is specified, job files are preserved for the indicated number of seconds after printing.
394The default is "86400" (preserve 1 day).
4ef75dec 395.\"#PreserveJobHistory
10d09e33 396.TP 5
1a18c85c 397\fBPreserveJobHistory Yes\fR
10d09e33 398.TP 5
1a18c85c 399\fBPreserveJobHistory No\fR
10d09e33 400.TP 5
1a18c85c
MS
401\fBPreserveJobHistory \fIseconds\fR
402Specifies whether the job history is preserved after a job is printed.
403If a numeric value is specified, the job history is preserved for the indicated number of seconds after printing.
404If "Yes", the job history is preserved until the MaxJobs limit is reached.
405The default is "Yes".
4ef75dec 406.\"#ReloadTimeout
10d09e33 407.TP 5
1a18c85c
MS
408\fBReloadTimeout \fIseconds\fR
409Specifies the amount of time to wait for job completion before restarting the scheduler.
410The default is "30".
4ef75dec 411.\"#RIPCache
10d09e33 412.TP 5
1a18c85c
MS
413\fBRIPCache \fIsize\fR
414Specifies the maximum amount of memory to use when converting documents into bitmaps for a printer.
415The default is "128m".
4ef75dec 416.\"#ServerAdmin
10d09e33 417.TP 5
1a18c85c
MS
418\fBServerAdmin \fIemail-address\fR
419Specifies the email address of the server administrator.
420The default value is "root@ServerName".
4ef75dec 421.\"#ServerAlias
ef416fc2 422.TP 5
1a18c85c 423\fBServerAlias \fIhostname \fR[ ... \fIhostname \fR]
ef416fc2 424.TP 5
1a18c85c
MS
425\fBServerAlias *\fR
426The ServerAlias directive is used for HTTP Host header validation when clients connect to the scheduler from external interfaces.
427Using the special name "*" can expose your system to known browser-based DNS rebinding attacks, even when accessing sites through a firewall.
428If the auto-discovery of alternate names does not work, we recommend listing each alternate name with a ServerAlias directive instead of using "*".
4ef75dec 429.\"#ServerName
80ca4592 430.TP 5
1a18c85c
MS
431\fBServerName \fIhostname\fR
432Specifies the fully-qualified hostname of the server.
433The default is the value reported by the
434.BR hostname (1)
435command.
4ef75dec 436.\"#ServerTokens
ef416fc2 437.TP 5
1a18c85c 438\fBServerTokens None\fR
ef416fc2 439.TP 5
1a18c85c 440\fBServerTokens ProductOnly\fR
ef416fc2 441.TP 5
1a18c85c 442\fBServerTokens Major\fR
ef416fc2 443.TP 5
1a18c85c 444\fBServerTokens Minor\fR
ef416fc2 445.TP 5
1a18c85c 446\fBServerTokens Minimal\fR
ef416fc2 447.TP 5
1a18c85c 448\fBServerTokens OS\fR
bd7854cb 449.TP 5
1a18c85c
MS
450\fBServerTokens Full\fR
451Specifies what information is included in the Server header of HTTP responses.
452"None" disables the Server header.
453"ProductOnly" reports "CUPS".
454"Major" reports "CUPS 2".
455"Minor" reports "CUPS 2.0".
456"Minimal" reports "CUPS 2.0.0".
457"OS" reports "CUPS 2.0.0 (UNAME)" where UNAME is the output of the
458.BR uname (1)
459command.
460"Full" reports "CUPS 2.0.0 (UNAME) IPP/2.0".
461The default is "Minimal".
4ef75dec 462.\"#SetEnv
ed486911 463.TP 5
1a18c85c
MS
464\fBSetEnv \fIvariable value\fR
465Set the specified environment variable to be passed to child processes.
4ef75dec 466.\"#SSLListen
ef416fc2 467.TP 5
1a18c85c 468\fBSSLListen \fIipv4-address\fB:\fIport\fR
178cb736 469.TP 5
1a18c85c 470\fBSSLListen [\fIipv6-address\fB]:\fIport\fR
bd7854cb 471.TP 5
1a18c85c
MS
472\fBSSLListen *:\fIport\fR
473Listens on the specified address and port for encrypted connections.
4ef75dec 474.\"#SSLOptions
bd7854cb 475.TP 5
86243a75
MS
476\fBSSLOptions \fR[\fIAllowRC4\fR] [\fIAllowSSL3\fR]
477.TP 5
478\fBSSLOptions None\fR
479Sets encryption options.
480By default, CUPS only supports encryption using TLS v1.0 or higher using known secure cipher suites.
481The \fIAllowRC4\fR option enables the 128-bit RC4 cipher suites, which are required for some older clients that do not implement newer ones.
482The \fIAllowSSL3\fR option enables SSL v3.0, which is required for some older clients that do not support TLS v1.0.
4ef75dec 483.\"#SSLPort
86243a75 484.TP 5
1a18c85c
MS
485\fBSSLPort \fIport\fR
486Listens on the specified port for encrypted connections.
4ef75dec 487.\"#StrictConformance
bd7854cb 488.TP 5
1a18c85c 489\fBStrictConformance Yes\fR
bd7854cb 490.TP 5
1a18c85c
MS
491\fBStrictConformance No\fR
492Specifies whether the scheduler requires clients to strictly adhere to the IPP specifications.
493The default is "No".
4ef75dec 494.\"#Timeout
bd7854cb 495.TP 5
1a18c85c
MS
496\fBTimeout \fIseconds\fR
497Specifies the HTTP request timeout.
498The default is "300" (5 minutes).
4ef75dec 499.\"#WebInterface
bd7854cb 500.TP 5
1a18c85c 501\fBWebInterface yes\fR
bd7854cb 502.TP 5
1a18c85c
MS
503\fBWebInterface no\fR
504Specifies whether the web interface is enabled.
505The default is "No".
506.SS HTTP METHOD NAMES
507The following HTTP methods are supported by
508.BR cupsd (8):
bd7854cb 509.TP 5
1a18c85c
MS
510GET
511Used by a client to download icons and other printer resources and to access the CUPS web interface.
bd7854cb 512.TP 5
1a18c85c
MS
513HEAD
514Used by a client to get the type, size, and modification date of resources.
ef416fc2 515.TP 5
1a18c85c
MS
516OPTIONS
517Used by a client to establish a secure (SSL/TLS) connection.
dfd5680b 518.TP 5
1a18c85c
MS
519POST
520Used by a client to submit IPP requests and HTML forms from the CUPS web interface.
dfd5680b 521.TP 5
1a18c85c
MS
522PUT
523Used by a client to upload configuration files.
524.SS IPP OPERATION NAMES
525The following IPP operations are supported by
526.BR cupsd (8):
ef416fc2 527.TP 5
1a18c85c
MS
528CUPS\-Accept\-Jobs
529Allows a printer to accept new jobs.
ef416fc2 530.TP 5
1a18c85c
MS
531CUPS\-Add\-Modify\-Class
532Adds or modifies a printer class.
ef416fc2 533.TP 5
1a18c85c
MS
534CUPS\-Add\-Modify\-Printer
535Adds or modifies a printer.
3e7fe0ca 536.TP 5
1a18c85c
MS
537CUPS\-Authenticate\-Job
538Releases a job that is held for authentication.
ef416fc2 539.TP 5
1a18c85c
MS
540CUPS\-Delete\-Class
541Deletes a printer class.
ef416fc2 542.TP 5
1a18c85c
MS
543CUPS\-Delete\-Printer
544Deletes a printer.
ef416fc2 545.TP 5
1a18c85c
MS
546CUPS\-Get\-Classes
547Gets a list of printer classes.
dcb445bc 548.TP 5
1a18c85c
MS
549CUPS\-Get\-Default
550Gets the server default printer or printer class.
ef416fc2 551.TP 5
1a18c85c
MS
552CUPS\-Get\-Devices
553Gets a list of devices that are currently available.
ef416fc2 554.TP 5
1a18c85c
MS
555CUPS\-Get\-Document
556Gets a document file for a job.
dfd5680b 557.TP 5
1a18c85c
MS
558CUPS\-Get\-PPD
559Gets a PPD file.
bd7854cb 560.TP 5
1a18c85c
MS
561CUPS\-Get\-PPDs
562Gets a list of installed PPD files.
ef416fc2 563.TP 5
1a18c85c
MS
564CUPS\-Get\-Printers
565Gets a list of printers.
01ce6322 566.TP 5
1a18c85c
MS
567CUPS\-Move\-Job
568Moves a job.
ef416fc2 569.TP 5
1a18c85c
MS
570CUPS\-Reject\-Jobs
571Prevents a printer from accepting new jobs.
ef416fc2 572.TP 5
1a18c85c
MS
573CUPS\-Set\-Default
574Sets the server default printer or printer class.
ef416fc2 575.TP 5
1a18c85c
MS
576Cancel\-Job
577Cancels a job.
bd7854cb 578.TP 5
1a18c85c
MS
579Cancel\-Jobs
580Cancels one or more jobs.
ef416fc2 581.TP 5
1a18c85c
MS
582Cancel\-My\-Jobs
583Cancels one or more jobs creates by a user.
bd7854cb 584.TP 5
1a18c85c
MS
585Cancel\-Subscription
586Cancels a subscription.
ef416fc2 587.TP 5
1a18c85c
MS
588Close\-Job
589Closes a job that is waiting for more documents.
ef416fc2 590.TP 5
1a18c85c
MS
591Create\-Job
592Creates a new job with no documents.
0af14961 593.TP 5
1a18c85c
MS
594Create\-Job\-Subscriptions
595Creates a subscription for job events.
ef416fc2 596.TP 5
1a18c85c
MS
597Create\-Printer\-Subscriptions
598Creates a subscription for printer events.
ef416fc2 599.TP 5
1a18c85c
MS
600Get\-Job\-Attributes
601Gets information about a job.
bd7854cb 602.TP 5
1a18c85c
MS
603Get\-Jobs
604Gets a list of jobs.
bd7854cb 605.TP 5
1a18c85c
MS
606Get\-Notifications
607Gets a list of event notifications for a subscription.
ef416fc2 608.TP 5
1a18c85c
MS
609Get\-Printer\-Attributes
610Gets information about a printer or printer class.
ef416fc2 611.TP 5
1a18c85c
MS
612Get\-Subscription\-Attributes
613Gets information about a subscription.
ef416fc2 614.TP 5
1a18c85c
MS
615Get\-Subscriptions
616Gets a list of subscriptions.
ef416fc2 617.TP 5
1a18c85c
MS
618Hold\-Job
619Holds a job from printing.
ef416fc2 620.TP 5
1a18c85c
MS
621Hold\-New\-Jobs
622Holds all new jobs from printing.
88f9aafc 623.TP 5
1a18c85c
MS
624Pause\-Printer
625Stops processing of jobs by a printer or printer class.
e07d4801 626.TP 5
1a18c85c
MS
627Pause\-Printer\-After\-Current\-Job
628Stops processing of jobs by a printer or printer class after the current job is finished.
ef416fc2 629.TP 5
1a18c85c
MS
630Print\-Job
631Creates a new job with a single document.
bd7854cb 632.TP 5
1a18c85c
MS
633Purge\-Jobs
634Cancels one or more jobs and deletes the job history.
bd7854cb 635.TP 5
1a18c85c
MS
636Release\-Held\-New\-Jobs
637Allows previously held jobs to print.
bd7854cb 638.TP 5
1a18c85c
MS
639Release\-Job
640Allows a job to print.
bd7854cb 641.TP 5
1a18c85c
MS
642Renew\-Subscription
643Renews a subscription.
bd7854cb 644.TP 5
1a18c85c
MS
645Restart\-Job
646Reprints a job, if possible.
bd7854cb 647.TP 5
1a18c85c
MS
648Send\-Document
649Adds a document to a job.
ef416fc2 650.TP 5
1a18c85c
MS
651Set\-Job\-Attributes
652Changes job information.
ef416fc2 653.TP 5
1a18c85c
MS
654Set\-Printer\-Attributes
655Changes printer or printer class information.
ef416fc2 656.TP 5
1a18c85c
MS
657Validate\-Job
658Validates options for a new job.
659.SS LOCATION PATHS
660The following paths are commonly used when configuring
661.BR cupsd (8):
b19ccc9e 662.TP 5
1a18c85c
MS
663/
664The path for all get operations (get-printers, get-jobs, etc.)
b19ccc9e 665.TP 5
1a18c85c
MS
666/admin
667The path for all administration operations (add-printer, delete-printer, start-printer, etc.)
ef416fc2 668.TP 5
1a18c85c
MS
669/admin/conf
670The path for access to the CUPS configuration files (cupsd.conf, client.conf, etc.)
a29fd7dd 671.TP 5
1a18c85c
MS
672/admin/log
673The path for access to the CUPS log files (access_log, error_log, page_log)
a29fd7dd 674.TP 5
1a18c85c
MS
675/classes
676The path for all printer classes
10d09e33 677.TP 5
1a18c85c
MS
678/classes/name
679The resource for the named printer class
10d09e33 680.TP 5
1a18c85c
MS
681/jobs
682The path for all jobs (hold-job, release-job, etc.)
10d09e33 683.TP 5
1a18c85c
MS
684/jobs/id
685The path for the specified job.
10d09e33 686.TP 5
1a18c85c
MS
687/printers
688The path for all printers
10d09e33 689.TP 5
1a18c85c
MS
690/printers/name
691The path for the named printer
10d09e33 692.TP 5
1a18c85c
MS
693/printers/name.png
694The icon file path for the named printer
10d09e33 695.TP 5
1a18c85c
MS
696/printers/name.ppd
697The PPD file path for the named printer
698.SS DIRECTIVES VALID WITHIN LOCATION AND LIMIT SECTIONS
699The following directives may be placed inside Location and Limit sections in the \fBcupsd.conf\fR file:
ef416fc2 700.TP 5
1a18c85c 701\fBAllow all\fR
229681c1 702.TP 5
1a18c85c
MS
703\fBAllow none\fR
704.TP 5
705\fBAllow \fIhost.domain.com\fR
706.TP 5
707\fBAllow *.\fIdomain.com\fR
708.TP 5
709\fBAllow \fIipv4-address\fR
710.TP 5
711\fBAllow \fIipv4-address\fB/\fInetmask\fR
712.TP 5
713\fBAllow \fIipv4-address\fB/\fImm\fR
714.TP 5
715\fBAllow [\fIipv6-address\fB]\fR
716.TP 5
717\fBAllow [\fIipv6-address\fB]/\fImm\fR
718.TP 5
719\fBAllow @IF(\fIname\fB)\fR
720.TP 5
721\fBAllow @LOCAL\fR
722Allows access from the named hosts, domains, addresses, or interfaces.
723The Order directive controls whether Allow lines are evaluated before or after Deny lines.
724.TP 5
725\fBAuthType None\fR
726.TP 5
727\fBAuthType Basic\fR
728.TP 5
729\fBAuthType Default\fR
730.TP 5
731\fBAuthType Negotiate\fR
732Specifies the type of authentication required.
733The value "Default" corresponds to the DefaultAuthType value.
734.TP 5
735\fBDeny all\fR
736.TP 5
737\fBDeny none\fR
738.TP 5
739\fBDeny \fIhost.domain.com\fR
740.TP 5
741\fBDeny *.\fIdomain.com\fR
742.TP 5
743\fBDeny \fIipv4-address\fR
744.TP 5
745\fBDeny \fIipv4-address\fB/\fInetmask\fR
746.TP 5
747\fBDeny \fIipv4-address\fB/\fImm\fR
748.TP 5
749\fBDeny [\fIipv6-address\fB]\fR
750.TP 5
751\fBDeny [\fIipv6-address\fB]/\fImm\fR
752.TP 5
753\fBDeny @IF(\fIname\fB)\fR
754.TP 5
755\fBDeny @LOCAL\fR
756Denies access from the named hosts, domains, addresses, or interfaces.
757The Order directive controls whether Deny lines are evaluated before or after Allow lines.
758.TP 5
759\fBEncryption IfRequested\fR
760.TP 5
761\fBEncryption Never\fR
762.TP 5
763\fBEncryption Required\fR
764Specifies the level of encryption that is required for a particular location.
765The default value is "IfRequested".
766.TP 5
767\fBOrder allow,deny\fR
768Specifies 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.
769.TP 5
770\fBOrder deny,allow\fR
771Specifies 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.
772.TP 5
773\fBRequire group \fIgroup-name \fR[ \fIgroup-name \fR... ]
774Specifies that an authenticated user must be a member of one of the named groups.
775.TP 5
776\fBRequire user {\fIuser-name\fR|\fB@\fIgroup-name\fR} ...
777Specifies that an authenticated user must match one of the named users or be a member of one of the named groups.
778The group name "@SYSTEM" corresponds to the list of groups defined by the SystemGroup directive in the
779.BR cups-files.conf (5)
780file.
781The group name "@OWNER" corresponds to the owner of the resource, for example the person that submitted a print job.
782.TP 5
783\fBRequire valid-user\fR
784Specifies that any authenticated user is acceptable.
785.TP 5
786\fBSatisfy all\fR
787Specifies that all Allow, AuthType, Deny, Order, and Require conditions must be satisfied to allow access.
788.TP 5
789\fBSatisfy any\fR
790Specifies that any a client may access a resource if either the authentication (AuthType/Require) or address (Allow/Deny/Order) conditions are satisfied.
791For example, this can be used to require authentication only for remote accesses.
792.SS DIRECTIVES VALID WITHIN POLICY SECTIONS
793The following directives may be placed inside Policy sections in the \fBcupsd.conf\fR file:
794.TP 5
795\fBJobPrivateAccess all\fR
796.TP 5
797\fBJobPrivateAccess default\fR
798.TP 5
799\fBJobPrivateAccess \fR{\fIuser\fR|\fB@\fIgroup\fR|\fB@ACL\fR|\fB@OWNER\fR|\fB@SYSTEM\fR} ...
800Specifies an access list for a job's private values.
801The "default" access list is "@OWNER @SYSTEM".
802"@ACL" maps to the printer's requesting-user-name-allowed or requesting-user-name-denied values.
803"@OWNER" maps to the job's owner.
804"@SYSTEM" maps to the groups listed for the SystemGroup directive in the
805.BR cups-files.conf (5)
806file.
807.TP 5
808\fBJobPrivateValues all\fR
809.TP 5
810\fBJobPrivateValues default\fR
811.TP 5
812\fBJobPrivateValues none\fR
813.TP 5
814\fBJobPrivateValues \fIattribute-name \fR[ ... \fIattribute-name \fR]
815Specifies the list of job values to make private.
816The "default" values are "job-name", "job-originating-host-name", "job-originating-user-name", and "phone".
817.TP 5
818\fBSubscriptionPrivateAccess all\fR
819.TP 5
820\fBSubscriptionPrivateAccess default\fR
821.TP 5
822\fBSubscriptionPrivateAccess \fR{\fIuser\fR|\fB@\fIgroup\fR|\fB@ACL\fR|\fB@OWNER\fR|\fB@SYSTEM\fR} ...
823Specifies an access list for a subscription's private values.
824The "default" access list is "@OWNER @SYSTEM".
825"@ACL" maps to the printer's requesting-user-name-allowed or requesting-user-name-denied values.
826"@OWNER" maps to the job's owner.
827"@SYSTEM" maps to the groups listed for the SystemGroup directive in the
828.BR cups-files.conf (5)
829file.
830.TP 5
831\fBSubscriptionPrivateValues all\fR
832.TP 5
833\fBSubscriptionPrivateValues default\fR
834.TP 5
835\fBSubscriptionPrivateValues none\fR
836.TP 5
837\fBSubscriptionPrivateValues \fIattribute-name \fR[ ... \fIattribute-name \fR]
838Specifies the list of subscription values to make private.
839The "default" values are "notify-events", "notify-pull-method", "notify-recipient-uri", "notify-subscriber-user-name", and "notify-user-data".
840.SH CONFORMING TO
841The \fBcupsd.conf\fR file format is based on the Apache HTTP Server configuration file format.
842.SH EXAMPLES
843Log everything with a maximum log file size of 32 megabytes:
844.nf
845
846 AccessLogLevel all
847 LogLevel debug2
848 MaxLogSize 32m
849
850.fi
851Require authentication for accesses from outside the 10. network:
852.nf
853
854 <Location />
855 Order allow,deny
856 Allow from 10./8
857 AuthType Basic
858 Require valid-user
859 Satisfy any
860 </Location>
861.fi
ef416fc2 862.SH SEE ALSO
1a18c85c
MS
863.BR classes.conf (5),
864.BR cups-files.conf (5),
865.BR cupsd (8),
866.BR mime.convs (5),
867.BR mime.types (5),
868.BR printers.conf (5),
869.BR subscriptions.conf (5),
870CUPS Online Help (http://localhost:631/help)
ef416fc2 871.SH COPYRIGHT
1a18c85c 872Copyright \[co] 2007-2014 by Apple Inc.
ef416fc2 873.\"
4ef75dec 874.\" End of "$Id: cupsd.conf.man.in 12363 2014-12-12 19:51:33Z msweet $".
ef416fc2 875.\"