2 <!-- SECTION: References -->
4 <TITLE>cupsd.conf
</TITLE>
5 <LINK REL=
"STYLESHEET" TYPE=
"text/css" HREF=
"../cups-printable.css">
9 <H1 CLASS=
"title">cupsd.conf
</H1>
11 <P>The
<VAR>/etc/cups/cupsd.conf
</VAR> file contains
12 configuration
<I>directives
</I> that control how the server
13 functions. Each directive is listed on a line by itself followed
14 by its value. Comments are introduced using the number sign (
"#")
15 character at the beginning of a line.
</P>
17 <P>Since the server configuration file consists of plain text,
18 you can use your favorite text editor to make changes to it.
19 After making any changes, restart the
<CODE>cupsd(
8)
</CODE>
20 process using the startup script for your operating system:
</P>
24 <LI>AIX, IRIX, Linux, Solaris:
26 /etc/init.d/cups restart
31 /sbin/init.d/cups restart
36 sudo launchctl unload /System/Library/LaunchDaemons/org.cups.cupsd.plist
37 sudo launchctl load /System/Library/LaunchDaemons/org.cups.cupsd.plist
42 <P>You can also edit this file from the CUPS web interface, which
43 automatically handles restarting the scheduler.
</P>
46 <H2 CLASS=
"title"><A NAME=
"AccessLog">AccessLog
</A></H2>
51 AccessLog /var/log/cups/access_log
52 AccessLog /var/log/cups/access_log-%s
58 <P>The
<CODE>AccessLog
</CODE> directive sets the name of the
59 access log file. If the filename is not absolute then it is
60 assumed to be relative to the
<A
61 HREF=
"#ServerRoot"><CODE>ServerRoot
</CODE></A> directory. The
62 access log file is stored in
"common log format" and can be used
63 by any web access reporting tool to generate a report on CUPS
66 <P>The server name can be included in the filename by using
67 <CODE>%s
</CODE> in the name.
</P>
69 <P>The special name
"syslog" can be used to send the access
70 information to the system log instead of a plain file.
</P>
72 <P>The default access log file is
73 <VAR>@CUPS_LOGDIR@/access_log
</VAR>.
</P>
76 <H2 CLASS=
"title"><A NAME=
"AccessLogLevel">AccessLogLevel
</A></H2>
82 AccessLogLevel actions
88 <P>The
<CODE>AccessLogLevel
</CODE> directive controls which requests are logged
89 to the access log file. The following levels are defined:
</P>
93 <LI><CODE>config
</CODE>; Log when printers and classes are added,
94 deleted, or modified and when configuration files are accessed or
97 <LI><CODE>actions
</CODE>; Log when print jobs are submitted,
98 held, released, modified, or canceled, and any of the conditions
99 for
<CODE>config
</CODE>.
</LI>
101 <LI><CODE>all
</CODE>; Log all requests.
</LI>
105 <P>The default access log level is
<CODE>@CUPS_ACCESS_LOG_LEVEL@
</CODE>.
</P>
108 <H2 CLASS=
"title"><A NAME=
"Allow">Allow
</A></H2>
112 <PRE CLASS=
"command">
113 <Location /path
>
117 Allow from *.domain.com
118 Allow from .domain.com
119 Allow from host.domain.com
122 Allow from nnn.nnn.nnn.*
123 Allow from nnn.nnn.nnn.nnn
124 Allow from nnn.nnn.nnn.nnn/mm
125 Allow from nnn.nnn.nnn.nnn/mmm.mmm.mmm.mmm
126 Allow from [xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx]
127 Allow from [xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx]/mmm
135 <P>The
<CODE>Allow
</CODE> directive specifies a hostname, IP
136 address, or network that is allowed access to the server.
137 <CODE>Allow
</CODE> directives are cummulative, so multiple
138 <CODE>Allow
</CODE> directives can be used to allow access for
139 multiple hosts or networks.
</P>
141 <P>Host and domain name matching require that you enable the
<A
142 HREF=
"#HostNameLookups"><CODE>HostNameLookups
</CODE></A>
145 <P>The
<CODE>/mm
</CODE> notation specifies a CIDR netmask, as shown in
146 <A HREF=
"#TABLE1">Table
1</A>.
</P>
148 <DIV CLASS=
"table"><TABLE SUMMARY=
"CIDR Netmasks">
149 <CAPTION>Table
1:
<A NAME=
"TABLE1">CIDR Netmasks
</A></CAPTION>
151 <TH WIDTH=
"10%">mm
</TH>
152 <TH WIDTH=
"20%">netmask
</TH>
153 <TH WIDTH=
"10%">mm
</TH>
154 <TH WIDTH=
"20%">netmask
</TH>
157 <TD ALIGN=
"CENTER">0</TD>
158 <TD ALIGN=
"CENTER">0.0.0.0</TD>
159 <TD ALIGN=
"CENTER">8</TD>
160 <TD ALIGN=
"CENTER">255.0.0.0</TD>
163 <TD ALIGN=
"CENTER">1</TD>
164 <TD ALIGN=
"CENTER">128.0.0.0</TD>
165 <TD ALIGN=
"CENTER">16</TD>
166 <TD ALIGN=
"CENTER">255.255.0.0</TD>
169 <TD ALIGN=
"CENTER">2</TD>
170 <TD ALIGN=
"CENTER">192.0.0.0</TD>
171 <TD ALIGN=
"CENTER">24</TD>
172 <TD ALIGN=
"CENTER">255.255.255.0</TD>
175 <TD ALIGN=
"CENTER">...
</TD>
176 <TD ALIGN=
"CENTER">...
</TD>
177 <TD ALIGN=
"CENTER">32</TD>
178 <TD ALIGN=
"CENTER">255.255.255.255</TD>
182 <P>The
<CODE>@LOCAL
</CODE> name will allow access from all local
183 interfaces. The
<CODE>@IF(name)
</CODE> name will allow access
184 from the named interface. In both cases, CUPS only allows access
185 from the network that the interface(s) are configured for -
186 requests arriving on the interface from a foreign network will
187 <em>not
</em> be accepted.
</P>
189 <P>The
<CODE>Allow
</CODE> directive must appear inside a
<A
190 HREF=
"#Location"><CODE>Location
</CODE></A> or
<A
191 HREF=
"#Limit"><CODE>Limit
</CODE></A> section.
</P>
194 <H2 CLASS=
"title"><SPAN CLASS=
"info">Deprecated
</SPAN><A NAME=
"AuthClass">AuthClass
</A></H2>
198 <PRE CLASS=
"command">
199 <Location /path
>
210 <P>The
<CODE>AuthClass
</CODE> directive defines what level of
211 authentication is required:
</P>
215 <LI><CODE>Anonymous
</CODE> - No authentication should be
216 performed (default)
</LI>
218 <LI><CODE>User
</CODE> - A valid username and password is
221 <LI><CODE>System
</CODE> - A valid username and password
222 is required, and the username must belong to the
"sys"
223 group; this can be changed using the
<A
224 HREF=
"#SystemGroup"><CODE>SystemGroup
</CODE></A>
227 <LI><CODE>Group
</CODE> - A valid username and password is
228 required, and the username must belong to the group named
230 HREF=
"#AuthGroupName"><CODE>AuthGroupName
</CODE></A>
235 <P>The
<CODE>AuthClass
</CODE> directive must appear inside a
<A
236 HREF=
"#Location"><CODE>Location
</CODE></A> or
<A
237 HREF=
"#Limit"><CODE>Limit
</CODE></A> section.
</P>
239 <P><B>This directive is deprecated and will be removed from a
240 future release of CUPS.
</B> Consider using the more flexible
<A
241 HREF=
"#Require"><CODE>Require
</CODE></A> directive instead.
</P>
244 <H2 CLASS=
"title"><SPAN CLASS=
"info">Deprecated
</SPAN><A NAME=
"AuthGroupName">AuthGroupName
</A></H2>
248 <PRE CLASS=
"command">
249 <Location /path
>
251 AuthGroupName mygroup
258 <P>The
<CODE>AuthGroupName
</CODE> directive sets the group to use
259 for
<CODE>Group
</CODE> authentication.
</P>
261 <P>The
<CODE>AuthGroupName
</CODE> directive must appear inside a
262 <A HREF=
"#Location"><CODE>Location
</CODE></A> or
<A
263 HREF=
"#Limit"><CODE>Limit
</CODE></A> section.
</P>
265 <P><B>This directive is deprecated and will be removed from a
266 future release of CUPS.
</B> Consider using the more flexible
<A
267 HREF=
"#Require"><CODE>Require
</CODE></A> directive instead.
</P>
270 <H2 CLASS=
"title"><A NAME=
"AuthType">AuthType
</A></H2>
274 <PRE CLASS=
"command">
275 <Location /path
>
287 <P>The
<CODE>AuthType
</CODE> directive defines the type of
288 authentication to perform:
</P>
292 <LI><CODE>None
</CODE> - No authentication should be
293 performed (default)
</LI>
295 <LI><CODE>Basic
</CODE> - Basic authentication should be
296 performed using the UNIX password and group files
</LI>
298 <LI><CODE>Digest
</CODE> - Digest authentication should be
299 performed using the
<VAR>/etc/cups/passwd.md5
</VAR>
302 <LI><CODE>BasicDigest
</CODE> - Basic authentication
303 should be performed using the
304 <VAR>/etc/cups/passwd.md5
</VAR> file
</LI>
306 <LI><CODE>Negotiate
</CODE> - Kerberos authentication
307 should be performed
</LI>
311 <P>When using
<CODE>Basic
</CODE>,
<CODE>Digest
</CODE>,
312 <CODE>BasicDigest
</CODE>, or
<CODE>Negotiate
</CODE> authentication,
313 clients connecting through the
<CODE>localhost
</CODE> interface can
314 also authenticate using certificates.
</P>
316 <P>The
<CODE>AuthType
</CODE> directive must appear inside a
<A
317 HREF=
"#Location"><CODE>Location
</CODE></A> or
<A
318 HREF=
"#Limit"><CODE>Limit
</CODE></A> section.
</P>
321 <H2 CLASS=
"title"><A NAME=
"AutoPurgeJobs">AutoPurgeJobs
</A></H2>
325 <PRE CLASS=
"command">
332 <P>The
<CODE>AutoPurgeJobs
</CODE> directive specifies whether or
333 not to purge completed jobs once they are no longer required for
334 quotas. This option has no effect if quotas are not enabled. The
335 default setting is
<CODE>No
</CODE>.
</P>
338 <H2 CLASS=
"title"><A NAME=
"BrowseAddress">BrowseAddress
</A></H2>
342 <PRE CLASS=
"command">
343 BrowseAddress
255.255.255.255:
631
344 BrowseAddress
192.0.2.255:
631
345 BrowseAddress host.domain.com:
631
347 BrowseAddress @IF(name)
352 <P>The
<CODE>BrowseAddress
</CODE> directive specifies an address
353 to send browsing information to. Multiple
354 <CODE>BrowseAddress
</CODE> directives can be specified to send
355 browsing information to different networks or systems.
</P>
357 <P>The
<CODE>@LOCAL
</CODE> name will broadcast printer
358 information to all local interfaces. The
<CODE>@IF(name)
</CODE>
359 name will broadcast to the named interface.
</P>
361 <P>There is no default browse address.
</P>
363 <BLOCKQUOTE><B>Note:
</B>
365 <P>If you are using HP-UX
10.20 and a subnet that is not
24,
366 16, or
8 bits, printer browsing (and in fact all broadcast
367 reception) will not work. This problem appears to be fixed in
373 <H2 CLASS=
"title"><A NAME=
"BrowseAllow">BrowseAllow
</A></H2>
377 <PRE CLASS=
"command">
379 BrowseAllow from none
380 BrowseAllow from
192.0.2
381 BrowseAllow from
192.0.2.0/
24
382 BrowseAllow from
192.0.2.0/
255.255.255.0
383 BrowseAllow from *.domain.com
384 BrowseAllow from @LOCAL
385 BrowseAllow from @IF(name)
390 <P>The
<CODE>BrowseAllow
</CODE> directive specifies a system or
391 network to accept browse packets from. The default is to accept
392 browse packets from all hosts.
</P>
394 <P>Host and domain name matching require that you enable the
<A
395 HREF=
"#HostNameLookups"><CODE>HostNameLookups
</CODE></A>
398 <P>IP address matching supports exact matches, partial addresses that match
399 networks using netmasks of
255.0.0.0,
255.255.0.0, and
255.255.255.0, or network
400 addresses using the specified netmask or bit count. The
<CODE>/mm
</CODE>
401 notation specifies a CIDR netmask, a shown in
<A HREF=
"TABLE1">Table
1</A>.
</P>
403 <P>The
<CODE>@LOCAL
</CODE> name will allow browse data from all
404 local interfaces. The
<CODE>@IF(name)
</CODE> name will allow
405 browse data from the named interface. In both cases, CUPS only
406 allows data from the network that the interface(s) are configured
407 for - data arriving on the interface from a foreign network will
408 <em>not
</em> be allowed.
</P>
411 <H2 CLASS=
"title"><A NAME=
"BrowseDeny">BrowseDeny
</A></H2>
415 <PRE CLASS=
"command">
418 BrowseDeny from
192.0.2
419 BrowseDeny from
192.0.2.0/
24
420 BrowseDeny from
192.0.2.0/
255.255.255.0
421 BrowseDeny from *.domain.com
422 BrowseDeny from @LOCAL
423 BrowseDeny from @IF(name)
428 <P>The
<CODE>BrowseDeny
</CODE> directive specifies a system or
429 network to reject browse packets from. The default is to not deny
430 browse packets from any hosts.
</P>
432 <P>Host and domain name matching require that you enable the
<A
433 HREF=
"#HostNameLookups"><CODE>HostNameLookups
</CODE></A>
436 <P>IP address matching supports exact matches, partial addresses that match
437 networks using netmasks of
255.0.0.0,
255.255.0.0, and
255.255.255.0, or network
438 addresses using the specified netmask or bit count. The
<CODE>/mm
</CODE>
439 notation specifies a CIDR netmask, a shown in
<A HREF=
"TABLE1">Table
1</A>.
</P>
441 <P>The
<CODE>@LOCAL
</CODE> name will block browse data from all
442 local interfaces. The
<CODE>@IF(name)
</CODE> name will block
443 browse data from the named interface. In both cases, CUPS only
444 blocks data from the network that the interface(s) are configured
445 for - data arriving on the interface from a foreign network will
446 <em>not
</em> be blocked.
</P>
449 <H2 CLASS=
"title"><A NAME=
"BrowseInterval">BrowseInterval
</A></H2>
453 <PRE CLASS=
"command">
460 <P>The
<CODE>BrowseInterval
</CODE> directive specifies the
461 maximum amount of time between browsing updates. Specifying a
462 value of
0 seconds disables outgoing browse updates but allows a
463 server to receive printer information from other hosts.
</P>
465 <P>The
<CODE>BrowseInterval
</CODE> value should always be less
466 than the
<A HREF=
"#BrowseTimeout"><CODE>BrowseTimeout
</CODE></A>
467 value. Otherwise printers and classes will disappear from client
468 systems between updates.
</P>
471 <H2 CLASS=
"title"><SPAN CLASS=
"info">CUPS
1.2/Mac OS X
10.5</SPAN><A NAME=
"BrowseLDAPBindDN">BrowseLDAPBindDN
</A></H2>
475 <PRE CLASS=
"command">
481 <P>The
<CODE>BrowseLDAPBindDN
</CODE> directive specifies the LDAP
482 domain name to use when listening for printer registrations. The
483 default is undefined.
</P>
486 <H2 CLASS=
"title"><SPAN CLASS=
"info">CUPS
1.4/Mac OS X
10.6</SPAN><A NAME=
"BrowseLDAPCACertFile">BrowseLDAPCACertFile
</A></H2>
490 <PRE CLASS=
"command">
491 BrowseLDAPCACertFile /etc/cups/ssl/certs
496 <P>The
<CODE>BrowseLDAPCACertFile
</CODE> directive specifies the SSL certificate
497 authority file to use for LDAP + SSL. The default is undefined.
</P>
500 <H2 CLASS=
"title"><SPAN CLASS=
"info">CUPS
1.2/Mac OS X
10.5</SPAN><A NAME=
"BrowseLDAPDN">BrowseLDAPDN
</A></H2>
504 <PRE CLASS=
"command">
510 <P>The
<CODE>BrowseLDAPDN
</CODE> directive specifies the LDAP
511 domain name to use when registering local shared printers. The
512 default is undefined.
</P>
515 <H2 CLASS=
"title"><SPAN CLASS=
"info">CUPS
1.2/Mac OS X
10.5</SPAN><A NAME=
"BrowseLDAPPassword">BrowseLDAPPassword
</A></H2>
519 <PRE CLASS=
"command">
520 BrowseLDAPPassword foo123
525 <P>The
<CODE>BrowseLDAPPassword
</CODE> directive specifies the
526 access password to use when connecting to the LDAP server. The
527 default is undefined.
</P>
530 <H2 CLASS=
"title"><SPAN CLASS=
"info">CUPS
1.2/Mac OS X
10.5</SPAN><A NAME=
"BrowseLDAPServer">BrowseLDAPServer
</A></H2>
534 <PRE CLASS=
"command">
535 BrowseLDAPServer localhost
540 <P>The
<CODE>BrowseLDAPServer
</CODE> directive specifies the name
541 of the LDAP server to connect to. The default is undefined.
</P>
544 <H2 CLASS=
"title"><A NAME=
"BrowseLocalOptions">BrowseLocalOptions
</A></H2>
548 <PRE CLASS=
"command">
549 BrowseLocalOptions compression=yes
550 BrowseLocalOptions encryption=required
551 BrowseLocalOptions compression=yes
&encryption=required
556 <P>The
<CODE>BrowseLocalOptions
</CODE> directive specifies
557 additional IPP backend options to advertise with local shared
558 printers. The default is to not include any options.
</P>
561 <H2 CLASS=
"title"><SPAN CLASS=
"info">CUPS
1.2/Mac OS X
10.5</SPAN><A NAME=
"BrowseLocalProtocols">BrowseLocalProtocols
</A></H2>
565 <PRE CLASS=
"command">
566 BrowseLocalProtocols all
567 BrowseLocalProtocols none
568 BrowseLocalProtocols cups
569 BrowseLocalProtocols dnssd
570 BrowseLocalProtocols ldap
571 BrowseLocalProtocols lpd
572 BrowseLocalProtocols slp
573 BrowseLocalProtocols smb
574 BrowseLocalProtocols cups dnssd
579 <P>The
<CODE>BrowseLocalProtocols
</CODE> directive specifies the
580 protocols to use when advertising local shared printers on the
581 network. Multiple protocols can be specified by separating them
582 with spaces. The default is
"<CODE>@CUPS_BROWSE_LOCAL_PROTOCOLS@</CODE>".
</P>
585 <H2 CLASS=
"title"><A NAME=
"BrowseOrder">BrowseOrder
</A></H2>
589 <PRE CLASS=
"command">
590 BrowseOrder allow,deny
591 BrowseOrder deny,allow
596 <P>The
<CODE>BrowseOrder
</CODE> directive specifies the order of
597 allow/deny processing. The default order is
598 <CODE>deny,allow
</CODE>:
</P>
602 <LI><CODE>allow,deny
</CODE> - Deny browse packets by
603 default, then check
<CODE>BrowseAllow
</CODE> lines
604 followed by
<CODE>BrowseDeny
</CODE> lines.
</LI>
606 <LI><CODE>deny,allow
</CODE> - Allow browse packets by
607 default, then check
<CODE>BrowseDeny
</CODE> lines
608 followed by
<CODE>BrowseAllow
</CODE> lines.
</LI>
613 <H2 CLASS=
"title"><A NAME=
"BrowsePoll">BrowsePoll
</A></H2>
617 <PRE CLASS=
"command">
618 BrowsePoll
192.0.2.2:
631
619 BrowsePoll host.domain.com:
631
624 <P>The
<CODE>BrowsePoll
</CODE> directive polls a server for
625 available printers once every
<A
626 HREF=
"#BrowseInterval"><CODE>BrowseInterval
</CODE></A> seconds.
627 Multiple
<CODE>BrowsePoll
</CODE> directives can be specified to
628 poll multiple servers.
</P>
630 <P>If
<CODE>BrowseInterval
</CODE> is set to
0 then the server is
631 polled once every
30 seconds.
</P>
634 <H2 CLASS=
"title"><A NAME=
"BrowsePort">BrowsePort
</A></H2>
638 <PRE CLASS=
"command">
645 <P>The
<CODE>BrowsePort
</CODE> directive specifies the UDP port number
646 used for browse packets. The default port number is
631.
</P>
648 <BLOCKQUOTE><B>Note:
</B>
650 <P>You must set the
<CODE>BrowsePort
</CODE> to the same value
651 on all of the systems that you want to see.
656 <H2 CLASS=
"title"><SPAN CLASS=
"info">CUPS
1.1.10</SPAN><A NAME=
"BrowseProtocols">BrowseProtocols
</A></H2>
660 <PRE CLASS=
"command">
664 BrowseProtocols dnssd
669 BrowseProtocols cups dnssd
674 <P>The
<CODE>BrowseProtocols
</CODE> directive specifies the
675 protocols to use when showing and advertising shared printers on
676 the local network. Multiple protocols can be specified by
677 separating them with spaces. The default protocol is
678 "<CODE>@CUPS_BROWSE_LOCAL_PROTOCOLS@</CODE>" for
679 <A HREF=
"#BrowseLocalProtocols"><CODE>BrowseLocalProtocols
</CODE></A> and
680 "<CODE>@CUPS_BROWSE_REMOTE_PROTOCOLS@</CODE>" for
681 <A HREF=
"#BrowseRemoteProtocols"><CODE>BrowseRemoteProtocols
</CODE></A>.
</P>
683 <BLOCKQUOTE><B>Note:
</B>
685 <P>When using the
<CODE>SLP
</CODE> protocol, you must have at least
686 one Directory Agent (DA) server on your network. Otherwise the
687 CUPS scheduler (
<CODE>cupsd
</CODE>) will not respond to client
688 requests for several seconds while polling the network.
</P>
693 <H2 CLASS=
"title"><A NAME=
"BrowseRelay">BrowseRelay
</A></H2>
697 <PRE CLASS=
"command">
698 BrowseRelay
193.0.2.1 192.0.2.255
699 BrowseRelay
193.0.2.0/
255.255.255.0 192.0.2.255
700 BrowseRelay
193.0.2.0/
24 192.0.2.255
701 BrowseRelay *.domain.com
192.0.2.255
702 BrowseRelay host.domain.com
192.0.2.255
707 <P>The
<CODE>BrowseRelay
</CODE> directive specifies source and
708 destination addresses for relaying browsing information from one
709 host or network to another. Multiple
<CODE>BrowseRelay
</CODE>
710 directives can be specified as needed.
</P>
712 <P><CODE>BrowseRelay
</CODE> is typically used on systems that
713 bridge multiple subnets using one or more network interfaces. It
714 can also be used to relay printer information from polled servers
717 <PRE CLASS=
"command">
718 BrowseRelay
127.0.0.1 192.0.2.255
721 <P>This effectively provides access to printers on a WAN for all
722 clients on the LAN. Use multiple
<CODE>BrowseRelay
</CODE> lines to
723 relay information to multiple subnets.
</P>
726 <H2 CLASS=
"title"><A NAME=
"BrowseRemoteOptions">BrowseRemoteOptions
</A></H2>
730 <PRE CLASS=
"command">
731 BrowseRemoteOptions compression=yes
732 BrowseRemoteOptions encryption=required
733 BrowseRemoteOptions ?compression=yes
&encryption=required
738 <P>The
<CODE>BrowseRemoteOptions
</CODE> directive specifies
739 additional IPP backend options to include with remote shared
740 printers. If the options string begins with a question mark (?),
741 the options replace any options specified by the remote server.
742 The default is to not include any options.
</P>
745 <H2 CLASS=
"title"><SPAN CLASS=
"info">CUPS
1.2/Mac OS X
10.5</SPAN><A NAME=
"BrowseRemoteProtocols">BrowseRemoteProtocols
</A></H2>
749 <PRE CLASS=
"command">
750 BrowseRemoteProtocols all
751 BrowseRemoteProtocols none
752 BrowseRemoteProtocols cups
753 BrowseRemoteProtocols ldap
754 BrowseRemoteProtocols slp
759 <P>The
<CODE>BrowseRemoteProtocols
</CODE> directive specifies the
760 protocols to use when finding remote shared printers on the
761 network. Multiple protocols can be specified by separating them
762 with spaces. The default is
"<CODE>@CUPS_BROWSE_REMOTE_PROTOCOLS@</CODE>".
</P>
765 <H2 CLASS=
"title"><A NAME=
"BrowseShortNames">BrowseShortNames
</A></H2>
769 <PRE CLASS=
"command">
776 <P>The
<CODE>BrowseShortNames
</CODE> directive specifies whether
777 or not short names are used for remote printers when possible.
778 Short names are just the remote printer name, without the server
779 (
"printer"). If more than one remote printer is detected with the
780 same name, the printers will have long names (
"printer@server1",
781 "printer@server2".)
</P>
783 <P>The default value for this option is
<CODE>@CUPS_BROWSE_SHORT_NAMES@
</CODE>.
</P>
786 <H2 CLASS=
"title"><A NAME=
"BrowseTimeout">BrowseTimeout
</A></H2>
790 <PRE CLASS=
"command">
797 <P>The
<CODE>BrowseTimeout
</CODE> directive sets the timeout for
798 printer or class information that is received in browse packets.
799 Once a printer or class times out it is removed from the list of
800 available destinations.
</P>
802 <P>The
<CODE>BrowseTimeout
</CODE> value should always be greater
804 HREF=
"#BrowseInterval"><CODE>BrowseInterval
</CODE></A> value.
805 Otherwise printers and classes will disappear from client systems
809 <H2 CLASS=
"title"><A NAME=
"BrowseWebIF">BrowseWebIF
</A></H2>
813 <PRE CLASS=
"command">
820 <P>The
<CODE>BrowseWebIF
</CODE> directive controls whether the CUPS web
821 interface is advertised via DNS-SD. The default setting is
822 <CODE>Off
</CODE>.
</P>
825 <H2 CLASS=
"title"><A NAME=
"Browsing">Browsing
</A></H2>
829 <PRE CLASS=
"command">
836 <P>The
<CODE>Browsing
</CODE> directive controls whether or not
837 network printer browsing is enabled. The default setting is
838 <CODE>@CUPS_BROWSING@
</CODE>.
</P>
840 <P>This directive does not enable sharing of local printers by
841 itself; you must also use the
<A
842 HREF=
"#BrowseAddress"><CODE>BrowseAddress
</CODE></A> or
<A
843 HREF=
"#BrowseProtocols"><CODE>BrowseProtocols
</CODE></A>
844 directives to advertise local printers to other systems.
</P>
846 <BLOCKQUOTE><B>Note:
</B>
848 <P>If you are using HP-UX
10.20 and a subnet that is not
24,
849 16, or
8 bits, printer browsing (and in fact all broadcast
850 reception) will not work. This problem appears to be fixed in
856 <H2 CLASS=
"title"><SPAN CLASS=
"info">CUPS
1.1.7</SPAN><A NAME=
"Classification">Classification
</A></H2>
860 <PRE CLASS=
"command">
862 Classification classified
863 Classification confidential
864 Classification secret
865 Classification topsecret
866 Classification unclassified
871 <P>The
<CODE>Classification
</CODE> directive sets the
872 classification level on the server. When this option is set, at
873 least one of the banner pages is forced to the classification
874 level, and the classification is placed on each page of output.
875 The default is no classification level.
</P>
878 <H2 CLASS=
"title"><SPAN CLASS=
"info">CUPS
1.1.10</SPAN><A NAME=
"ClassifyOverride">ClassifyOverride
</A></H2>
882 <PRE CLASS=
"command">
889 <P>The
<CODE>ClassifyOverride
</CODE> directive specifies whether
890 users can override the default classification level on the
891 server. When the server classification is set, users can change
892 the classification using the
<CODE>job-sheets
</CODE> option and
893 can choose to only print one security banner before or after the
894 job. If the
<CODE>job-sheets
</CODE> option is set to
895 <CODE>none
</CODE> then the server default classification is
898 <P>The default is to not allow classification overrides.
</P>
901 <H2 CLASS=
"title"><SPAN CLASS=
"info">CUPS
1.1.15</SPAN><A NAME=
"ConfigFilePerm">ConfigFilePerm
</A></H2>
905 <PRE CLASS=
"command">
912 <P>The
<CODE>ConfigFilePerm
</CODE> directive specifies the
913 permissions to use when writing configuration files. The default
914 is @CUPS_CONFIG_FILE_PERM@.
</P>
917 <H2 CLASS=
"title"><A NAME=
"DataDir">DataDir
</A></H2>
921 <PRE CLASS=
"command">
922 DataDir /usr/share/cups
927 <P>The
<CODE>DataDir
</CODE> directive sets the directory to use
931 <H2 CLASS=
"title"><SPAN CLASS=
"info">CUPS
1.2/Mac OS X
10.5</SPAN><A NAME=
"DefaultAuthType">DefaultAuthType
</A></H2>
935 <PRE CLASS=
"command">
936 DefaultAuthType Basic
937 DefaultAuthType BasicDigest
938 DefaultAuthType Digest
939 DefaultAuthType Negotiate
944 <P>The
<CODE>DefaultAuthType
</CODE> directive specifies the type
945 of authentication to use for IPP operations that require a
946 username. The default is
<CODE>Basic
</CODE>.
</P>
949 <H2 CLASS=
"title"><SPAN CLASS=
"info">CUPS
1.2/Mac OS X
10.5</SPAN><A NAME=
"DefaultEncryption">DefaultEncryption
</A></H2>
953 <PRE CLASS=
"command">
954 DefaultEncryption Never
955 DefaultEncryption IfRequested
956 DefaultEncryption Required
961 <P>The
<CODE>DefaultEncryption
</CODE> directive specifies the
962 type of encryption to use when performing authentication. The
963 default is
<CODE>Required
</CODE>.
</P>
966 <H2 CLASS=
"title"><A NAME=
"DefaultLanguage">DefaultLanguage
</A></H2>
970 <PRE CLASS=
"command">
980 <P>The
<CODE>DefaultLanguage
</CODE> directive specifies the
981 default language to use for client connections. Setting the
982 default language also sets the default character set if a
983 language localization file exists for it. The default language
984 is
"en" for English.
</P>
987 <H2 CLASS=
"title"><SPAN CLASS=
"info">CUPS
1.4/Mac OS X
10.6</SPAN><A NAME=
"DefaultPaperSize">DefaultPaperSize
</A></H2>
991 <PRE CLASS=
"command">
992 DefaultPaperSize Letter
994 DefaultPaperSize Auto
995 DefaultPaperSize None
1000 <P>The
<CODE>DefaultPaperSize
</CODE> directive specifies the default paper
1001 size to use when creating new printers. The default is
<CODE>Auto
</CODE>
1002 which uses a paper size appropriate for the system default locale. A value
1003 of
<CODE>None
</CODE> tells the scheduler to not set the default paper
1007 <H2 CLASS=
"title"><SPAN CLASS=
"info">CUPS
1.2/Mac OS X
10.5</SPAN><A NAME=
"DefaultPolicy">DefaultPolicy
</A></H2>
1011 <PRE CLASS=
"command">
1012 DefaultPolicy default
1013 DefaultPolicy authenticated
1017 <H3>Description
</H3>
1019 <P>The
<CODE>DefaultPolicy
</CODE> directive specifies the default
1020 policy to use for IPP operation. The default is
1021 <CODE>default
</CODE>. CUPS also includes a policy called
1022 <CODE>authenticated
</CODE> that requires a username and password for printing
1023 and other job operations.
</P>
1026 <H2 CLASS=
"title"><SPAN CLASS=
"info">CUPS
1.2/Mac OS X
10.5</SPAN><A NAME=
"DefaultShared">DefaultShared
</A></H2>
1030 <PRE CLASS=
"command">
1035 <H3>Description
</H3>
1037 <P>The
<CODE>DefaultShared
</CODE> directive specifies whether
1038 printers are shared (published) by default. The default is
1039 <CODE>@CUPS_DEFAULT_SHARED@
</CODE>.
</P>
1042 <H2 CLASS=
"title"><A NAME=
"Deny">Deny
</A></H2>
1046 <PRE CLASS=
"command">
1047 <Location /path
>
1051 Deny from *.domain.com
1052 Deny from .domain.com
1053 Deny from host.domain.com
1056 Deny from nnn.nnn.nnn.*
1057 Deny from nnn.nnn.nnn.nnn
1058 Deny from nnn.nnn.nnn.nnn/mm
1059 Deny from nnn.nnn.nnn.nnn/mmm.mmm.mmm.mmm
1060 Deny from [xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx]
1061 Deny from [xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx]/mmm
1067 <H3>Description
</H3>
1069 <P>The
<CODE>Deny
</CODE> directive specifies a hostname, IP
1070 address, or network that is denied access to the server.
1071 <CODE>Deny
</CODE> directives are cummulative, so multiple
1072 <CODE>Deny
</CODE> directives can be used to deny access for
1073 multiple hosts or networks.
</P>
1075 <P>Host and domain name matching require that you enable the
<A
1076 HREF=
"#HostNameLookups"><CODE>HostNameLookups
</CODE></A>
1079 <P>The
<CODE>/mm
</CODE> notation specifies a CIDR netmask, a shown in
1080 <A HREF=
"TABLE1">Table
1</A>.
</P>
1082 <P>The
<CODE>@LOCAL
</CODE> name will deny access from all local
1083 interfaces. The
<CODE>@IF(name)
</CODE> name will deny access from
1084 the named interface. In both cases, CUPS only denies access from
1085 the network that the interface(s) are configured for - requests
1086 arriving on the interface from a foreign network will
1087 <em>not
</em> be denied.
</P>
1089 <P>The
<CODE>Deny
</CODE> directive must appear inside a
<A
1090 HREF=
"#Location"><CODE>Location
</CODE></A> or
<A
1091 HREF=
"#Limit"><CODE>Limit
</CODE></A> section.
</P>
1094 <H2 CLASS=
"title"><SPAN CLASS=
"info">CUPS
1.4/Mac OS X
10.6</SPAN><A NAME=
"DirtyCleanInterval">DirtyCleanInterval
</A></H2>
1098 <PRE CLASS=
"command">
1099 DirtyCleanInterval
30
1100 DirtyCleanInterval
0
1103 <H3>Description
</H3>
1105 <P>The
<CODE>DirtyCleanInterval
</CODE> directive specifies the number of
1106 seconds to wait before updating configuration and state files for printers,
1107 classes, subscriptions, and jobs. The default is
30 seconds. A value of
0
1108 causes the update to occur as soon as possible, typically within a few
1112 <H2 CLASS=
"title"><A NAME=
"DocumentRoot">DocumentRoot
</A></H2>
1116 <PRE CLASS=
"command">
1117 DocumentRoot /usr/share/doc/cups
1118 DocumentRoot /foo/bar/doc/cups
1121 <H3>Description
</H3>
1123 <P>The
<CODE>DocumentRoot
</CODE> directive specifies the location
1124 of web content for the HTTP server in CUPS. If an absolute path
1125 is not specified then it is assumed to be relative to the
<A
1126 HREF=
"#ServerRoot"><CODE>ServerRoot
</CODE></A> directory. The
1127 default directory is
<VAR>@CUPS_DOCROOT@
</VAR>.
</P>
1129 <P>Documents are first looked up in a sub-directory for the
1130 primary language requested by the client (e.g.
1131 <VAR>@CUPS_DOCROOT@/fr/...
</VAR>) and then directly under
1132 the
<CODE>DocumentRoot
</CODE> directory (e.g.
1133 <VAR>@CUPS_DOCROOT@/...
</VAR>), so it is possible to
1134 localize the web content by providing subdirectories for each
1135 language needed.
</P>
1138 <H2 CLASS=
"title"><A NAME=
"Encryption">Encryption
</A></H2>
1142 <PRE CLASS=
"command">
1143 <Location /path
>
1146 Encryption IfRequested
1151 <H3>Description
</H3>
1153 <P>The
<CODE>Encryption
</CODE> directive must appear instead a
<A
1154 HREF=
"#Location"><CODE>Location
</CODE></A> or
<A
1155 HREF=
"#Limit"><CODE>Limit
</CODE></A> section and specifies the
1156 encryption settings for that location. The default setting is
1157 <CODE>IfRequested
</CODE> for all locations.
</P>
1160 <H2 CLASS=
"title"><A NAME=
"ErrorLog">ErrorLog
</A></H2>
1164 <PRE CLASS=
"command">
1165 ErrorLog /var/log/cups/error_log
1166 ErrorLog /var/log/cups/error_log-%s
1170 <H3>Description
</H3>
1172 <P>The
<CODE>ErrorLog
</CODE> directive sets the name of the error
1173 log file. If the filename is not absolute then it is assumed to
1174 be relative to the
<A
1175 HREF=
"#ServerRoot"><CODE>ServerRoot
</CODE></A> directory. The
1176 default error log file is
<VAR>@CUPS_LOGDIR@/error_log
</VAR>.
</P>
1178 <P>The server name can be included in the filename by using
1179 <CODE>%s
</CODE> in the name.
</P>
1181 <P>The special name
"syslog" can be used to send the error
1182 information to the system log instead of a plain file.
</P>
1185 <H2 CLASS=
"title"><SPAN CLASS=
"info">CUPS
1.3/Mac OS X
10.5</SPAN><A NAME=
"ErrorPolicy">ErrorPolicy
</A></H2>
1189 <PRE CLASS=
"command">
1190 ErrorPolicy abort-job
1191 ErrorPolicy retry-job
1192 ErrorPolicy stop-printer
1195 <H3>Description
</H3>
1197 <P>The
<CODE>ErrorPolicy
</CODE> directive defines the default policy that
1198 is used when a backend is unable to send a print job to the
1201 <P>The following values are supported:
</P>
1205 <LI><CODE>abort-job
</CODE> - Abort the job and proceed
1206 with the next job in the queue
</LI>
1208 <LI><CODE>retry-job
</CODE> - Retry the job after waiting
1209 for N seconds; the
<VAR>cupsd.conf
</VAR> <A
1210 HREF=
"#JobRetryInterval"><CODE>JobRetryInterval
</CODE></A>
1211 directive controls the value of N
</LI>
1213 <LI><CODE>retry-this-job
</CODE> - Retry the current job immediately
1214 and indefinitely.
</LI>
1216 <LI><CODE>stop-printer
</CODE> - Stop the printer and keep
1217 the job for future printing; this is the default
1224 <H2 CLASS=
"title"><SPAN CLASS=
"info">CUPS
1.4/Mac OS X
10.6</SPAN><A NAME=
"FatalErrors">FatalErrors
</A></H2>
1228 <PRE CLASS=
"command">
1235 FatalErrors permissions
1236 FatalErrors all -permissions
1237 FatalErrors config permissions log
1240 <H3>Description
</H3>
1242 <P>The
<CODE>FatalErrors
</CODE> directive determines whether certain kinds of
1243 errors are fatal. The following kinds of errors are currently recognized:
</P>
1247 <LI><CODE>none
</CODE> - No errors are fatal
</LI>
1249 <LI><CODE>all
</CODE> - All of the errors below are fatal
</LI>
1251 <LI><CODE>browse
</CODE> - Browsing initialization errors are fatal,
1252 for example failed binding to the CUPS browse port or failed connections
1253 to LDAP servers
</LI>
1255 <LI><CODE>config
</CODE> - Configuration file syntax errors are
1258 <LI><CODE>listen
</CODE> - Listen or Port errors are fatal, except for
1259 IPv6 failures on the loopback or
"any" addresses
</LI>
1261 <LI><CODE>log
</CODE> - Log file creation or write errors are fatal
</LI>
1263 <LI><CODE>permissions
</CODE> - Bad startup file permissions are
1264 fatal, for example shared SSL certificate and key files with world-
1265 read permissions
</LI>
1269 <P>Multiple errors can be listed, and the form
"-kind" can be used with
1270 <CODE>all
</CODE> to remove specific kinds of errors. The default setting is
1271 <CODE>@CUPS_FATAL_ERRORS@
</CODE>.
</P>
1274 <H2 CLASS=
"title"><SPAN CLASS=
"info">CUPS
1.1.18</SPAN><A NAME=
"FileDevice">FileDevice
</A></H2>
1278 <PRE CLASS=
"command">
1283 <H3>Description
</H3>
1285 <P>The
<CODE>FileDevice
</CODE> directive determines whether the
1286 scheduler allows new printers to be added using device URIs of
1287 the form
<CODE>file:/filename
</CODE>. File devices are most often
1288 used to test new printer drivers and do not support raw file
1291 <P>The default setting is
<CODE>No
</CODE>.
</P>
1293 <BLOCKQUOTE><B>Note:
</B>
1295 <P>File devices are managed by the scheduler. Since the
1296 scheduler normally runs as the root user, file devices
1297 can be used to overwrite system files and potentially
1298 gain unauthorized access to the system. If you must
1299 create printers using file devices, we recommend that
1300 you set the
<CODE>FileDevice
</CODE> directive to
1301 <CODE>Yes
</CODE> for only as long as you need to add the
1302 printers to the system, and then reset the directive to
1303 <CODE>No
</CODE>.
</P>
1308 <H2 CLASS=
"title"><SPAN CLASS=
"info">CUPS
1.1.3</SPAN><A NAME=
"FilterLimit">FilterLimit
</A></H2>
1312 <PRE CLASS=
"command">
1318 <H3>Description
</H3>
1320 <P>The
<CODE>FilterLimit
</CODE> directive sets the maximum cost
1321 of all running job filters. It can be used to limit the number of
1322 filter programs that are run on a server to minimize disk,
1323 memory, and CPU resource problems. A limit of
0 disables filter
1326 <P>An average print to a non-PostScript printer needs a filter
1327 limit of about
200. A PostScript printer needs about half that
1328 (
100). Setting the limit below these thresholds will effectively
1329 limit the scheduler to printing a single job at any time.
</P>
1331 <P>The default limit is
0.
</P>
1334 <H2 CLASS=
"title"><SPAN CLASS=
"info">CUPS
1.1.16</SPAN><A NAME=
"FilterNice">FilterNice
</A></H2>
1338 <PRE CLASS=
"command">
1344 <H3>Description
</H3>
1346 <P>The
<CODE>FilterNice
</CODE> directive sets the
<B>nice(
1)
</B>
1347 value to assign to filter processes. The nice value ranges from
1348 0, the highest priority, to
19, the lowest priority. The default
1352 <H2 CLASS=
"title"><SPAN CLASS=
"info">CUPS
1.1.3</SPAN><A NAME=
"FontPath">FontPath
</A></H2>
1356 <PRE CLASS=
"command">
1357 FontPath /foo/bar/fonts
1358 FontPath /usr/share/cups/fonts:/foo/bar/fonts
1361 <H3>Description
</H3>
1363 <P>The
<CODE>FontPath
</CODE> directive specifies the font path to
1364 use when searching for fonts. The default font path is
1365 <CODE>/usr/share/cups/fonts
</CODE>.
</P>
1368 <H2 CLASS=
"title"><A NAME=
"Group">Group
</A></H2>
1372 <PRE CLASS=
"command">
1377 <H3>Description
</H3>
1379 <P>The
<CODE>Group
</CODE> directive specifies the UNIX group that
1380 filter and CGI programs run as. The default group is
1381 system-specific but is usually
<CODE>lp
</CODE> or
1382 <CODE>nobody
</CODE>.
</P>
1385 <H2 CLASS=
"title"><SPAN CLASS=
"info">CUPS
1.1.10</SPAN><A NAME=
"HideImplicitMembers">HideImplicitMembers
</A></H2>
1389 <PRE CLASS=
"command">
1390 HideImplicitMembers Yes
1391 HideImplicitMembers No
1394 <H3>Description
</H3>
1396 <P>The
<CODE>HideImplicitMembers
</CODE> directive controls
1397 whether the individual printers in an implicit class are hidden
1398 from the user. The default is
<CODE>Yes
</CODE>.
</P>
1400 <P><A HREF=
"#ImplicitClasses"><CODE>ImplicitClasses
</CODE></A>
1401 must be enabled for this directive to have any effect.
</P>
1404 <H2 CLASS=
"title"><A NAME=
"HostNameLookups">HostNameLookups
</A></H2>
1408 <PRE CLASS=
"command">
1411 HostNameLookups Double
1414 <H3>Description
</H3>
1416 <P>The
<CODE>HostNameLookups
</CODE> directive controls whether or
1417 not CUPS looks up the hostname for connecting clients. The
1418 <CODE>Double
</CODE> setting causes CUPS to verify that the
1419 hostname resolved from the address matches one of the addresses
1420 returned for that hostname.
<CODE>Double
</CODE> lookups also
1421 prevent clients with unregistered addresses from connecting to
1424 <P>The default is
<CODE>Off
</CODE> to avoid the potential server
1425 performance problems with hostname lookups. Set this option to
1426 <CODE>On
</CODE> or
<CODE>Double
</CODE> only if absolutely
1430 <H2 CLASS=
"title"><SPAN CLASS=
"info">CUPS
1.1.10</SPAN><A NAME=
"ImplicitAnyClasses">ImplicitAnyClasses
</A></H2>
1434 <PRE CLASS=
"command">
1435 ImplicitAnyClasses On
1436 ImplicitAnyClasses Off
1439 <H3>Description
</H3>
1441 <P>The
<CODE>ImplicitAnyClasses
</CODE> directive controls
1442 whether implicit classes for local and remote printers are
1443 created with the name
<CODE>AnyPrinter
</CODE>. The default
1444 setting is
<CODE>Off
</CODE>.
</P>
1446 <P><A HREF=
"#ImplicitClasses"><CODE>ImplicitClasses
</CODE></A>
1447 must be enabled for this directive to have any effect.
</P>
1450 <H2 CLASS=
"title"><A NAME=
"ImplicitClasses">ImplicitClasses
</A></H2>
1454 <PRE CLASS=
"command">
1459 <H3>Description
</H3>
1461 <P>The
<CODE>ImplicitClasses
</CODE> directive controls whether
1462 implicit classes are created based upon the available network
1463 printers and classes. The default setting is
1464 <CODE>@CUPS_IMPLICIT_CLASSES@
</CODE> but is automatically turned
1465 <CODE>Off
</CODE> if
<A HREF=
"#Browsing"><CODE>Browsing
</CODE></A> is turned
1466 <CODE>Off
</CODE>.
</P>
1469 <H2 CLASS=
"title"><SPAN CLASS=
"info">CUPS
1.1.9</SPAN><A NAME=
"Include">Include
</A></H2>
1473 <PRE CLASS=
"command">
1475 Include /foo/bar/filename
1478 <H3>Description
</H3>
1480 <P>The
<CODE>Include
</CODE> directive includes the named file in
1481 the
<CODE>cupsd.conf
</CODE> file. If no leading path is provided,
1482 the file is assumed to be relative to the
<A
1483 HREF=
"#ServerRoot"><CODE>ServerRoot
</CODE></A> directory.
</P>
1486 <H2 CLASS=
"title"><SPAN CLASS=
"info">CUPS
1.5</SPAN><A NAME=
"JobPrivateAccess">JobPrivateAccess
</A></H2>
1490 <PRE CLASS=
"command">
1491 JobPrivateAccess all
1492 JobPrivateAccess default
1493 JobPrivateAccess {user|@group|@ACL|@OWNER|@SYSTEM}+
1496 <H3>Description
</H3>
1498 <P>The
<CODE>JobPrivateAccess
</CODE> directive specifies the access list for a
1499 job's private values. The
"default" access list is
"@OWNER @SYSTEM".
"@ACL" maps
1500 to the printer's requesting-user-name-allowed or requesting-user-name-denied
1503 <P>The
<CODE>JobPrivateAccess
</CODE> directive must appear inside a
<A
1504 HREF=
"#Policy"><CODE>Policy
</CODE></A> section.
</P>
1507 <H2 CLASS=
"title"><SPAN CLASS=
"info">CUPS
1.5</SPAN><A NAME=
"JobPrivateValues">JobPrivateValues
</A></H2>
1511 <PRE CLASS=
"command">
1512 JobPrivateValues all
1513 JobPrivateValues default
1514 JobPrivateValues none
1515 JobPrivateValues attribute-name-
1 [ ... attribute-name-N ]
1518 <H3>Description
</H3>
1520 <P>The
<CODE>JobPrivateValues
</CODE> directive specifies the list of job values
1521 to make private. The
"default" values are
"job-name",
1522 "job-originating-host-name", and
"job-originating-user-name".
</P>
1524 <P>The
<CODE>JobPrivateValues
</CODE> directive must appear inside a
<A
1525 HREF=
"#Policy"><CODE>Policy
</CODE></A> section.
</P>
1528 <H2 CLASS=
"title"><SPAN CLASS=
"info">CUPS
1.2/Mac OS X
10.5</SPAN><A NAME=
"JobRetryInterval">JobRetryInterval
</A></H2>
1532 <PRE CLASS=
"command">
1534 JobRetryInterval
120
1537 <H3>Description
</H3>
1539 <P>The
<CODE>JobRetryInterval
</CODE> directive specifies the
1540 number of seconds to wait before retrying a job. This is
1541 typically used for fax queues but can also be used with normal
1542 print queues whose error policy is
<CODE>retry-job
</CODE>. The
1543 default is
30 seconds.
</P>
1546 <H2 CLASS=
"title"><SPAN CLASS=
"info">CUPS
1.4/Mac OS X
10.6</SPAN><A NAME=
"JobKillDelay">JobKillDelay
</A></H2>
1550 <PRE CLASS=
"command">
1555 <H3>Description
</H3>
1557 <P>The
<CODE>JobKillDelay
</CODE> directive specifies the number of seconds to
1558 wait before killing the filters and backend associated with a canceled or held
1559 job. The default is
30 seconds.
</P>
1562 <H2 CLASS=
"title"><SPAN CLASS=
"info">CUPS
1.2/Mac OS X
10.5</SPAN><A NAME=
"JobRetryLimit">JobRetryLimit
</A></H2>
1566 <PRE CLASS=
"command">
1571 <H3>Description
</H3>
1573 <P>The
<CODE>JobRetryLimit
</CODE> directive specifies the maximum
1574 number of times the scheduler will try to print a job. This is
1575 typically used for fax queues but can also be used with normal
1576 print queues whose error policy is
<CODE>retry-job
</CODE>. The
1577 default is
5 times.
</P>
1580 <H2 CLASS=
"title"><A NAME=
"KeepAlive">KeepAlive
</A></H2>
1584 <PRE CLASS=
"command">
1589 <H3>Description
</H3>
1591 <P>The
<CODE>KeepAlive
</CODE> directive controls whether or not
1592 to support persistent HTTP connections. The default is
1593 <CODE>On
</CODE>.
</P>
1595 <P>HTTP/
1.1 clients automatically support persistent connections,
1596 while HTTP/
1.0 clients must specifically request them using the
1597 <CODE>Keep-Alive
</CODE> attribute in the
<CODE>Connection:
</CODE>
1598 field of each request.
</P>
1601 <H2 CLASS=
"title"><A NAME=
"KeepAliveTimeout">KeepAliveTimeout
</A></H2>
1605 <PRE CLASS=
"command">
1610 <H3>Description
</H3>
1612 <P>The
<CODE>KeepAliveTimeout
</CODE> directive controls how long
1613 a persistent HTTP connection will remain open after the last
1614 request. The default is
30 seconds.
</P>
1617 <H2 CLASS=
"title"><SPAN CLASS=
"info">CUPS
1.1.7</SPAN><A NAME=
"Limit">Limit (Location)
</A></H2>
1621 <PRE CLASS=
"command">
1622 <Location /path
>
1623 <Limit GET POST
>
1633 <H3>Description
</H3>
1635 <P>The
<CODE>Limit
</CODE> directive groups access control
1636 directives for specific types of HTTP requests and must appear
1637 inside a
<A HREF=
"#Location"><CODE>Location
</CODE></A> section.
1638 Access can be limited for individual request types
1639 (
<CODE>DELETE
</CODE>,
<CODE>GET
</CODE>,
<CODE>HEAD
</CODE>,
1640 <CODE>OPTIONS
</CODE>,
<CODE>POST
</CODE>,
<CODE>PUT
</CODE>, and
1641 <CODE>TRACE
</CODE>) or for all request types (
<CODE>ALL
</CODE>).
1642 The request type names are case-sensitive for compatibility with
1646 <H2 CLASS=
"title"><SPAN CLASS=
"info">CUPS
1.2/Mac OS X
10.5</SPAN><A NAME=
"LimitIPP">Limit (Policy)
</A></H2>
1650 <PRE CLASS=
"command">
1652 <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer
>
1662 <H3>Description
</H3>
1664 <P>When included in
<A HREF=
"#Policy"><CODE>Policy
</CODE></A>
1665 sections, the
<CODE>Limit
</CODE> directive groups access control
1666 directives for specific IPP operations. Multiple operations can
1667 be listed, separated by spaces. Table
2 lists the supported
1670 <DIV CLASS=
"table"><TABLE SUMMARY=
"Supported IPP Operations">
1671 <CAPTION>Table
2:
<A NAME=
"TABLE2">Supported IPP Operations
</A></CAPTION>
1674 <TH>Operation Name
</TH>
1675 <TH>Description
</TH>
1681 <TD>All operations - used as the default limit for
1682 operations that are not listed
</TD>
1686 <TD>Cancel a job
</TD>
1689 <TD>Cancel-Subscription
</TD>
1690 <TD>Cancel a subscription
</TD>
1694 <TD>Create a new, empty job
</TD>
1697 <TD>Create-Job-Subscription
</TD>
1698 <TD>Creates a notification subscription on a job
</TD>
1701 <TD>Create-Printer-Subscription
</TD>
1702 <TD>Creates a notification subscription on a printer
</TD>
1705 <TD>CUPS-Accept-Jobs
</TD>
1706 <TD>Sets the printer-is-accepting-jobs value for a printer to true
</TD>
1709 <TD>CUPS-Add-Modify-Class
</TD>
1710 <TD>Adds or modifies a class
</TD>
1713 <TD>CUPS-Add-Modify-Printer
</TD>
1714 <TD>Adds or modifies a printer
</TD>
1717 <TD>CUPS-Authenticate-Job
</TD>
1718 <TD>Authenticates a job for printing
</TD>
1721 <TD>CUPS-Delete-Class
</TD>
1722 <TD>Deletes a class
</TD>
1725 <TD>CUPS-Delete-Printer
</TD>
1726 <TD>Deletes a printer
</TD>
1729 <TD>CUPS-Get-Classes
</TD>
1730 <TD>Gets a list of classes
</TD>
1733 <TD>CUPS-Get-Default
</TD>
1734 <TD>Gets the (network/server) default printer or class
</TD>
1737 <TD>CUPS-Get-Devices
</TD>
1738 <TD>Gets a list of available devices
</TD>
1741 <TD>CUPS-Get-PPDs
</TD>
1742 <TD>Gets a list of available manufacturers or drivers
</TD>
1745 <TD>CUPS-Get-Printers
</TD>
1746 <TD>Gets a list of printers and/or classes
</TD>
1749 <TD>CUPS-Move-Job
</TD>
1750 <TD>Moves a job to a new destination
</TD>
1753 <TD>CUPS-Reject-Jobs
</TD>
1754 <TD>Sets the printer-is-accepting-jobs value for a printer to false
</TD>
1757 <TD>CUPS-Set-Default
</TD>
1758 <TD>Sets the network/server default printer or class
</TD>
1761 <TD>Disable-Printer
</TD>
1762 <TD>Sets the printer-state value for a printer to stopped
</TD>
1765 <TD>Enable-Printer
</TD>
1766 <TD>Sets the printer-state value for a printer to idle/processing
</TD>
1769 <TD>Get-Job-Attributes
</TD>
1770 <TD>Gets information about a job
</TD>
1774 <TD>Gets a list of jobs
</TD>
1777 <TD>Get-Notifications
</TD>
1778 <TD>Gets a list of events
</TD>
1781 <TD>Get-Printer-Attributes
</TD>
1782 <TD>Gets informaion about a printer or class
</TD>
1785 <TD>Get-Subscription-Attributes
</TD>
1786 <TD>Gets informaion about a notification subscription
</TD>
1789 <TD>Get-Subscriptions
</TD>
1790 <TD>Gets a list of notification subscriptions
</TD>
1794 <TD>Holds a job for printing
</TD>
1797 <TD>Pause-Printer
</TD>
1798 <TD>Sets the printer-state value for a printer to stopped
</TD>
1802 <TD>Creates a job with a single file for printing
</TD>
1806 <TD>Removes all jobs from a printer
</TD>
1809 <TD>Release-Job
</TD>
1810 <TD>Releases a previously held job for printing
</TD>
1813 <TD>Renew-Subscription
</TD>
1814 <TD>Renews a notification subscription
</TD>
1817 <TD>Restart-Job
</TD>
1818 <TD>Reprints a job
</TD>
1821 <TD>Resume-Printer
</TD>
1822 <TD>Sets the printer-stae value for a printer to idle/processing
</TD>
1825 <TD>Send-Document
</TD>
1826 <TD>Adds a file to an job created with Create-Job
</TD>
1829 <TD>Set-Job-Attributes
</TD>
1830 <TD>Changes job options
</TD>
1833 <TD>Validate-Job
</TD>
1834 <TD>Validates job options prior to printing
</TD>
1840 <H2 CLASS=
"title"><SPAN CLASS=
"info">CUPS
1.1.7</SPAN><A NAME=
"LimitExcept">LimitExcept
</A></H2>
1844 <PRE CLASS=
"command">
1845 <Location /path
>
1846 <LimitExcept GET POST
>
1848 </LimitExcept
>
1852 <H3>Description
</H3>
1854 <P>The
<CODE>LimitExcept
</CODE> directive groups access control
1855 directives for specific types of HTTP requests and must appear
1856 inside a
<A HREF=
"#Location"><CODE>Location
</CODE></A> section.
1857 Unlike the
<A HREF=
"#Limit"><CODE>Limit
</CODE></A> directive,
1858 <CODE>LimitExcept
</CODE> restricts access for all requests
1859 <I>except
</I> those listed on the
<CODE>LimitExcept
</CODE>
1863 <H2 CLASS=
"title"><A NAME=
"LimitRequestBody">LimitRequestBody
</A></H2>
1867 <PRE CLASS=
"command">
1868 LimitRequestBody
10485760
1869 LimitRequestBody
10m
1873 <H3>Description
</H3>
1875 <P>The
<CODE>LimitRequestBody
</CODE> directive controls the
1876 maximum size of print files, IPP requests, and HTML form data in
1877 HTTP POST requests. The default limit is
0 which disables the
1881 <H2 CLASS=
"title"><A NAME=
"Listen">Listen
</A></H2>
1885 <PRE CLASS=
"command">
1886 Listen
127.0.0.1:
631
1887 Listen
192.0.2.1:
631
1892 <H3>Description
</H3>
1894 <P>The
<CODE>Listen
</CODE> directive specifies a network address
1895 and port to listen for connections. Multiple
<CODE>Listen
</CODE>
1896 directives can be provided to listen on multiple addresses.
</P>
1898 <P>The
<CODE>Listen
</CODE> directive is similar to the
<A
1899 HREF=
"#Port"><CODE>Port
</CODE></A> directive but allows you to
1900 restrict access to specific interfaces or networks.
</P>
1903 <H2 CLASS=
"title"><SPAN CLASS=
"info">CUPS
1.1.7</SPAN><A NAME=
"ListenBackLog">ListenBackLog
</A></H2>
1907 <PRE CLASS=
"command">
1912 <H3>Description
</H3>
1914 <P>The
<CODE>ListenBackLog
</CODE> directive sets the maximum
1915 number of pending connections the scheduler will allow. This
1916 normally only affects very busy servers that have reached the
<A
1917 HREF=
"#MaxClients"><CODE>MaxClients
</CODE></A> limit, but can
1918 also be triggered by large numbers of simultaneous connections.
1919 When the limit is reached, the operating system will refuse
1920 additional connections until the scheduler can accept the pending
1921 ones. The default is the OS-defined default limit, typically
1922 either
5 for older operating systems or
128 for newer operating
1926 <H2 CLASS=
"title"><A NAME=
"Location">Location
</A></H2>
1930 <PRE CLASS=
"command">
1935 <Location /admin
>
1939 <Location /admin/conf
>
1943 <Location /admin/log
>
1947 <Location /classes
>
1951 <Location /classes/name
>
1955 <Location /jobs
>
1959 <Location /printers
>
1963 <Location /printers/name
>
1969 <H3>Description
</H3>
1971 <P>The
<CODE>Location
</CODE> directive specifies access control
1972 and authentication options for the specified HTTP resource or
1973 path. The
<A HREF=
"#Allow"><CODE>Allow
</CODE></A>,
<A
1974 HREF=
"#AuthType"><CODE>AuthType
</CODE></A>,
<A
1975 HREF=
"#Deny"><CODE>Deny
</CODE></A>,
<A
1976 HREF=
"#Encryption"><CODE>Encryption
</CODE></A>,
<A
1977 HREF=
"#Limit"><CODE>Limit
</CODE></A>,
<A
1978 HREF=
"#LimitExcept"><CODE>LimitExcept
</CODE></A>,
<A
1979 HREF=
"#Order"><CODE>Order
</CODE></A>,
<A
1980 HREF=
"#Require"><CODE>Require
</CODE></A>, and
<A
1981 HREF=
"#Satisfy"><CODE>Satisfy
</CODE></A> directives may all
1982 appear inside a location.
</P>
1984 <P>Note that more specific resources override the less specific
1985 ones. So the directives inside the
<CODE>/printers/name
</CODE>
1986 location will override ones from
<CODE>/printers
</CODE>.
1987 Directives inside
<CODE>/printers
</CODE> will override ones from
1988 <CODE>/
</CODE>. None of the directives are inherited.
</P>
1990 <DIV CLASS=
"table"><TABLE SUMMARY=
"Common Locations on the Server">
1991 <CAPTION>Table
3:
<A NAME=
"TABLE3">Common Locations on the Server
</A></CAPTION>
1993 <TR><TH>Location
</TH><TH>Description
</TH></TR>
1996 <TR><TD><CODE>/
</CODE></TD><TD>The path for all get operations (get-printers, get-jobs, etc.)
</TD></TR>
1997 <TR><TD><CODE>/admin
</CODE></TD><TD>The path for all administration operations (add-printer, delete-printer, start-printer, etc.)
</TD></TR>
1998 <TR><TD><CODE>/admin/conf
</CODE></TD><TD>The path for access to the CUPS configuration files (cupsd.conf, client.conf, etc.)
</TD></TR>
1999 <TR><TD><CODE>/admin/log
</CODE></TD><TD>The path for access to the CUPS log files (access_log, error_log, page_log)
</TD></TR>
2000 <TR><TD><CODE>/classes
</CODE></TD><TD>The path for all classes
</TD></TR>
2001 <TR><TD><CODE>/classes/name
</CODE></TD><TD>The resource for class
<CODE>name
</CODE></TD></TR>
2002 <TR><TD><CODE>/jobs
</CODE></TD><TD>The path for all jobs (hold-job, release-job, etc.)
</TD></TR>
2003 <TR><TD><CODE>/jobs/id
</CODE></TD><TD>The resource for job
<CODE>id
</CODE></TD></TR>
2004 <TR><TD><CODE>/printers
</CODE></TD><TD>The path for all printers
</TD></TR>
2005 <TR><TD><CODE>/printers/name
</CODE></TD><TD>The path for printer
<CODE>name
</CODE></TD></TR>
2006 <TR><TD><CODE>/printers/name.ppd
</CODE></TD><TD>The PPD file path for printer
<CODE>name
</CODE></TD></TR>
2011 <H2 CLASS=
"title"><A NAME=
"LogDebugHistory">LogDebugHistory
</A></H2>
2015 <PRE CLASS=
"command">
2020 <H3>Description
</H3>
2022 <P>When
<A HREF=
"#LogLevel"><CODE>LogLevel
</CODE></A> is not set to
2023 <CODE>debug
</CODE> or
<CODE>debug2
</CODE>, the
<CODE>LogDebugHistory
</CODE>
2024 directive specifies the number of debugging messages that are logged when an
2025 error occurs during printing. The default is
200 messages. A value of
0
2026 disables debugging history entirely and is not recommended.
</P>
2029 <H2 CLASS=
"title"><SPAN CLASS=
"info">CUPS
1.1.15</SPAN><A NAME=
"LogFilePerm">LogFilePerm
</A></H2>
2033 <PRE CLASS=
"command">
2038 <H3>Description
</H3>
2040 <P>The
<CODE>LogFilePerm
</CODE> directive specifies the
2041 permissions to use when writing configuration files. The default
2042 is @CUPS_LOG_FILE_PERM@.
</P>
2045 <H2 CLASS=
"title"><A NAME=
"LogLevel">LogLevel
</A></H2>
2049 <PRE CLASS=
"command">
2062 <H3>Description
</H3>
2064 <P>The
<CODE>LogLevel
</CODE> directive specifies the level of
2065 logging for the
<A HREF=
"#ErrorLog"><CODE>ErrorLog
</CODE></A>
2066 file. The following values are recognized (each level logs
2067 everything under the preceding levels):
</P>
2071 <LI><CODE>none
</CODE> - Log nothing
</LI>
2073 <LI><CODE>emerg
</CODE> - Log emergency conditions that
2074 prevent the server from running
</LI>
2076 <LI><CODE>alert
</CODE> - Log alerts that must be handled
2079 <LI><CODE>crit
</CODE> - Log critical errors that don't
2080 prevent the server from running
</LI>
2082 <LI><CODE>error
</CODE> - Log general errors
</LI>
2084 <LI><CODE>warn
</CODE> - Log errors and warnings
</LI>
2086 <LI><CODE>notice
</CODE> - Log temporary error conditions
</LI>
2088 <LI><CODE>info
</CODE> - Log all requests and state
2091 <LI><CODE>debug
</CODE> - Log basic debugging
2094 <LI><CODE>debug2
</CODE> - Log all debugging
2099 <p>The default
<code>LogLevel
</code> is
<code>@CUPS_LOG_LEVEL@
</code>.
</p>
2102 <H2 CLASS=
"title"><A NAME=
"LogTimeFormat">LogTimeFormat
</A></H2>
2106 <PRE CLASS=
"command">
2107 LogTimeFormat standard
2111 <H3>Description
</H3>
2113 <P>The
<CODE>LogTimeFormat
</CODE> directive specifies the format used for the
2114 date and time in the log files.
<CODE>Standard
</CODE> uses the standard Apache
2115 Common Log Format date and time while
<CODE>usecs
</CODE> adds microseconds.
2116 The default is
<CODE>standard
</CODE>.
</P>
2119 <H2 CLASS=
"title"><A NAME=
"MaxClients">MaxClients
</A></H2>
2123 <PRE CLASS=
"command">
2128 <H3>Description
</H3>
2130 <P>The
<CODE>MaxClients
</CODE> directive controls the maximum
2131 number of simultaneous clients that will be allowed by the
2132 server. The default is
100 clients.
</P>
2134 <BLOCKQUOTE><B>Note:
</B>
2136 <P>Since each print job requires a file descriptor for the status
2137 pipe, the scheduler internally limits the
<CODE>MaxClients
</CODE>
2138 value to
1/
3 of the available file descriptors to avoid possible
2139 problems when printing large numbers of jobs.
</P>
2144 <H2 CLASS=
"title"><SPAN CLASS=
"info">CUPS
1.1.18</SPAN><A NAME=
"MaxClientsPerHost">MaxClientsPerHost
</A></H2>
2148 <PRE CLASS=
"command">
2149 MaxClientsPerHost
10
2152 <H3>Description
</H3>
2154 <P>The
<CODE>MaxClientsPerHost
</CODE> directive controls the
2155 maximum number of simultaneous clients that will be allowed from
2156 a single host by the server. The default is the
2157 <CODE>MaxClients
</CODE> value.
</P>
2159 <P>This directive provides a small measure of protection against
2160 Denial of Service attacks from a single host.
</P>
2163 <H2 CLASS=
"title"><SPAN CLASS=
"info">CUPS
1.1.16</SPAN><A NAME=
"MaxCopies">MaxCopies
</A></H2>
2167 <PRE CLASS=
"command">
2172 <H3>Description
</H3>
2174 <P>The
<CODE>MaxCopies
</CODE> directive controls the maximum
2175 number of copies that a user can print of a job. The default is
2176 @CUPS_MAX_COPIES@ copies.
</P>
2178 <BLOCKQUOTE><B>Note:
</B>
2180 <P>Most HP PCL laser printers internally limit the number of
2187 <H2 CLASS=
"title"><A NAME=
"MaxJobs">MaxJobs
</A></H2>
2191 <PRE CLASS=
"command">
2197 <H3>Description
</H3>
2199 <P>The
<CODE>MaxJobs
</CODE> directive controls the maximum number
2200 of jobs that are kept in memory. Once the number of jobs reaches
2201 the limit, the oldest completed job is automatically purged from
2202 the system to make room for the new one. If all of the known jobs
2203 are still pending or active then the new job will be
2206 <P>Setting the maximum size to
0 disables this functionality. The
2207 default setting is
500.
</P>
2210 <H2 CLASS=
"title"><SPAN CLASS=
"info">CUPS
1.1.7</SPAN><A NAME=
"MaxJobsPerPrinter">MaxJobsPerPrinter
</A></H2>
2214 <PRE CLASS=
"command">
2215 MaxJobsPerPrinter
100
2216 MaxJobsPerPrinter
9999
2220 <H3>Description
</H3>
2222 <P>The
<CODE>MaxJobsPerPrinter
</CODE> directive controls the
2223 maximum number of active jobs that are allowed for each printer
2224 or class. Once a printer or class reaches the limit, new jobs
2225 will be rejected until one of the active jobs is completed,
2226 stopped, aborted, or canceled.
</P>
2228 <P>Setting the maximum to
0 disables this functionality. The
2229 default setting is
0.
</P>
2232 <H2 CLASS=
"title"><SPAN CLASS=
"info">CUPS
1.1.7</SPAN><A NAME=
"MaxJobsPerUser">MaxJobsPerUser
</A></H2>
2236 <PRE CLASS=
"command">
2242 <H3>Description
</H3>
2244 <P>The
<CODE>MaxJobsPerUser
</CODE> directive controls the maximum
2245 number of active jobs that are allowed for each user. Once a user
2246 reaches the limit, new jobs will be rejected until one of the
2247 active jobs is completed, stopped, aborted, or canceled.
</P>
2249 <P>Setting the maximum to
0 disables this functionality. The
2250 default setting is
0.
</P>
2253 <H2 CLASS=
"title"><A NAME=
"MaxLogSize">MaxLogSize
</A></H2>
2257 <PRE CLASS=
"command">
2263 <H3>Description
</H3>
2265 <P>The
<CODE>MaxLogSize
</CODE> directive controls the maximum
2266 size of each log file. Once a log file reaches or exceeds the
2267 maximum size it is closed and renamed to
<VAR>filename.O
</VAR>.
2268 This allows you to rotate the logs automatically. The default
2269 size is
1048576 bytes (
1MB).
</P>
2271 <P>Setting the maximum size to
0 disables log rotation.
</P>
2274 <H2 CLASS=
"title"><SPAN CLASS=
"info">Deprecated
</SPAN><A NAME=
"MaxRequestSize">MaxRequestSize
</A></H2>
2278 <PRE CLASS=
"command">
2279 MaxRequestSize
10485760
2284 <H3>Description
</H3>
2286 <P>The
<CODE>MaxRequestSize
</CODE> directive controls the maximum
2287 size of print files, IPP requests, and HTML form data in HTTP
2288 POST requests. The default limit is
0 which disables the limit
2291 <P><B>This directive is deprecated and will be removed in a
2292 future CUPS release.
</B> Use the
<A
2293 HREF=
"#LimitRequestBody"><CODE>LimitRequestBody
</CODE></A>
2294 directive instead.
</P>
2297 <H2 CLASS=
"title"><SPAN CLASS=
"info">CUPS
1.4/Mac OS X
10.6</SPAN><A NAME=
"MultipleOperationTimeout">MultipleOperationTimeout
</A></H2>
2301 <PRE CLASS=
"command">
2302 MultipleOperationTimeout
60
2303 MultipleOperationTimeout
300
2304 MultipleOperationTimeout
86400
2307 <H3>Description
</H3>
2309 <P>The
<CODE>MultipleOperationTimeout
</CODE> directive sets the maximum amount
2310 of time between files in a multi-file print job. The default is
300 seconds.
</P>
2313 <H2 CLASS=
"title"><A NAME=
"Order">Order
</A></H2>
2317 <PRE CLASS=
"command">
2318 <Location /path
>
2325 <H3>Description
</H3>
2327 <P>The
<CODE>Order
</CODE> directive defines the default access
2328 control. The following values are supported:
</P>
2332 <LI><CODE>allow,deny
</CODE> - Deny requests by default,
2333 then check the
<A HREF=
"#Allow"><CODE>Allow
</CODE></A>
2334 lines followed by the
<A
2335 HREF=
"#Deny"><CODE>Deny
</CODE></A> lines
</LI>
2337 <LI><CODE>deny,allow
</CODE> - Allow requests by default,
2338 then check the
<A HREF=
"#Deny"><CODE>Deny
</CODE></A>
2339 lines followed by the
<A
2340 HREF=
"#Allow"><CODE>Allow
</CODE></A> lines
</LI>
2344 <P>The
<CODE>Order
</CODE> directive must appear inside a
<A
2345 HREF=
"#Location"><CODE>Location
</CODE></A> or
<A
2346 HREF=
"#Limit"><CODE>Limit
</CODE></A> section.
</P>
2349 <H2 CLASS=
"title"><A NAME=
"PageLog">PageLog
</A></H2>
2353 <PRE CLASS=
"command">
2354 PageLog /var/log/cups/page_log
2355 PageLog /var/log/cups/page_log-%s
2359 <H3>Description
</H3>
2361 <P>The
<CODE>PageLog
</CODE> directive sets the name of the page
2362 log file. If the filename is not absolute then it is assumed to
2363 be relative to the
<A
2364 HREF=
"#ServerRoot"><CODE>ServerRoot
</CODE></A> directory. The
2365 default page log file is
<VAR>@CUPS_LOGDIR@/page_log
</VAR>.
</P>
2367 <P>The server name can be included in the filename by using
2368 <CODE>%s
</CODE> in the name.
</P>
2370 <P>The special name
"syslog" can be used to send the page
2371 information to the system log instead of a plain file.
</P>
2374 <H2 CLASS=
"title"><A NAME=
"PageLogFormat">PageLogFormat
</A></H2>
2378 <PRE CLASS=
"command">
2379 PageLogFormat %p %u %j %T %P %C %{job-billing} %{job-originating-host-name} %{job-name} %{media} %{sides}
2380 PageLogFormat PAGE %p %u %j %P %C %{job-billing} %{job-originating-host-name}
2383 <H3>Description
</H3>
2385 <P>The
<CODE>PageLogFormat
</CODE> directive sets the format of lines
2386 that are logged to the page log file. Sequences beginning with percent (%)
2387 characters are replaced with the corresponding information, while all other
2388 characters are copied literally. The following percent sequences are
2393 <LI><CODE>%%
</CODE>: Inserts a single percent character.
</LI>
2395 <LI><CODE>%{name}
</CODE>: Inserts the value of the specified IPP
2398 <LI><CODE>%C
</CODE>: Inserts the number of copies for the current page.
</LI>
2400 <LI><CODE>%P
</CODE>: Inserts the current page number.
</LI>
2402 <LI><CODE>%T
</CODE>: Inserts the current date and time in common log
2405 <LI><CODE>%j
</CODE>: Inserts the job ID.
</LI>
2407 <LI><CODE>%p
</CODE>: Inserts the printer name.
</LI>
2409 <LI><CODE>%u
</CODE>: Inserts the username.
</LI>
2413 <P>The default is
"%p %u %j %T %P %C %{job-billing} %{job-originating-host-name} %{job-name} %{media} %{sides}".
</P>
2416 <H2 CLASS=
"title"><SPAN CLASS=
"info">CUPS
1.2/Mac OS X
10.5</SPAN><A NAME=
"PassEnv">PassEnv
</A></H2>
2420 <PRE CLASS=
"command">
2421 PassEnv MY_ENV_VARIABLE
2424 <H3>Description
</H3>
2426 <P>The
<CODE>PassEnv
</CODE> directive specifies an environment
2427 variable that should be passed to child processes. Normally, the
2428 scheduler only passes the
<CODE>DYLD_LIBRARY_PATH
</CODE>,
2429 <CODE>LD_ASSUME_KERNEL
</CODE>,
<CODE>LD_LIBRARY_PATH
</CODE>,
2430 <CODE>LD_PRELOAD
</CODE>,
<CODE>NLSPATH
</CODE>,
2431 <CODE>SHLIB_PATH
</CODE>,
<CODE>TZ
</CODE>, and
<CODE>VGARGS
</CODE>
2432 environment variables to child processes.
</P>
2435 <H2 CLASS=
"title"><SPAN CLASS=
"info">CUPS
1.2/Mac OS X
10.5</SPAN><A NAME=
"Policy">Policy
</A></H2>
2439 <PRE CLASS=
"command">
2441 <Limit operation ... operation
>
2444 <Limit operation ... operation
>
2453 <H3>Description
</H3>
2455 <P>The
<CODE>Policy
</CODE> directive specifies IPP operation
2456 access control limits. Each policy contains
1 or more
<A
2457 HREF=
"#LimitIPP"><CODE>Limit
</CODE></A> sections to set the
2458 access control limits for specific operations - user limits,
2459 authentication, encryption, and allowed/denied addresses,
2460 domains, or hosts. The
<CODE><Limit All
></CODE> section
2461 specifies the default access control limits for operations that
2464 <P>Policies are named and associated with printers via the
2465 printer's operation policy setting
2466 (
<CODE>printer-op-policy
</CODE>). The default policy for the
2467 scheduler is specified using the
<A
2468 HREF=
"#DefaultPolicy"><CODE>DefaultPolicy
</CODE></A>
2472 <H2 CLASS=
"title"><A NAME=
"Port">Port
</A></H2>
2476 <PRE CLASS=
"command">
2481 <H3>Description
</H3>
2483 <P>The
<CODE>Port
</CODE> directive specifies a port to listen on.
2484 Multiple
<CODE>Port
</CODE> lines can be specified to listen on
2485 multiple ports. The
<CODE>Port
</CODE> directive is equivalent to
2486 "<CODE>Listen *:nnn</CODE>". The default port is
631.
</P>
2488 <BLOCKQUOTE><B>Note:
</B>
2490 <P>On systems that support IPv6, this directive will bind to both
2491 the IPv4 and IPv6 wildcard address.
</P>
2496 <H2 CLASS=
"title"><A NAME=
"PreserveJobHistory">PreserveJobHistory
</A></H2>
2500 <PRE CLASS=
"command">
2501 PreserveJobHistory On
2502 PreserveJobHistory Off
2505 <H3>Description
</H3>
2507 <P>The
<CODE>PreserveJobHistory
</CODE> directive controls whether
2508 the history of completed, canceled, or aborted print jobs is
2511 <P>A value of
<CODE>On
</CODE> (the default) preserves job
2512 information until the administrator purges it with the
2513 <CODE>cancel
</CODE> command.
</P>
2515 <P>A value of
<CODE>Off
</CODE> removes the job information as
2516 soon as each job is completed, canceled, or aborted.
</P>
2519 <H2 CLASS=
"title"><A NAME=
"PreserveJobFiles">PreserveJobFiles
</A></H2>
2523 <PRE CLASS=
"command">
2525 PreserveJobFiles Off
2528 <H3>Description
</H3>
2530 <P>The
<CODE>PreserveJobFiles
</CODE> directive controls whether
2531 the document files of completed, canceled, or aborted print jobs
2532 are stored on disk.
</P>
2534 <P>A value of
<CODE>On
</CODE> preserves job files until the
2535 administrator purges them with the
<CODE>cancel
</CODE> command.
2536 Jobs can be restarted (and reprinted) as desired until they are
2539 <P>A value of
<CODE>Off
</CODE> (the default) removes the job
2540 files as soon as each job is completed, canceled, or aborted.
</P>
2543 <H2 CLASS=
"title"><A NAME=
"Printcap">Printcap
</A></H2>
2547 <PRE CLASS=
"command">
2549 Printcap /etc/printcap
2550 Printcap /etc/printers.conf
2551 Printcap /Library/Preferences/org.cups.printers.plist
2554 <H3>Description
</H3>
2556 <P>The
<CODE>Printcap
</CODE> directive controls whether or not a
2557 printcap file is automatically generated and updated with a list
2558 of available printers. If specified with no value, then no
2559 printcap file will be generated. The default is to generate a
2560 file named
<VAR>@CUPS_DEFAUL_PRINTCAP@
</VAR>.
</P>
2562 <P>When a filename is specified (e.g.
<VAR>@CUPS_DEFAULT_PRINTCAP@
</VAR>),
2563 the printcap file is written whenever a printer is added or
2564 removed. The printcap file can then be used by applications that
2565 are hardcoded to look at the printcap file for the available
2569 <H2 CLASS=
"title"><A NAME=
"PrintcapFormat">PrintcapFormat
</A></H2>
2573 <PRE CLASS=
"command">
2575 PrintcapFormat Solaris
2576 PrintcapFormat plist
2579 <H3>Description
</H3>
2581 <P>The
<CODE>PrintcapFormat
</CODE> directive controls the output format of the
2582 printcap file. The default is to generate the plist format on Mac OS X, the
2583 Solaris format on Solaris, and the BSD format on other operating systems.
</P>
2586 <H2 CLASS=
"title"><SPAN CLASS=
"info">CUPS
1.1.13</SPAN><A NAME=
"PrintcapGUI">PrintcapGUI
</A></H2>
2590 <PRE CLASS=
"command">
2591 PrintGUI /usr/bin/glpoptions
2594 <H3>Description
</H3>
2596 <P>The
<CODE>PrintcapGUI
</CODE> directive sets the program to
2597 associate with the IRIX printer GUI interface script which is
2598 used by IRIX applications to display printer-specific options.
2599 There is no default program.
</P>
2602 <H2 CLASS=
"title"><SPAN CLASS=
"info">CUPS
1.1.21</SPAN><A NAME=
"ReloadTimeout">ReloadTimeout
</A></H2>
2606 <PRE CLASS=
"command">
2611 <H3>Description
</H3>
2613 <P>The
<CODE>ReloadTimeout
</CODE> directive specifies the number
2614 of seconds the scheduler will wait for active jobs to complete
2615 before doing a restart. The default is
30 seconds.
</P>
2618 <H2 CLASS=
"title"><SPAN CLASS=
"info">CUPS
1.1.3</SPAN><A NAME=
"RemoteRoot">RemoteRoot
</A></H2>
2622 <PRE CLASS=
"command">
2627 <H3>Description
</H3>
2629 <P>The
<CODE>RemoteRoot
</CODE> directive sets the username for
2630 unauthenticated root requests from remote hosts. The default
2631 username is
<VAR>remroot
</VAR>. Setting
<CODE>RemoteRoot
</CODE>
2632 to
<VAR>root
</VAR> effectively disables this security
2636 <H2 CLASS=
"title"><A NAME=
"RequestRoot">RequestRoot
</A></H2>
2640 <PRE CLASS=
"command">
2641 RequestRoot /var/spool/cups
2642 RequestRoot /foo/bar/spool/cups
2645 <H3>Description
</H3>
2647 <P>The
<CODE>RequestRoot
</CODE> directive sets the directory for
2648 incoming IPP requests and HTML forms. If an absolute path is not
2649 provided then it is assumed to be relative to the
<A
2650 HREF=
"#ServerRoot"><CODE>ServerRoot
</CODE></A> directory. The
2651 default request directory is
<VAR>@CUPS_REQUESTS@
</VAR>.
</P>
2654 <H2 CLASS=
"title"><SPAN CLASS=
"info">CUPS
1.1.7</SPAN><A NAME=
"Require">Require
</A></H2>
2658 <PRE CLASS=
"command">
2659 <Location /path
>
2661 Require group foo bar
2662 Require user john mary
2664 Require user @groupname
2665 Require user @SYSTEM
2670 <H3>Description
</H3>
2672 <P>The
<CODE>Require
</CODE> directive specifies that
2673 authentication is required for the resource. The
2674 <CODE>group
</CODE> keyword specifies that the authenticated user
2675 must be a member of one or more of the named groups that
2678 <P>The
<CODE>user
</CODE> keyword specifies that the
2679 authenticated user must be one of the named users or groups that
2680 follow. Group names are specified using the
"@" prefix.
</P>
2682 <P>The
<CODE>valid-user
</CODE> keyword specifies that any
2683 authenticated user may access the resource.
</P>
2685 <P>The default is to do no authentication. This directive must
2686 appear inside a
<A HREF=
"#Location"><CODE>Location
</CODE></A> or
2687 <A HREF=
"#Limit"><CODE>Limit
</CODE></A> section.
</P>
2690 <H2 CLASS=
"title"><A NAME=
"RIPCache">RIPCache
</A></H2>
2694 <PRE CLASS=
"command">
2700 <H3>Description
</H3>
2702 <P>The
<CODE>RIPCache
</CODE> directive sets the size of the
2703 memory cache used by Raster Image Processor (
"RIP") filters such
2704 as
<CODE>imagetoraster
</CODE> and
<CODE>pstoraster
</CODE>. The
2705 size can be suffixed with a
"k" for kilobytes,
"m" for megabytes,
2706 or
"g" for gigabytes. The default cache size is
"8m", or
8
2710 <H2 CLASS=
"title"><SPAN CLASS=
"info">CUPS
1.1.16</SPAN><A NAME=
"RootCertDuration">RootCertDuration
</A></H2>
2714 <PRE CLASS=
"command">
2716 RootCertDuration
300
2719 <H3>Description
</H3>
2721 <P>The
<CODE>RootCertDuration
</CODE> directive specifies the
2722 number of seconds the
<EM>root certificate
</EM> remains valid.
2723 The scheduler will generate a new certificate as needed when the
2724 number of seconds has expired. If set to
0, the root certificate
2725 is generated only once on startup or on a restart. The default is
2729 <H2 CLASS=
"title"><SPAN CLASS=
"info">CUPS
1.1.7</SPAN><A NAME=
"Satisfy">Satisfy
</A></H2>
2733 <PRE CLASS=
"command">
2734 <Location /path
>
2741 <H3>Description
</H3>
2743 <P>The
<CODE>Satisfy
</CODE> directive specifies whether all
2744 conditions must be satisfied to allow access to the resource. If
2745 set to
<CODE>all
</CODE>, then all authentication and access
2746 control conditions must be satified to allow access.
</P>
2748 <P>Setting
<CODE>Satisfy
</CODE> to
<CODE>any
</CODE> allows a user
2749 to gain access if the authentication or access control
2750 requirements are satisfied. For example, you might require
2751 authentication for remote access, but allow local access without
2754 <P>The default is
<CODE>all
</CODE>. This directive must appear
2755 inside a
<A HREF=
"#Location"><CODE>Location
</CODE></A> or
<A
2756 HREF=
"#Limit"><CODE>Limit
</CODE></A> section.
</P>
2759 <H2 CLASS=
"title"><A NAME=
"ServerAdmin">ServerAdmin
</A></H2>
2763 <PRE CLASS=
"command">
2764 ServerAdmin user@host
2765 ServerAdmin root@foo.bar.com
2768 <H3>Description
</H3>
2770 <P>The
<CODE>ServerAdmin
</CODE> directive identifies the email
2771 address for the administrator on the system. By default the
2772 administrator email address is
<CODE>root@server
</CODE>, where
2773 <CODE>server
</CODE> is the
<A
2774 HREF=
"#ServerName"><CODE>ServerName
</CODE></A>.
</P>
2777 <H2 CLASS=
"title"><SPAN CLASS=
"info">CUPS
1.3.10</SPAN><A NAME=
"ServerAlias">ServerAlias
</A></H2>
2781 <PRE CLASS=
"command">
2783 ServerAlias althost.foo.com
2784 ServerAlias althost.bar.com
2788 <H3>Description
</H3>
2790 <P>The
<CODE>ServerAlias
</CODE> directive specifies alternate names that the
2791 server is known by. By default it contains a list of all aliases associated
2792 with the
<A HREF=
"#ServerName"><CODE>ServerName
</CODE></A>. The special name
2793 "*" can be used to allow any hostname when accessing CUPS via an external
2794 network interfaces.
</P>
2796 <BLOCKQUOTE><B>Note
</B>
2798 <P>The
<CODE>ServerAlias
</CODE> directive is used for HTTP Host header
2799 validation when clients connect to the scheduler from external interfaces.
2800 Using the special name
"*" can expose your system to known browser-based
2801 DNS rebinding attacks, even when accessing sites through a firewall. If the
2802 auto-discovery of alternate names does not work, we recommend listing each
2803 alternate name with a ServerAlias directive instead of using
"*".
</P>
2808 <H2 CLASS=
"title"><A NAME=
"ServerBin">ServerBin
</A></H2>
2812 <PRE CLASS=
"command">
2813 ServerBin /usr/lib/cups
2814 ServerBin /foo/bar/lib/cups
2817 <H3>Description
</H3>
2819 <P>The
<CODE>ServerBin
</CODE> directive sets the directory for
2820 server-run executables. If an absolute path is not provided then
2821 it is assumed to be relative to the
<A
2822 HREF=
"#ServerRoot"><CODE>ServerRoot
</CODE></A> directory. The
2823 default executable directory is
<VAR>/usr/lib/cups
</VAR>,
2824 <VAR>/usr/lib32/cups
</VAR>, or
<VAR>/usr/libexec/cups
</VAR>
2825 depending on the operating system.
</P>
2828 <H2 CLASS=
"title"><A NAME=
"ServerCertificate">ServerCertificate
</A></H2>
2832 <PRE CLASS=
"command">
2833 ServerCertificate /etc/cups/ssl/server.crt
2836 <H3>Description
</H3>
2838 <P>The
<CODE>ServerCertificate
</CODE> directive specifies the
2839 location of the SSL certificate file used by the server when
2840 negotiating encrypted connections. The certificate must not be
2841 encrypted (password protected) since the scheduler normally runs
2842 in the background and will be unable to ask for a password.
</P>
2844 <P>The default certificate file is
2845 <VAR>/etc/cups/ssl/server.crt
</VAR>.
</P>
2848 <H2 CLASS=
"title"><A NAME=
"ServerKey">ServerKey
</A></H2>
2852 <PRE CLASS=
"command">
2853 ServerKey /etc/cups/ssl/server.key
2856 <H3>Description
</H3>
2858 <P>The
<CODE>ServerKey
</CODE> directive specifies the location of
2859 the SSL private key file used by the server when negotiating
2860 encrypted connections.
</P>
2862 <P>The default key file is
2863 <VAR>/etc/cups/ssl/server.crt
</VAR>.
</P>
2866 <H2 CLASS=
"title"><A NAME=
"ServerName">ServerName
</A></H2>
2870 <PRE CLASS=
"command">
2871 ServerName foo.domain.com
2872 ServerName myserver.domain.com
2875 <H3>Description
</H3>
2877 <P>The
<CODE>ServerName
</CODE> directive specifies the hostname
2878 that is reported to clients. By default the server name is the
2882 <H2 CLASS=
"title"><A NAME=
"ServerRoot">ServerRoot
</A></H2>
2886 <PRE CLASS=
"command">
2887 ServerRoot /etc/cups
2888 ServerRoot /foo/bar/cups
2891 <H3>Description
</H3>
2893 <P>The
<CODE>ServerRoot
</CODE> directive specifies the absolute
2894 path to the server configuration and state files. It is also used
2895 to resolve relative paths in the
<VAR>cupsd.conf
</VAR> file. The
2896 default server directory is
<VAR>/etc/cups
</VAR>.
</P>
2899 <H2 CLASS=
"title"><SPAN CLASS=
"info">CUPS
1.1.21</SPAN><A NAME=
"ServerTokens">ServerTokens
</A></H2>
2903 <PRE CLASS=
"command">
2905 ServerTokens ProductOnly
2908 ServerTokens Minimal
2913 <H3>Description
</H3>
2915 <P>The
<CODE>ServerTokens
</CODE> directive specifies the
2916 information that is included in the
<CODE>Server:
</CODE> header
2917 of all HTTP responses. Table
4 lists the token name along with
2918 the text that is returned. The default is
2919 <CODE>Minimal
</CODE>.
</P>
2921 <DIV CLASS=
"table"><TABLE SUMMARY=
"ServerToken Names and Values">
2922 <CAPTION>Table
4:
<A NAME=
"TABLE4">ServerToken Names and Values
</A></CAPTION>
2932 <TD>No
<CODE>Server:
</CODE> header is returned
</TD>
2935 <TD>ProductOnly
</TD>
2948 <TD>"CUPS 1.2.N" where N is the patch release
</TD>
2952 <TD>"CUPS 1.2.N (UNAME)" where N is the patch release and
2953 UNAME is the output of the
<B>uname(
1)
</B> command
</TD>
2957 <TD>"CUPS 1.2.N (UNAME) IPP/1.1" where N is the patch
2958 release and UNAME is the output of the
<B>uname(
1)
</B>
2965 <H2 CLASS=
"title"><SPAN CLASS=
"info">CUPS
1.2/Mac OS X
10.5</SPAN><A NAME=
"SetEnv">SetEnv
</A></H2>
2969 <PRE CLASS=
"command">
2970 SetEnv PATH /usr/lib/cups/filter:/bin:/usr/bin:/usr/local/bin
2971 SetEnv MY_ENV_VAR foo
2974 <H3>Description
</H3>
2976 <P>The
<CODE>SetEnv
</CODE> directive specifies an environment
2977 variable that should be passed to child processes.
</P>
2980 <H2 CLASS=
"title"><A NAME=
"SSLListen">SSLListen
</A></H2>
2984 <PRE CLASS=
"command">
2985 SSLListen
127.0.0.1:
443
2986 SSLListen
192.0.2.1:
443
2989 <H3>Description
</H3>
2991 <P>The
<CODE>SSLListen
</CODE> directive specifies a network
2992 address and port to listen for secure connections. Multiple
2993 <CODE>SSLListen
</CODE> directives can be provided to listen on
2994 multiple addresses.
</P>
2996 <P>The
<CODE>SSLListen
</CODE> directive is similar to the
<A
2997 HREF=
"#SSLPort"><CODE>SSLPort
</CODE></A> directive but allows you
2998 to restrict access to specific interfaces or networks.
</P>
3001 <H2 CLASS=
"title"><A NAME=
"SSLOptions">SSLOptions
</A></H2>
3005 <PRE CLASS=
"command">
3007 SSLOptions NoEmptyFragments
3010 <H3>Description
</H3>
3012 <P>The
<CODE>SSLOptions
</CODE> directive specifies additional SSL/TLS
3013 protocol options to use for encrypted connected. Currently only two
3014 options are supported -
<code>None
</code> (the default) for the most
3015 secure mode and
<code>NoEmptyFragments
</code> to allow CUPS to work with
3016 Microsoft Windows with the FIPS conformance mode enabled.
</p>
3019 <H2 CLASS=
"title"><A NAME=
"SSLPort">SSLPort
</A></H2>
3023 <PRE CLASS=
"command">
3027 <H3>Description
</H3>
3029 <P>The
<CODE>SSLPort
</CODE> directive specifies a port to listen
3030 on for secure connections. Multiple
<CODE>SSLPort
</CODE> lines
3031 can be specified to listen on multiple ports.
</P>
3034 <H2 CLASS=
"title"><SPAN CLASS=
"info">CUPS
1.5</SPAN><A NAME=
"SubscriptionPrivateAccess">SubscriptionPrivateAccess
</A></H2>
3038 <PRE CLASS=
"command">
3039 SubscriptionPrivateAccess all
3040 SubscriptionPrivateAccess default
3041 SubscriptionPrivateAccess {user|@group|@ACL|@OWNER|@SYSTEM}+
3044 <H3>Description
</H3>
3046 <P>The
<CODE>SubscriptionPrivateAccess
</CODE> directive specifies the access list for a
3047 subscription's private values. The
"default" access list is
"@OWNER @SYSTEM".
3048 "@ACL" maps to the printer's requesting-user-name-allowed or
3049 requesting-user-name-denied values.
</P>
3051 <P>The
<CODE>SubscriptionPrivateAccess
</CODE> directive must appear inside a
<A
3052 HREF=
"#Policy"><CODE>Policy
</CODE></A> section.
</P>
3055 <H2 CLASS=
"title"><SPAN CLASS=
"info">CUPS
1.5</SPAN><A NAME=
"SubscriptionPrivateValues">SubscriptionPrivateValues
</A></H2>
3059 <PRE CLASS=
"command">
3060 SubscriptionPrivateValues all
3061 SubscriptionPrivateValues default
3062 SubscriptionPrivateValues none
3063 SubscriptionPrivateValues attribute-name-
1 [ ... attribute-name-N ]
3066 <H3>Description
</H3>
3068 <P>The
<CODE>SubscriptionPrivateValues
</CODE> directive specifies the list of
3069 subscription values to make private. The
"default" values are
"notify-events",
3070 "notify-pull-method",
"notify-recipient-uri",
"notify-subscriber-user-name", and
3071 "notify-user-data".
</P>
3073 <P>The
<CODE>SubscriptionPrivateValues
</CODE> directive must appear inside a
<A
3074 HREF=
"#Policy"><CODE>Policy
</CODE></A> section.
</P>
3077 <H2 CLASS=
"title"><A NAME=
"SystemGroup">SystemGroup
</A></H2>
3081 <PRE CLASS=
"command">
3086 SystemGroup root lpadmin
3089 <H3>Description
</H3>
3091 <P>The
<CODE>SystemGroup
</CODE> directive specifies the system
3092 administration group for
<CODE>System
</CODE> authentication.
3093 Multiple groups can be listed, separated with spaces. The default
3094 group list is
<CODE>@CUPS_SYSTEM_GROUPS@
</CODE>.
</P>
3097 <H2 CLASS=
"title"><A NAME=
"TempDir">TempDir
</A></H2>
3101 <PRE CLASS=
"command">
3103 TempDir /foo/bar/tmp
3106 <H3>Description
</H3>
3108 <P>The
<CODE>TempDir
</CODE> directive specifies an absolute path
3109 for the directory to use for temporary files. The default
3110 directory is
<VAR>@CUPS_REQUESTS@/tmp
</VAR>.
</P>
3112 <P>Temporary directories must be world-writable and should have
3113 the
"sticky" permission bit enabled so that other users cannot
3114 delete filter temporary files. The following commands will create
3115 an appropriate temporary directory called
3116 <VAR>/foo/bar/tmp
</VAR>:
</P>
3118 <PRE CLASS=
"command">
3119 <KBD>mkdir /foo/bar/tmp
</KBD>
3120 <KBD>chmod a+rwxt /foo/bar/tmp
</KBD>
3124 <H2 CLASS=
"title"><A NAME=
"Timeout">Timeout
</A></H2>
3128 <PRE CLASS=
"command">
3133 <H3>Description
</H3>
3135 <P>The
<CODE>Timeout
</CODE> directive controls the amount of time
3136 to wait before an active HTTP or IPP request times out. The
3137 default timeout is
300 seconds.
</P>
3140 <H2 CLASS=
"title"><SPAN CLASS=
"info">CUPS
1.2/Mac OS X
10.5</SPAN><A NAME=
"UseNetworkDefault">UseNetworkDefault
</A></H2>
3144 <PRE CLASS=
"command">
3145 UseNetworkDefault yes
3146 UseNetworkDefault no
3149 <H3>Description
</H3>
3151 <P>The
<CODE>UseNetworkDefault
</CODE> directive controls whether
3152 the client will use a network/remote printer as a default
3153 printer. If enabled, the default printer of a server is used as
3154 the default printer on a client. When multiple servers are
3155 advertising a default printer, the client's default printer is
3156 set to the first discovered printer, or to the implicit class for
3157 the same printer available from multiple servers.
</P>
3159 <P>The default is
<CODE>@CUPS_USE_NETWORK_DEFAULT@
</CODE>.
</P>
3162 <H2 CLASS=
"title"><A NAME=
"User">User
</A></H2>
3166 <PRE CLASS=
"command">
3171 <H3>Description
</H3>
3173 <P>The
<CODE>User
</CODE> directive specifies the UNIX user that
3174 filter and CGI programs run as. The default user is
3175 <CODE>@CUPS_USER@
</CODE>.
</P>
3177 <BLOCKQUOTE><B>Note:
</B>
3179 <P>You may not use user
<CODE>root
</CODE>, as that would expose
3180 the system to unacceptable security risks. The scheduler will
3181 automatically choose user
<CODE>nobody
</CODE> if you specify a
3182 user whose ID is
0.
</P>
3187 <H2 CLASS=
"title"><SPAN CLASS=
"INFO">CUPS
1.5</SPAN><A NAME=
"WebInterface">WebInterface
</A></H2>
3191 <PRE CLASS=
"command">
3196 <H3>Description
</H3>
3198 <P>The
<CODE>WebInterface
</CODE> directive specifies whether the web interface is enabled. The default value is
<CODE>@CUPS_WEBIF@
</CODE>.
</P>