]> git.ipfire.org Git - thirdparty/cups.git/blame - man/cupsd.conf.man.in
Merge changes from CUPS 1.6svn-r10437.
[thirdparty/cups.git] / man / cupsd.conf.man.in
CommitLineData
ef416fc2 1.\"
b19ccc9e 2.\" "$Id: cupsd.conf.man.in 7935 2008-09-11 01:54:11Z mike $"
ef416fc2 3.\"
321d8d57 4.\" cupsd.conf man page for CUPS.
ef416fc2 5.\"
dcb445bc 6.\" Copyright 2007-2012 by Apple Inc.
bd7854cb 7.\" Copyright 1997-2006 by Easy Software Products.
ef416fc2 8.\"
9.\" These coded instructions, statements, and computer programs are the
bc44d920 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.\"
3e7fe0ca 15.TH cupsd.conf 5 "CUPS" "15 February 2012" "Apple Inc."
ef416fc2 16.SH NAME
17cupsd.conf \- server configuration file for cups
18.SH DESCRIPTION
19The \fIcupsd.conf\fR file configures the CUPS scheduler, \fIcupsd(8)\fR. It
bd7854cb 20is normally located in the \fI@CUPS_SERVERROOT@\fR directory.
ef416fc2 21.LP
22Each line in the file can be a configuration directive, a blank line,
23or a comment. Comment lines start with the # character. The
24configuration directives are intentionally similar to those used by the
25popular Apache web server software and are described below.
26.SH DIRECTIVES
bd7854cb 27The following directives are understood by \fIcupsd(8)\fR. Consult the
28on-line help for detailed descriptions:
ef416fc2 29.TP 5
bd7854cb 30AccessLog filename
31.TP 5
32AccessLog syslog
ef416fc2 33.br
34Defines the access log filename.
35.TP 5
1f0275e3
MS
36AccessLogLevel config
37.TP 5
38AccessLogLevel actions
39.TP 5
40AccessLogLevel all
41.br
42Specifies the logging level for the AccessLog file.
43.TP 5
bd7854cb 44Allow all
45.TP 5
46Allow none
47.TP 5
48Allow host.domain.com
49.TP 5
50Allow *.domain.com
51.TP 5
52Allow ip-address
53.TP 5
54Allow ip-address/netmask
55.TP 5
56Allow ip-address/mm
57.TP 5
58Allow @IF(name)
59.TP 5
60Allow @LOCAL
ef416fc2 61.br
62Allows access from the named hosts or addresses.
63.TP 5
bd7854cb 64AuthClass User
65.TP 5
66AuthClass Group
67.TP 5
68AuthClass System
ef416fc2 69.br
bd7854cb 70Specifies the authentication class (User, Group, System) -
71\fBthis directive is deprecated\fR.
ef416fc2 72.TP 5
bd7854cb 73AuthGroupName group-name
ef416fc2 74.br
bd7854cb 75Specifies the authentication group - \fBthis directive is
76deprecated\fR.
ef416fc2 77.TP 5
bd7854cb 78AuthType None
79.TP 5
80AuthType Basic
81.TP 5
82AuthType BasicDigest
83.TP 5
84AuthType Digest
f7deaa1a 85.TP 5
2e4ff8af 86AuthType Negotiate
ef416fc2 87.br
2e4ff8af 88Specifies the authentication type (None, Basic, BasicDigest, Digest, Negotiate)
ef416fc2 89.TP 5
bd7854cb 90AutoPurgeJobs Yes
91.TP 5
92AutoPurgeJobs No
ef416fc2 93.br
94Specifies whether to purge job history data automatically when
95it is no longer required for quotas.
96.TP 5
a2326b5b 97BrowseLocalProtocols [All] [DNSSD]
749b1e90 98.br
a2326b5b 99Specifies the protocols to use for local printer sharing.
ef416fc2 100.TP 5
b19ccc9e
MS
101BrowseWebIF Yes
102.TP 5
103BrowseWebIF No
104.br
105Specifies whether the CUPS web interface is advertised via DNS-SD.
106.TP 5
bd7854cb 107Browsing Yes
108.TP 5
109Browsing No
ef416fc2 110.br
111Specifies whether or not remote printer browsing should be enabled.
112.TP 5
bd7854cb 113Classification banner
ef416fc2 114.br
115Specifies the security classification of the server.
116.TP 5
bd7854cb 117ClassifyOverride Yes
118.TP 5
119ClassifyOverride No
ef416fc2 120.br
121Specifies whether to allow users to override the classification
122of individual print jobs.
123.TP 5
bd7854cb 124ConfigFilePerm mode
ef416fc2 125.br
126Specifies the permissions for all configuration files that the scheduler
127writes.
128.TP 5
bd7854cb 129DataDir path
ef416fc2 130.br
131Specified the directory where data files can be found.
132.TP 5
bd7854cb 133DefaultAuthType Basic
134.TP 5
135DefaultAuthType BasicDigest
136.TP 5
137DefaultAuthType Digest
f7deaa1a 138.TP 5
2e4ff8af 139DefaultAuthType Negotiate
ef416fc2 140.br
141Specifies the default type of authentication to use.
142.TP 5
8b450588
MS
143DefaultEncryption Never
144.TP 5
145DefaultEncryption IfRequested
146.TP 5
147DefaultEncryption Required
148.br
149Specifies the type of encryption to use for authenticated requests.
150.TP 5
bd7854cb 151DefaultLanguage locale
ef416fc2 152.br
153Specifies the default language to use for text and web content.
154.TP 5
49d87452
MS
155DefaultPaperSize Auto
156.TP 5
157DefaultPaperSize None
158.TP 5
159DefaultPaperSize sizename
160.br
161Specifies the default paper size for new print queues. "Auto" uses a locale-
162specific default, while "None" specifies there is no default paper size.
163.TP 5
bd7854cb 164DefaultPolicy policy-name
ef416fc2 165.br
166Specifies the default access policy to use.
167.TP 5
3d052e43
MS
168DefaultShared Yes
169.TP 5
170DefaultShared No
171.br
172Specifies whether local printers are shared by default.
173.TP 5
bd7854cb 174Deny all
175.TP 5
176Deny none
177.TP 5
178Deny host.domain.com
179.TP 5
180Deny *.domain.com
181.TP 5
182Deny ip-address
183.TP 5
184Deny ip-address/netmask
185.TP 5
186Deny ip-address/mm
187.TP 5
188Deny @IF(name)
189.TP 5
190Deny @LOCAL
ef416fc2 191.br
192Denies access to the named host or address.
193.TP 5
4a4b4f99
MS
194DirtyCleanInterval seconds
195.br
196Specifies the delay for updating of configuration and state files. A value of 0
197causes the update to happen as soon as possible, typically within a few
198milliseconds.
199.TP 5
bd7854cb 200DocumentRoot directory
ef416fc2 201.br
202Specifies the root directory for the internal web server documents.
203.TP 5
bd7854cb 204Encryption IfRequested
205.TP 5
206Encryption Never
207.TP 5
208Encryption Required
ef416fc2 209.br
210Specifies the level of encryption that is required for a particular
211location.
212.TP 5
bd7854cb 213ErrorLog filename
214.TP 5
215ErrorLog syslog
ef416fc2 216.br
217Specifies the error log filename.
218.TP 5
49d87452
MS
219FatalErrors none
220.TP 5
221FatalErrors all -kind [... -kind]
222.TP 5
223FatalErrors kind [... kind]
224.br
225Specifies which errors are fatal, causing the scheduler to exit. "Kind" is
226"browse", "config", "listen", "log", or "permissions".
227.TP 5
bd7854cb 228FileDevice Yes
229.TP 5
230FileDevice No
ef416fc2 231.br
232Specifies whether the file pseudo-device can be used for new
233printer queues.
234.TP 5
bd7854cb 235FilterLimit limit
ef416fc2 236.br
237Specifies the maximum cost of filters that are run concurrently.
238.TP 5
bd7854cb 239FilterNice nice-value
ef416fc2 240.br
241Specifies the scheduling priority ("nice" value) of filters that
242are run to print a job.
243.TP 5
bd7854cb 244FontPath directory[:directory:...]
ef416fc2 245.br
246Specifies the search path for fonts.
247.TP 5
bd7854cb 248Group group-name-or-number
ef416fc2 249.br
250Specifies the group name or ID that will be used when executing
251external programs.
252.TP 5
dcb445bc
MS
253GSSServiceName name
254.br
255Specifies the service name when using Kerberos authentication. The default
256service name is "@CUPS_DEFAULT_GSSSERVICENAME@".
257.TP 5
dd1abb6b 258HostNameLookups On
bd7854cb 259.TP 5
dd1abb6b 260HostNameLookups Off
bd7854cb 261.TP 5
262HostNameLookups Double
ef416fc2 263.br
264Specifies whether or not to do reverse lookups on client addresses.
265.TP 5
bd7854cb 266Include filename
ef416fc2 267.br
268Includes the named file.
269.TP 5
238c3832
MS
270JobKillDelay seconds
271.br
272Specifies the number of seconds to wait before killing the filters and backend
273associated with a canceled or held job.
274.TP 5
10d09e33
MS
275JobPrivateAccess all
276.TP 5
277JobPrivateAccess default
278.TP 5
279JobPrivateAccess {user|@group|@ACL|@OWNER|@SYSTEM}+
280.br
281Specifies an access list for a job's private values. The "default" access list
282is "@OWNER @SYSTEM". "@ACL" maps to the printer's requesting-user-name-allowed
283or requesting-user-name-denied values.
284.TP 5
285JobPrivateValues all
286.TP 5
287JobPrivateValues default
288.TP 5
289JobPrivateValues none
290.TP 5
291JobPrivateValues attribute-name-1 [ ... attribute-name-N ]
292Specifies the list of job values to make private. The "default" values are
293"job-name", "job-originating-host-name", and "job-originating-user-name".
294.TP 5
bd7854cb 295JobRetryInterval seconds
ef416fc2 296.br
297Specifies the interval between retries of jobs in seconds.
298.TP 5
bd7854cb 299JobRetryLimit count
ef416fc2 300.br
301Specifies the number of retries that are done for jobs.
302.TP 5
80ca4592 303KeepAlive Yes
304.TP 5
305KeepAlive No
ef416fc2 306.br
80ca4592 307Specifies whether to support HTTP keep-alive connections.
ef416fc2 308.TP 5
80ca4592 309KeepAliveTimeout seconds
ef416fc2 310.br
80ca4592 311Specifies the amount of time that connections are kept alive.
ef416fc2 312.TP 5
313<Limit operations> ... </Limit>
314.br
315Specifies the IPP operations that are being limited inside a policy.
316.TP 5
317<Limit methods> ... </Limit>
318.TP 5
319<LimitExcept methods> ... </LimitExcept>
320.br
321Specifies the HTTP methods that are being limited inside a location.
322.TP 5
323LimitRequestBody
324.br
325Specifies the maximum size of any print job request.
326.TP 5
bd7854cb 327Listen ip-address:port
328.TP 5
329Listen *:port
ed486911 330.TP 5
331Listen /path/to/domain/socket
ef416fc2 332.br
ed486911 333Listens to the specified address and port or domain socket path.
ef416fc2 334.TP 5
335<Location /path> ... </Location>
336.br
337Specifies access control for the named location.
338.TP 5
178cb736
MS
339LogDebugHistory #-messages
340.br
341Specifies the number of debugging messages that are logged when an error
342occurs in a print job.
343.TP 5
bd7854cb 344LogFilePerm mode
ef416fc2 345.br
346Specifies the permissions for all log files that the scheduler writes.
347.TP 5
bd7854cb 348LogLevel alert
349.TP 5
350LogLevel crit
351.TP 5
352LogLevel debug2
353.TP 5
354LogLevel debug
355.TP 5
356LogLevel emerg
357.TP 5
358LogLevel error
359.TP 5
360LogLevel info
361.TP 5
362LogLevel none
363.TP 5
364LogLevel notice
365.TP 5
366LogLevel warn
ef416fc2 367.br
bd7854cb 368Specifies the logging level for the ErrorLog file.
ef416fc2 369.TP 5
dfd5680b
MS
370LogTimeFormat standard
371.TP 5
372LogTimeFormat usecs
373.br
374Specifies the format of the date and time in the log files.
375.TP 5
bd7854cb 376MaxClients number
ef416fc2 377.br
378Specifies the maximum number of simultaneous clients to support.
379.TP 5
bd7854cb 380MaxClientsPerHost number
ef416fc2 381.br
382Specifies the maximum number of simultaneous clients to support from a
383single address.
384.TP 5
bd7854cb 385MaxCopies number
ef416fc2 386.br
387Specifies the maximum number of copies that a user can print of each job.
388.TP 5
3e7fe0ca
MS
389MaxHoldTime seconds
390.br
391Specifies the maximum time a job may remain in the "indefinite" hold state
392before it is canceled. Set to 0 to disable cancellation of held jobs.
393.TP 5
bd7854cb 394MaxJobs number
ef416fc2 395.br
396Specifies the maximum number of simultaneous jobs to support.
397.TP 5
bd7854cb 398MaxJobsPerPrinter number
ef416fc2 399.br
400Specifies the maximum number of simultaneous jobs per printer to support.
401.TP 5
bd7854cb 402MaxJobsPerUser number
ef416fc2 403.br
404Specifies the maximum number of simultaneous jobs per user to support.
405.TP 5
dcb445bc
MS
406MaxJobTime seconds
407.br
408Specifies the maximum time a job may take to print before it is canceled. The
409default is 10800 seconds (3 hours). Set to 0 to disable cancellation of "stuck"
410jobs.
411.TP 5
bd7854cb 412MaxLogSize number-bytes
ef416fc2 413.br
414Specifies the maximum size of the log files before they are
415rotated (0 to disable rotation)
416.TP 5
bd7854cb 417MaxRequestSize number-bytes
ef416fc2 418.br
419Specifies the maximum request/file size in bytes (0 for no limit)
420.TP 5
dfd5680b
MS
421MultipleOperationTimeout seconds
422.br
423Specifies the maximum amount of time to allow between files in a multiple file
424print job.
425.TP 5
bd7854cb 426Order allow,deny
427.TP 5
428Order deny,allow
ef416fc2 429.br
430Specifies the order of HTTP access control (allow,deny or deny,allow)
431.TP 5
bd7854cb 432PageLog filename
433.TP 5
434PageLog syslog
ef416fc2 435.br
436Specifies the page log filename.
437.TP 5
01ce6322
MS
438PageLogFormat format string
439.br
440Specifies the format of page log lines.
441.TP 5
ef416fc2 442PassEnv variable [... variable]
443.br
444Passes the specified environment variable(s) to child processes.
445.TP 5
446<Policy name> ... </Policy>
447.br
448Specifies access control for the named policy.
449.TP 5
bd7854cb 450Port number
ef416fc2 451.br
452Specifies a port number to listen to for HTTP requests.
453.TP 5
bd7854cb 454PreserveJobFiles Yes
455.TP 5
456PreserveJobFiles No
ef416fc2 457.br
458Specifies whether or not to preserve job files after they are printed.
459.TP 5
bd7854cb 460PreserveJobHistory Yes
461.TP 5
462PreserveJobHistory No
ef416fc2 463.br
464Specifies whether or not to preserve the job history after they are
465printed.
466.TP 5
467Printcap
bd7854cb 468.TP 5
469Printcap filename
ef416fc2 470.br
bd7854cb 471Specifies the filename for a printcap file that is updated
472automatically with a list of available printers (needed for
473legacy applications); specifying Printcap with no filename
474disables printcap generation.
475.TP 5
476PrintcapFormat bsd
ef416fc2 477.TP 5
0af14961
MS
478PrintcapFormat plist
479.TP 5
bd7854cb 480PrintcapFormat solaris
ef416fc2 481.br
482Specifies the format of the printcap file.
483.TP 5
484PrintcapGUI
bd7854cb 485.TP 5
486PrintcapGUI gui-program-filename
ef416fc2 487.br
bd7854cb 488Specifies whether to generate option panel definition files on
489some operating systems. When provided with no program filename,
490disables option panel definition files.
ef416fc2 491.TP 5
bd7854cb 492ReloadTimeout seconds
ef416fc2 493.br
494Specifies the amount of time to wait for job completion before
495restarting the scheduler.
496.TP 5
bd7854cb 497RemoteRoot user-name
ef416fc2 498.br
499Specifies the username that is associated with unauthenticated root
500accesses.
501.TP 5
bd7854cb 502RequestRoot directory
ef416fc2 503.br
504Specifies the directory to store print jobs and other HTTP request
505data.
506.TP 5
bd7854cb 507Require group group-name-list
508.TP 5
509Require user user-name-list
510.TP 5
511Require valid-user
ef416fc2 512.br
513Specifies that user or group authentication is required.
514.TP 5
bd7854cb 515RIPCache bytes
ef416fc2 516.br
517Specifies the maximum amount of memory to use when converting images
518and PostScript files to bitmaps for a printer.
519.TP 5
bd7854cb 520Satisfy all
ef416fc2 521.TP 5
bd7854cb 522Satisfy any
ef416fc2 523.br
524Specifies whether all or any limits set for a Location must be
525satisfied to allow access.
526.TP 5
bd7854cb 527ServerAdmin user@domain.com
ef416fc2 528.br
529Specifies the email address of the server administrator.
530.TP 5
88f9aafc
MS
531ServerAlias hostname [... hostname]
532.TP 5
533ServerAlias *
e07d4801
MS
534.br
535Specifies an alternate name that the server is known by. The special name "*"
536allows any name to be used.
537.TP 5
bd7854cb 538ServerBin directory
ef416fc2 539.br
540Specifies the directory where backends, CGIs, daemons, and filters may
541be found.
542.TP 5
bd7854cb 543ServerCertificate filename
ef416fc2 544.br
545Specifies the encryption certificate to use.
546.TP 5
bd7854cb 547ServerKey filename
ef416fc2 548.br
549Specifies the encryption key to use.
550.TP 5
bd7854cb 551ServerName hostname-or-ip-address
ef416fc2 552.br
553Specifies the fully-qualified hostname of the server.
554.TP 5
bd7854cb 555ServerRoot directory
ef416fc2 556.br
557Specifies the directory where the server configuration files can be found.
558.TP 5
bd7854cb 559ServerTokens Full
560.TP 5
561ServerTokens Major
562.TP 5
563ServerTokens Minimal
564.TP 5
565ServerTokens Minor
566.TP 5
567ServerTokens None
568.TP 5
569ServerTokens OS
570.TP 5
571ServerTokens ProductOnly
ef416fc2 572.br
573Specifies what information is included in the Server header of HTTP
574responses.
575.TP 5
576SetEnv variable value
577.br
578Set the specified environment variable to be passed to child processes.
579.TP 5
580SSLListen
581.br
582Listens on the specified address and port for encrypted connections.
583.TP 5
b19ccc9e
MS
584SSLOptions None
585.TP 5
586SSLOptions NoEmptyFragments
587.br
588Sets SSL/TLS protocol options for encrypted connections.
589.TP 5
ef416fc2 590SSLPort
591.br
592Listens on the specified port for encrypted connections.
593.TP 5
10d09e33
MS
594SubscriptionPrivateAccess all
595.TP 5
596SubscriptionPrivateAccess default
597.TP 5
598SubscriptionPrivateAccess {user|@group|@ACL|@OWNER|@SYSTEM}+
599.br
600Specifies an access list for a subscription's private values. The "default"
601access list is "@OWNER @SYSTEM". "@ACL" maps to the printer's
602requesting-user-name-allowed or requesting-user-name-denied values.
603.TP 5
604SubscriptionPrivateValues all
605.TP 5
606SubscriptionPrivateValues default
607.TP 5
608SubscriptionPrivateValues none
609.TP 5
610SubscriptionPrivateValues attribute-name-1 [ ... attribute-name-N ]
611Specifies the list of job values to make private. The "default" values are
612"notify-events", "notify-pull-method", "notify-recipient-uri",
613"notify-subscriber-user-name", and "notify-user-data".
614.TP 5
bd7854cb 615SystemGroup group-name [group-name ...]
ef416fc2 616.br
bd7854cb 617Specifies the group(s) to use for System class authentication.
ef416fc2 618.TP 5
bd7854cb 619TempDir directory
ef416fc2 620.br
621Specifies the directory where temporary files are stored.
622.TP 5
bd7854cb 623Timeout seconds
ef416fc2 624.br
625Specifies the HTTP request timeout in seconds.
626.TP 5
bd7854cb 627User user-name
ef416fc2 628.br
629Specifies the user name or ID that is used when running external programs.
229681c1
MS
630.TP 5
631WebInterface yes
632.TP 5
633WebInterface no
634Specifies whether the web interface is enabled.
ef416fc2 635.SH SEE ALSO
bd7854cb 636\fIclasses.conf(5)\fR, \fIcupsd(8)\fR, \fImime.convs(5)\fR,
637\fImime.types(5)\fR, \fIprinters.conf(5)\fR,
638\fIsubscriptions.conf(5)\fR,
639.br
640http://localhost:631/help
ef416fc2 641.SH COPYRIGHT
3e7fe0ca 642Copyright 2007-2012 by Apple Inc.
ef416fc2 643.\"
b19ccc9e 644.\" End of "$Id: cupsd.conf.man.in 7935 2008-09-11 01:54:11Z mike $".
ef416fc2 645.\"