]> git.ipfire.org Git - thirdparty/cups.git/blame - man/cupsd.conf.man.in
Import CUPS v2.0.4
[thirdparty/cups.git] / man / cupsd.conf.man.in
CommitLineData
ef416fc2 1.\"
00d0ae86 2.\" "$Id: cupsd.conf.man.in 12769 2015-06-30 16:13:48Z msweet $"
ef416fc2 3.\"
1a18c85c 4.\" cupsd.conf man page for CUPS.
ef416fc2 5.\"
00d0ae86 6.\" Copyright 2007-2015 by Apple Inc.
1a18c85c 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.\"
00d0ae86 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
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
00d0ae86
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.
4ef75dec 374.\"#PassEnv
1a18c85c
MS
375.TP 5
376\fBPassEnv \fIvariable \fR[ ... \fIvariable \fR]
377Passes the specified environment variable(s) to child processes.
4ef75dec 378.\"#Policy
bd7854cb 379.TP 5
1a18c85c
MS
380\fB<Policy \fIname\fB> \fR... \fB</Policy>\fR
381Specifies access control for the named policy.
4ef75dec 382.\"#Port
ef416fc2 383.TP 5
1a18c85c
MS
384\fBPort \fInumber\fR
385Listens to the specified port number for connections.
4ef75dec 386.\"#PreserveJobFiles
ef416fc2 387.TP 5
1a18c85c 388\fBPreserveJobFiles Yes\fR
238c3832 389.TP 5
1a18c85c 390\fBPreserveJobFiles No\fR
10d09e33 391.TP 5
1a18c85c
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).
4ef75dec 396.\"#PreserveJobHistory
10d09e33 397.TP 5
1a18c85c 398\fBPreserveJobHistory Yes\fR
10d09e33 399.TP 5
1a18c85c 400\fBPreserveJobHistory No\fR
10d09e33 401.TP 5
1a18c85c
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".
4ef75dec 407.\"#ReloadTimeout
10d09e33 408.TP 5
1a18c85c
MS
409\fBReloadTimeout \fIseconds\fR
410Specifies the amount of time to wait for job completion before restarting the scheduler.
411The default is "30".
4ef75dec 412.\"#RIPCache
10d09e33 413.TP 5
1a18c85c
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".
4ef75dec 417.\"#ServerAdmin
10d09e33 418.TP 5
1a18c85c
MS
419\fBServerAdmin \fIemail-address\fR
420Specifies the email address of the server administrator.
421The default value is "root@ServerName".
4ef75dec 422.\"#ServerAlias
ef416fc2 423.TP 5
1a18c85c 424\fBServerAlias \fIhostname \fR[ ... \fIhostname \fR]
ef416fc2 425.TP 5
1a18c85c
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 "*".
4ef75dec 430.\"#ServerName
80ca4592 431.TP 5
1a18c85c
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.
4ef75dec 437.\"#ServerTokens
ef416fc2 438.TP 5
1a18c85c 439\fBServerTokens None\fR
ef416fc2 440.TP 5
1a18c85c 441\fBServerTokens ProductOnly\fR
ef416fc2 442.TP 5
1a18c85c 443\fBServerTokens Major\fR
ef416fc2 444.TP 5
1a18c85c 445\fBServerTokens Minor\fR
ef416fc2 446.TP 5
1a18c85c 447\fBServerTokens Minimal\fR
ef416fc2 448.TP 5
1a18c85c 449\fBServerTokens OS\fR
bd7854cb 450.TP 5
1a18c85c
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".
458"OS" reports "CUPS 2.0.0 (UNAME)" where UNAME is the output of the
459.BR uname (1)
460command.
461"Full" reports "CUPS 2.0.0 (UNAME) IPP/2.0".
462The default is "Minimal".
4ef75dec 463.\"#SetEnv
ed486911 464.TP 5
1a18c85c
MS
465\fBSetEnv \fIvariable value\fR
466Set the specified environment variable to be passed to child processes.
4ef75dec 467.\"#SSLListen
ef416fc2 468.TP 5
1a18c85c 469\fBSSLListen \fIipv4-address\fB:\fIport\fR
178cb736 470.TP 5
1a18c85c 471\fBSSLListen [\fIipv6-address\fB]:\fIport\fR
bd7854cb 472.TP 5
1a18c85c
MS
473\fBSSLListen *:\fIport\fR
474Listens on the specified address and port for encrypted connections.
4ef75dec 475.\"#SSLOptions
bd7854cb 476.TP 5
86243a75
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.
4ef75dec 484.\"#SSLPort
86243a75 485.TP 5
1a18c85c
MS
486\fBSSLPort \fIport\fR
487Listens on the specified port for encrypted connections.
4ef75dec 488.\"#StrictConformance
bd7854cb 489.TP 5
1a18c85c 490\fBStrictConformance Yes\fR
bd7854cb 491.TP 5
1a18c85c
MS
492\fBStrictConformance No\fR
493Specifies whether the scheduler requires clients to strictly adhere to the IPP specifications.
494The default is "No".
4ef75dec 495.\"#Timeout
bd7854cb 496.TP 5
1a18c85c
MS
497\fBTimeout \fIseconds\fR
498Specifies the HTTP request timeout.
499The default is "300" (5 minutes).
4ef75dec 500.\"#WebInterface
bd7854cb 501.TP 5
1a18c85c 502\fBWebInterface yes\fR
bd7854cb 503.TP 5
1a18c85c
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):
bd7854cb 510.TP 5
1a18c85c
MS
511GET
512Used by a client to download icons and other printer resources and to access the CUPS web interface.
bd7854cb 513.TP 5
1a18c85c
MS
514HEAD
515Used by a client to get the type, size, and modification date of resources.
ef416fc2 516.TP 5
1a18c85c
MS
517OPTIONS
518Used by a client to establish a secure (SSL/TLS) connection.
dfd5680b 519.TP 5
1a18c85c
MS
520POST
521Used by a client to submit IPP requests and HTML forms from the CUPS web interface.
dfd5680b 522.TP 5
1a18c85c
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):
ef416fc2 528.TP 5
1a18c85c
MS
529CUPS\-Accept\-Jobs
530Allows a printer to accept new jobs.
ef416fc2 531.TP 5
1a18c85c
MS
532CUPS\-Add\-Modify\-Class
533Adds or modifies a printer class.
ef416fc2 534.TP 5
1a18c85c
MS
535CUPS\-Add\-Modify\-Printer
536Adds or modifies a printer.
3e7fe0ca 537.TP 5
1a18c85c
MS
538CUPS\-Authenticate\-Job
539Releases a job that is held for authentication.
ef416fc2 540.TP 5
1a18c85c
MS
541CUPS\-Delete\-Class
542Deletes a printer class.
ef416fc2 543.TP 5
1a18c85c
MS
544CUPS\-Delete\-Printer
545Deletes a printer.
ef416fc2 546.TP 5
1a18c85c
MS
547CUPS\-Get\-Classes
548Gets a list of printer classes.
dcb445bc 549.TP 5
1a18c85c
MS
550CUPS\-Get\-Default
551Gets the server default printer or printer class.
ef416fc2 552.TP 5
1a18c85c
MS
553CUPS\-Get\-Devices
554Gets a list of devices that are currently available.
ef416fc2 555.TP 5
1a18c85c
MS
556CUPS\-Get\-Document
557Gets a document file for a job.
dfd5680b 558.TP 5
1a18c85c
MS
559CUPS\-Get\-PPD
560Gets a PPD file.
bd7854cb 561.TP 5
1a18c85c
MS
562CUPS\-Get\-PPDs
563Gets a list of installed PPD files.
ef416fc2 564.TP 5
1a18c85c
MS
565CUPS\-Get\-Printers
566Gets a list of printers.
01ce6322 567.TP 5
1a18c85c
MS
568CUPS\-Move\-Job
569Moves a job.
ef416fc2 570.TP 5
1a18c85c
MS
571CUPS\-Reject\-Jobs
572Prevents a printer from accepting new jobs.
ef416fc2 573.TP 5
1a18c85c
MS
574CUPS\-Set\-Default
575Sets the server default printer or printer class.
ef416fc2 576.TP 5
1a18c85c
MS
577Cancel\-Job
578Cancels a job.
bd7854cb 579.TP 5
1a18c85c
MS
580Cancel\-Jobs
581Cancels one or more jobs.
ef416fc2 582.TP 5
1a18c85c
MS
583Cancel\-My\-Jobs
584Cancels one or more jobs creates by a user.
bd7854cb 585.TP 5
1a18c85c
MS
586Cancel\-Subscription
587Cancels a subscription.
ef416fc2 588.TP 5
1a18c85c
MS
589Close\-Job
590Closes a job that is waiting for more documents.
ef416fc2 591.TP 5
1a18c85c
MS
592Create\-Job
593Creates a new job with no documents.
0af14961 594.TP 5
1a18c85c
MS
595Create\-Job\-Subscriptions
596Creates a subscription for job events.
ef416fc2 597.TP 5
1a18c85c
MS
598Create\-Printer\-Subscriptions
599Creates a subscription for printer events.
ef416fc2 600.TP 5
1a18c85c
MS
601Get\-Job\-Attributes
602Gets information about a job.
bd7854cb 603.TP 5
1a18c85c
MS
604Get\-Jobs
605Gets a list of jobs.
bd7854cb 606.TP 5
1a18c85c
MS
607Get\-Notifications
608Gets a list of event notifications for a subscription.
ef416fc2 609.TP 5
1a18c85c
MS
610Get\-Printer\-Attributes
611Gets information about a printer or printer class.
ef416fc2 612.TP 5
1a18c85c
MS
613Get\-Subscription\-Attributes
614Gets information about a subscription.
ef416fc2 615.TP 5
1a18c85c
MS
616Get\-Subscriptions
617Gets a list of subscriptions.
ef416fc2 618.TP 5
1a18c85c
MS
619Hold\-Job
620Holds a job from printing.
ef416fc2 621.TP 5
1a18c85c
MS
622Hold\-New\-Jobs
623Holds all new jobs from printing.
88f9aafc 624.TP 5
1a18c85c
MS
625Pause\-Printer
626Stops processing of jobs by a printer or printer class.
e07d4801 627.TP 5
1a18c85c
MS
628Pause\-Printer\-After\-Current\-Job
629Stops processing of jobs by a printer or printer class after the current job is finished.
ef416fc2 630.TP 5
1a18c85c
MS
631Print\-Job
632Creates a new job with a single document.
bd7854cb 633.TP 5
1a18c85c
MS
634Purge\-Jobs
635Cancels one or more jobs and deletes the job history.
bd7854cb 636.TP 5
1a18c85c
MS
637Release\-Held\-New\-Jobs
638Allows previously held jobs to print.
bd7854cb 639.TP 5
1a18c85c
MS
640Release\-Job
641Allows a job to print.
bd7854cb 642.TP 5
1a18c85c
MS
643Renew\-Subscription
644Renews a subscription.
bd7854cb 645.TP 5
1a18c85c
MS
646Restart\-Job
647Reprints a job, if possible.
bd7854cb 648.TP 5
1a18c85c
MS
649Send\-Document
650Adds a document to a job.
ef416fc2 651.TP 5
1a18c85c
MS
652Set\-Job\-Attributes
653Changes job information.
ef416fc2 654.TP 5
1a18c85c
MS
655Set\-Printer\-Attributes
656Changes printer or printer class information.
ef416fc2 657.TP 5
1a18c85c
MS
658Validate\-Job
659Validates options for a new job.
660.SS LOCATION PATHS
661The following paths are commonly used when configuring
662.BR cupsd (8):
b19ccc9e 663.TP 5
1a18c85c
MS
664/
665The path for all get operations (get-printers, get-jobs, etc.)
b19ccc9e 666.TP 5
1a18c85c
MS
667/admin
668The path for all administration operations (add-printer, delete-printer, start-printer, etc.)
ef416fc2 669.TP 5
1a18c85c
MS
670/admin/conf
671The path for access to the CUPS configuration files (cupsd.conf, client.conf, etc.)
a29fd7dd 672.TP 5
1a18c85c
MS
673/admin/log
674The path for access to the CUPS log files (access_log, error_log, page_log)
a29fd7dd 675.TP 5
1a18c85c
MS
676/classes
677The path for all printer classes
10d09e33 678.TP 5
1a18c85c
MS
679/classes/name
680The resource for the named printer class
10d09e33 681.TP 5
1a18c85c
MS
682/jobs
683The path for all jobs (hold-job, release-job, etc.)
10d09e33 684.TP 5
1a18c85c
MS
685/jobs/id
686The path for the specified job.
10d09e33 687.TP 5
1a18c85c
MS
688/printers
689The path for all printers
10d09e33 690.TP 5
1a18c85c
MS
691/printers/name
692The path for the named printer
10d09e33 693.TP 5
1a18c85c
MS
694/printers/name.png
695The icon file path for the named printer
10d09e33 696.TP 5
1a18c85c
MS
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:
ef416fc2 701.TP 5
1a18c85c 702\fBAllow all\fR
229681c1 703.TP 5
1a18c85c
MS
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
715.TP 5
716\fBAllow [\fIipv6-address\fB]\fR
717.TP 5
718\fBAllow [\fIipv6-address\fB]/\fImm\fR
719.TP 5
720\fBAllow @IF(\fIname\fB)\fR
721.TP 5
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.
725.TP 5
726\fBAuthType None\fR
727.TP 5
728\fBAuthType Basic\fR
729.TP 5
730\fBAuthType Default\fR
731.TP 5
732\fBAuthType Negotiate\fR
733Specifies the type of authentication required.
734The value "Default" corresponds to the DefaultAuthType value.
735.TP 5
736\fBDeny all\fR
737.TP 5
738\fBDeny none\fR
739.TP 5
740\fBDeny \fIhost.domain.com\fR
741.TP 5
742\fBDeny *.\fIdomain.com\fR
743.TP 5
744\fBDeny \fIipv4-address\fR
745.TP 5
746\fBDeny \fIipv4-address\fB/\fInetmask\fR
747.TP 5
748\fBDeny \fIipv4-address\fB/\fImm\fR
749.TP 5
750\fBDeny [\fIipv6-address\fB]\fR
751.TP 5
752\fBDeny [\fIipv6-address\fB]/\fImm\fR
753.TP 5
754\fBDeny @IF(\fIname\fB)\fR
755.TP 5
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.
759.TP 5
760\fBEncryption IfRequested\fR
761.TP 5
762\fBEncryption Never\fR
763.TP 5
764\fBEncryption Required\fR
765Specifies the level of encryption that is required for a particular location.
766The default value is "IfRequested".
767.TP 5
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.
770.TP 5
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.
773.TP 5
774\fBRequire group \fIgroup-name \fR[ \fIgroup-name \fR... ]
775Specifies that an authenticated user must be a member of one of the named groups.
776.TP 5
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.
783.TP 5
784\fBRequire valid-user\fR
785Specifies that any authenticated user is acceptable.
786.TP 5
787\fBSatisfy all\fR
788Specifies that all Allow, AuthType, Deny, Order, and Require conditions must be satisfied to allow access.
789.TP 5
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:
795.TP 5
796\fBJobPrivateAccess all\fR
797.TP 5
798\fBJobPrivateAccess default\fR
799.TP 5
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.
808.TP 5
809\fBJobPrivateValues all\fR
810.TP 5
811\fBJobPrivateValues default\fR
812.TP 5
813\fBJobPrivateValues none\fR
814.TP 5
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".
818.TP 5
819\fBSubscriptionPrivateAccess all\fR
820.TP 5
821\fBSubscriptionPrivateAccess default\fR
822.TP 5
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.
831.TP 5
832\fBSubscriptionPrivateValues all\fR
833.TP 5
834\fBSubscriptionPrivateValues default\fR
835.TP 5
836\fBSubscriptionPrivateValues none\fR
837.TP 5
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
1a18c85c
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
00d0ae86 873Copyright \[co] 2007-2015 by Apple Inc.
ef416fc2 874.\"
00d0ae86 875.\" End of "$Id: cupsd.conf.man.in 12769 2015-06-30 16:13:48Z msweet $".
ef416fc2 876.\"