1cupsd.conf(5)                     Apple Inc.                     cupsd.conf(5)
2
3
4

NAME

6       cupsd.conf - server configuration file for cups
7

DESCRIPTION

9       The  cupsd.conf  file  configures  the CUPS scheduler, cupsd(8).  It is
10       normally located in the /etc/cups directory.
11
12       Each line in the file can be a configuration directive, a  blank  line,
13       or  a comment. Comment lines start with the # character. The configura‐
14       tion directives are intentionally similar to those used by the  popular
15       Apache web server software and are described below.
16

DIRECTIVES

18       The  following  directives  are understood by cupsd(8). Consult the on-
19       line help for detailed descriptions:
20
21       AccessLog filename
22
23       AccessLog syslog
24            Defines the access log filename.
25
26       AccessLogLevel config
27
28       AccessLogLevel actions
29
30       AccessLogLevel all
31            Specifies the logging level for the AccessLog file.
32
33       Allow all
34
35       Allow none
36
37       Allow host.domain.com
38
39       Allow *.domain.com
40
41       Allow ip-address
42
43       Allow ip-address/netmask
44
45       Allow ip-address/mm
46
47       Allow @IF(name)
48
49       Allow @LOCAL
50            Allows access from the named hosts or addresses.
51
52       AuthClass User
53
54       AuthClass Group
55
56       AuthClass System
57            Specifies the authentication class (User, Group,  System)  -  this
58            directive is deprecated.
59
60       AuthGroupName group-name
61            Specifies the authentication group - this directive is deprecated.
62
63       AuthType None
64
65       AuthType Basic
66
67       AuthType BasicDigest
68
69       AuthType Digest
70
71       AuthType Negotiate
72            Specifies  the  authentication  type  (None,  Basic,  BasicDigest,
73            Digest, Negotiate)
74
75       AutoPurgeJobs Yes
76
77       AutoPurgeJobs No
78            Specifies whether to purge job history data automatically when  it
79            is no longer required for quotas.
80
81       BrowseAddress ip-address
82
83       BrowseAddress @IF(name)
84
85       BrowseAddress @LOCAL
86            Specifies  a  broadcast  address  for outgoing printer information
87            packets.
88
89       BrowseAllow all
90
91       BrowseAllow none
92
93       BrowseAllow host.domain.com
94
95       BrowseAllow *.domain.com
96
97       BrowseAllow ip-address
98
99       BrowseAllow ip-address/netmask
100
101       BrowseAllow ip-address/mm
102
103       BrowseAllow @IF(name)
104
105       BrowseAllow @LOCAL
106            Allows incoming printer information packets from the named host or
107            address.
108
109       BrowseDeny all
110
111       BrowseDeny none
112
113       BrowseDeny host.domain.com
114
115       BrowseDeny *.domain.com
116
117       BrowseDeny ip-address
118
119       BrowseDeny ip-address/netmask
120
121       BrowseDeny ip-address/mm
122
123       BrowseDeny @IF(name)
124
125       BrowseDeny @LOCAL
126            Denies incoming printer information packets from the named host or
127            address.
128
129       BrowseInterval seconds
130            Specifies the maximum interval between printer information  broad‐
131            casts.
132
133       BrowseLDAPBindDN
134            Specifies the LDAP domain name to use when registering printers.
135
136       BrowseLDAPCACertFile
137            Specifies the SSL certificate authority file to use.
138
139       BrowseLDAPDN
140            Specifies the LDAP domain name to use when discovering printers.
141
142       BrowseLDAPPassword
143            Specifies the password to use when accessing the LDAP server.
144
145       BrowseLDAPServer
146            Specifies the LDAP server to use.
147
148       BrowseOrder allow,deny
149
150       BrowseOrder deny,allow
151            Specifies   the   order  of  printer  information  access  control
152            (allow,deny or deny,allow)
153
154       BrowsePoll host-or-ip-address
155            Specifies a server to poll for printer information.
156
157       BrowsePort port
158            Specifies the port to listen to for printer information packets.
159
160       BrowseProtocols [All] [CUPS] [DNSSD] [LDAP] [SLP]
161            Specifies the protocols to use for printer browsing.
162
163       BrowseLocalProtocols [All] [CUPS] [DNSSD] [LDAP] [SLP]
164            Specifies the protocols to use for local printer browsing.
165
166       BrowseRemoteProtocols [All] [CUPS] [DNSSD] [LDAP] [SLP]
167            Specifies the protocols to use for remote printer browsing.
168
169       BrowseRelay from-address to-address
170            Specifies that printer information packets should be relayed  from
171            one host or network to another.
172
173       BrowseShortNames Yes
174
175       BrowseShortNames No
176            Specifies whether remote printers will use short names ("printer")
177            or not ("printer@server"). This option is ignored if more than one
178            remote printer exists with the same name.
179
180       BrowseTimeout seconds
181            Specifies the maximum interval between printer information updates
182            before remote printers will be removed from the list of  available
183            printers.
184
185       BrowseWebIF Yes
186
187       BrowseWebIF No
188            Specifies whether the CUPS web interface is advertised via DNS-SD.
189
190       Browsing Yes
191
192       Browsing No
193            Specifies  whether  or  not  remote  printer  browsing  should  be
194            enabled.
195
196       Classification banner
197            Specifies the security classification of the server.
198
199       ClassifyOverride Yes
200
201       ClassifyOverride No
202            Specifies whether to allow users to override the classification of
203            individual print jobs.
204
205       ConfigFilePerm mode
206            Specifies  the  permissions  for  all configuration files that the
207            scheduler writes.
208
209       DataDir path
210            Specified the directory where data files can be found.
211
212       DefaultAuthType Basic
213
214       DefaultAuthType BasicDigest
215
216       DefaultAuthType Digest
217
218       DefaultAuthType Negotiate
219            Specifies the default type of authentication to use.
220
221       DefaultEncryption Never
222
223       DefaultEncryption IfRequested
224
225       DefaultEncryption Required
226            Specifies  the  type  of  encryption  to  use  for   authenticated
227            requests.
228
229       DefaultLanguage locale
230            Specifies the default language to use for text and web content.
231
232       DefaultPaperSize Auto
233
234       DefaultPaperSize None
235
236       DefaultPaperSize sizename
237            Specifies the default paper size for new print queues. "Auto" uses
238            a locale- specific default, while "None"  specifies  there  is  no
239            default paper size.
240
241       DefaultPolicy policy-name
242            Specifies the default access policy to use.
243
244       DefaultShared Yes
245
246       DefaultShared No
247            Specifies whether local printers are shared by default.
248
249       Deny all
250
251       Deny none
252
253       Deny host.domain.com
254
255       Deny *.domain.com
256
257       Deny ip-address
258
259       Deny ip-address/netmask
260
261       Deny ip-address/mm
262
263       Deny @IF(name)
264
265       Deny @LOCAL
266            Denies access to the named host or address.
267
268       DirtyCleanInterval seconds
269            Specifies the delay for updating of configuration and state files.
270            A value of 0 causes the update to happen as soon as possible, typ‐
271            ically within a few milliseconds.
272
273       DocumentRoot directory
274            Specifies  the  root  directory  for the internal web server docu‐
275            ments.
276
277       Encryption IfRequested
278
279       Encryption Never
280
281       Encryption Required
282            Specifies the level of encryption that is required for a  particu‐
283            lar location.
284
285       ErrorLog filename
286
287       ErrorLog syslog
288            Specifies the error log filename.
289
290       FatalErrors none
291
292       FatalErrors all -kind [... -kind]
293
294       FatalErrors kind [... kind]
295            Specifies  which  errors are fatal, causing the scheduler to exit.
296            "Kind" is "browse", "config", "listen", "log", or "permissions".
297
298       FileDevice Yes
299
300       FileDevice No
301            Specifies whether the file  pseudo-device  can  be  used  for  new
302            printer queues.
303
304       FilterLimit limit
305            Specifies the maximum cost of filters that are run concurrently.
306
307       FilterNice nice-value
308            Specifies  the  scheduling priority ("nice" value) of filters that
309            are run to print a job.
310
311       FontPath directory[:directory:...]
312            Specifies the search path for fonts.
313
314       Group group-name-or-number
315            Specifies the group name or ID that will be  used  when  executing
316            external programs.
317
318       HideImplicitMembers Yes
319
320       HideImplicitMembers No
321            Specifies whether to hide members of implicit classes.
322
323       HostNameLookups On
324
325       HostNameLookups Off
326
327       HostNameLookups Double
328            Specifies   whether  or  not  to  do  reverse  lookups  on  client
329            addresses.
330
331       ImplicitAnyClasses Yes
332
333       ImplicitAnyClasses No
334            Specifies whether or not to create implicit classes for local  and
335            remote     printers,    e.g.    "AnyPrinter"    from    "Printer",
336            "Printer@server1", and "Printer@server2".
337
338       ImplicitClasses Yes
339
340       ImplicitClasses No
341            Specifies whether or not to create implicit classes from identical
342            remote printers.
343
344       Include filename
345            Includes the named file.
346
347       JobKillDelay seconds
348            Specifies the number of seconds to wait before killing the filters
349            and backend associated with a canceled or held job.
350
351       JobRetryInterval seconds
352            Specifies the interval between retries of jobs in seconds.
353
354       JobRetryLimit count
355            Specifies the number of retries that are done for jobs.
356
357       KeepAlive Yes
358
359       KeepAlive No
360            Specifies whether to support HTTP keep-alive connections.
361
362       KeepAliveTimeout seconds
363            Specifies the amount of time that connections are kept alive.
364
365       <Limit operations> ... </Limit>
366            Specifies the IPP operations that are being limited inside a  pol‐
367            icy.
368
369       <Limit methods> ... </Limit>
370
371       <LimitExcept methods> ... </LimitExcept>
372            Specifies  the  HTTP methods that are being limited inside a loca‐
373            tion.
374
375       LimitRequestBody
376            Specifies the maximum size of any print job request.
377
378       Listen ip-address:port
379
380       Listen *:port
381
382       Listen /path/to/domain/socket
383            Listens to the specified address and port or domain socket path.
384
385       <Location /path> ... </Location>
386            Specifies access control for the named location.
387
388       LogDebugHistory #-messages
389            Specifies the number of debugging messages that are logged when an
390            error occurs in a print job.
391
392       LogFilePerm mode
393            Specifies  the  permissions  for  all log files that the scheduler
394            writes.
395
396       LogLevel alert
397
398       LogLevel crit
399
400       LogLevel debug2
401
402       LogLevel debug
403
404       LogLevel emerg
405
406       LogLevel error
407
408       LogLevel info
409
410       LogLevel none
411
412       LogLevel notice
413
414       LogLevel warn
415            Specifies the logging level for the ErrorLog file.
416
417       LogTimeFormat standard
418
419       LogTimeFormat usecs
420            Specifies the format of the date and time in the log files.
421
422       MaxClients number
423            Specifies the maximum number of simultaneous clients to support.
424
425       MaxClientsPerHost number
426            Specifies the maximum number of simultaneous  clients  to  support
427            from a single address.
428
429       MaxCopies number
430            Specifies  the  maximum  number of copies that a user can print of
431            each job.
432
433       MaxJobs number
434            Specifies the maximum number of simultaneous jobs to support.
435
436       MaxJobsPerPrinter number
437            Specifies the maximum number of simultaneous jobs per  printer  to
438            support.
439
440       MaxJobsPerUser number
441            Specifies the maximum number of simultaneous jobs per user to sup‐
442            port.
443
444       MaxLogSize number-bytes
445            Specifies the maximum size  of  the  log  files  before  they  are
446            rotated (0 to disable rotation)
447
448       MaxRequestSize number-bytes
449            Specifies the maximum request/file size in bytes (0 for no limit)
450
451       MultipleOperationTimeout seconds
452            Specifies  the  maximum amount of time to allow between files in a
453            multiple file print job.
454
455       Order allow,deny
456
457       Order deny,allow
458            Specifies  the  order  of  HTTP  access  control  (allow,deny   or
459            deny,allow)
460
461       PageLog filename
462
463       PageLog syslog
464            Specifies the page log filename.
465
466       PageLogFormat format string
467            Specifies the format of page log lines.
468
469       PassEnv variable [... variable]
470            Passes the specified environment variable(s) to child processes.
471
472       <Policy name> ... </Policy>
473            Specifies access control for the named policy.
474
475       Port number
476            Specifies a port number to listen to for HTTP requests.
477
478       PreserveJobFiles Yes
479
480       PreserveJobFiles No
481            Specifies  whether  or  not  to  preserve job files after they are
482            printed.
483
484       PreserveJobHistory Yes
485
486       PreserveJobHistory No
487            Specifies whether or not to preserve the job  history  after  they
488            are printed.
489
490       Printcap
491
492       Printcap filename
493            Specifies  the  filename for a printcap file that is updated auto‐
494            matically with a list of available  printers  (needed  for  legacy
495            applications);  specifying  Printcap  with  no  filename  disables
496            printcap generation.
497
498       PrintcapFormat bsd
499
500       PrintcapFormat plist
501
502       PrintcapFormat solaris
503            Specifies the format of the printcap file.
504
505       PrintcapGUI
506
507       PrintcapGUI gui-program-filename
508            Specifies whether to generate option  panel  definition  files  on
509            some  operating  systems.  When provided with no program filename,
510            disables option panel definition files.
511
512       ReloadTimeout seconds
513            Specifies the amount of time to wait  for  job  completion  before
514            restarting the scheduler.
515
516       RemoteRoot user-name
517            Specifies  the  username  that  is associated with unauthenticated
518            root accesses.
519
520       RequestRoot directory
521            Specifies the directory to store print jobs and other HTTP request
522            data.
523
524       Require group group-name-list
525
526       Require user user-name-list
527
528       Require valid-user
529            Specifies that user or group authentication is required.
530
531       RIPCache bytes
532            Specifies  the  maximum  amount  of  memory to use when converting
533            images and PostScript files to bitmaps for a printer.
534
535       Satisfy all
536
537       Satisfy any
538            Specifies whether all or any limits set for  a  Location  must  be
539            satisfied to allow access.
540
541       ServerAdmin user@domain.com
542            Specifies the email address of the server administrator.
543
544       ServerAlias hostname
545            Specifies  an alternate name that the server is known by. The spe‐
546            cial name "*" allows any name to be used.
547
548       ServerBin directory
549            Specifies the directory where backends, CGIs, daemons, and filters
550            may be found.
551
552       ServerCertificate filename
553            Specifies the encryption certificate to use.
554
555       ServerKey filename
556            Specifies the encryption key to use.
557
558       ServerName hostname-or-ip-address
559            Specifies the fully-qualified hostname of the server.
560
561       ServerRoot directory
562            Specifies  the  directory where the server configuration files can
563            be found.
564
565       ServerTokens Full
566
567       ServerTokens Major
568
569       ServerTokens Minimal
570
571       ServerTokens Minor
572
573       ServerTokens None
574
575       ServerTokens OS
576
577       ServerTokens ProductOnly
578            Specifies what information is included in  the  Server  header  of
579            HTTP responses.
580
581       SetEnv variable value
582            Set  the specified environment variable to be passed to child pro‐
583            cesses.
584
585       SSLListen
586            Listens on the specified address and port  for  encrypted  connec‐
587            tions.
588
589       SSLOptions None
590
591       SSLOptions NoEmptyFragments
592            Sets SSL/TLS protocol options for encrypted connections.
593
594       SSLPort
595            Listens on the specified port for encrypted connections.
596
597       SystemGroup group-name [group-name ...]
598            Specifies the group(s) to use for System class authentication.
599
600       TempDir directory
601            Specifies the directory where temporary files are stored.
602
603       Timeout seconds
604            Specifies the HTTP request timeout in seconds.
605
606       User user-name
607            Specifies  the  user name or ID that is used when running external
608            programs.
609

SEE ALSO

611       classes.conf(5),   cupsd(8),   mime.convs(5),   mime.types(5),   print‐
612       ers.conf(5), subscriptions.conf(5),
613       http://localhost:631/help
614
616       Copyright 2007-2009 by Apple Inc.
617
618
619
62028 January 2010                      CUPS                        cupsd.conf(5)
Impressum