]> git.ipfire.org Git - thirdparty/cups.git/blob - man/cupsd.conf.man.in
Import experimental work-in-progress HTTP/2 branch
[thirdparty/cups.git] / man / cupsd.conf.man.in
1 .\"
2 .\" "$Id: cupsd.conf.man.in 13138 2016-03-15 14:59:54Z msweet $"
3 .\"
4 .\" cupsd.conf man page for CUPS.
5 .\"
6 .\" Copyright 2007-2015 by Apple Inc.
7 .\" Copyright 1997-2006 by Easy Software Products.
8 .\"
9 .\" These coded instructions, statements, and computer programs are the
10 .\" property of Apple Inc. and are protected by Federal copyright
11 .\" law. Distribution and use rights are outlined in the file "LICENSE.txt"
12 .\" which should have been included with this file. If this file is
13 .\" file is missing or damaged, see the license at "http://www.cups.org/".
14 .\"
15 .TH cupsd.conf 5 "CUPS" "30 June 2015" "Apple Inc."
16 .SH NAME
17 cupsd.conf \- server configuration file for cups
18 .SH DESCRIPTION
19 The
20 .I cupsd.conf
21 file configures the CUPS scheduler,
22 .BR cupsd (8).
23 It is normally located in the
24 .I /etc/cups
25 directory.
26 \fBNote:\fR File, directory, and user configuration directives that used to be allowed in the \fBcupsd.conf\fR file are now stored in the
27 .BR cups-files.conf (5)
28 file instead in order to prevent certain types of privilege escalation attacks.
29 .LP
30 Each line in the file can be a configuration directive, a blank line, or a comment.
31 Configuration directives typically consist of a name and zero or more values separated by whitespace.
32 The configuration directive name and values are case-insensitive.
33 Comment lines start with the # character.
34 .SS TOP-LEVEL DIRECTIVES
35 The following top-level directives are understood by
36 .BR cupsd (8):
37 .\"#AccessLogLevel
38 .TP 5
39 \fBAccessLogLevel config\fR
40 .TP 5
41 \fBAccessLogLevel actions\fR
42 .TP 5
43 \fBAccessLogLevel all\fR
44 Specifies the logging level for the AccessLog file.
45 The "config" level logs when printers and classes are added, deleted, or modified and when configuration files are accessed or updated.
46 The "actions" level logs when print jobs are submitted, held, released, modified, or canceled, and any of the conditions for "config".
47 The "all" level logs all requests.
48 The default access log level is "actions".
49 .\"#AutoPurgeJobs
50 .TP 5
51 \fBAutoPurgeJobs Yes\fR
52 .TP 5
53 \fBAutoPurgeJobs No\fR
54 .br
55 Specifies whether to purge job history data automatically when it is no longer required for quotas.
56 The default is "No".
57 .\"#BrowseLocalProtocols
58 .TP 5
59 \fBBrowseLocalProtocols all\fR
60 .TP 5
61 \fBBrowseLocalProtocols dnssd\fR
62 .TP 5
63 \fBBrowseLocalProtocols none\fR
64 Specifies which protocols to use for local printer sharing.
65 The default is "dnssd" on systems that support Bonjour and "none" otherwise.
66 .\"#BrowseWebIF
67 .TP 5
68 \fBBrowseWebIF Yes\fR
69 .TP 5
70 \fBBrowseWebIF No\fR
71 .br
72 Specifies whether the CUPS web interface is advertised.
73 The default is "No".
74 .\"#Browsing
75 .TP 5
76 \fBBrowsing Yes\fR
77 .TP 5
78 \fBBrowsing No\fR
79 .br
80 Specifies whether shared printers are advertised.
81 The default is "No".
82 .\"#Classification
83 .TP 5
84 \fBClassification \fIbanner\fR
85 .br
86 Specifies the security classification of the server.
87 Any valid banner name can be used, including "classified", "confidential", "secret", "topsecret", and "unclassified", or the banner can be omitted to disable secure printing functions.
88 The default is no classification banner.
89 .\"#ClassifyOverride
90 .TP 5
91 \fBClassifyOverride Yes\fR
92 .TP 5
93 \fBClassifyOverride No\fR
94 .br
95 Specifies whether users may override the classification (cover page) of individual print jobs using the "job-sheets" option.
96 The default is "No".
97 .\"#DefaultAuthType
98 .TP 5
99 \fBDefaultAuthType Basic\fR
100 .TP 5
101 \fBDefaultAuthType Negotiate\fR
102 .br
103 Specifies the default type of authentication to use.
104 The default is "Basic".
105 .\"#DefaultEncryption
106 .TP 5
107 \fBDefaultEncryption Never\fR
108 .TP 5
109 \fBDefaultEncryption IfRequested\fR
110 .TP 5
111 \fBDefaultEncryption Required\fR
112 Specifies whether encryption will be used for authenticated requests.
113 The default is "Required".
114 .\"#DefaultLanguage
115 .TP 5
116 \fBDefaultLanguage \fIlocale\fR
117 Specifies the default language to use for text and web content.
118 The default is "en".
119 .\"#DefaultPaperSize
120 .TP 5
121 \fBDefaultPaperSize Auto\fR
122 .TP 5
123 \fBDefaultPaperSize None\fR
124 .TP 5
125 \fBDefaultPaperSize \fIsizename\fR
126 Specifies the default paper size for new print queues. "Auto" uses a locale-specific default, while "None" specifies there is no default paper size.
127 Specific size names are typically "Letter" or "A4".
128 The default is "Auto".
129 .\"#DefaultPolicy
130 .TP 5
131 \fBDefaultPolicy \fIpolicy-name\fR
132 Specifies the default access policy to use.
133 The default access policy is "default".
134 .\"#DefaultShared
135 .TP 5
136 \fBDefaultShared Yes\fR
137 .TP 5
138 \fBDefaultShared No\fR
139 Specifies whether local printers are shared by default.
140 The default is "Yes".
141 .\"#DirtyCleanInterval
142 .TP 5
143 \fBDirtyCleanInterval \fIseconds\fR
144 Specifies the delay for updating of configuration and state files.
145 A value of 0 causes the update to happen as soon as possible, typically within a few milliseconds.
146 The default value is "30".
147 .\"#ErrorPolicy
148 .TP 5
149 \fBErrorPolicy abort-job\fR
150 Specifies that a failed print job should be aborted (discarded) unless otherwise specified for the printer.
151 .TP 5
152 \fBErrorPolicy retry-job\fR
153 Specifies that a failed print job should be retried at a later time unless otherwise specified for the printer.
154 .TP 5
155 \fBErrorPolicy retry-this-job\fR
156 Specifies that a failed print job should be retried immediately unless otherwise specified for the printer.
157 .TP 5
158 \fBErrorPolicy stop-printer\fR
159 Specifies that a failed print job should stop the printer unless otherwise specified for the printer. The 'stop-printer' error policy is the default.
160 .\"#FilterLimit
161 .TP 5
162 \fBFilterLimit \fIlimit\fR
163 Specifies the maximum cost of filters that are run concurrently, which can be used to minimize disk, memory, and CPU resource problems.
164 A limit of 0 disables filter limiting.
165 An average print to a non-PostScript printer needs a filter limit of about 200.
166 A PostScript printer needs about half that (100).
167 Setting the limit below these thresholds will effectively limit the scheduler to printing a single job at any time.
168 The default limit is "0".
169 .\"#FilterNice
170 .TP 5
171 \fBFilterNice \fInice-value\fR
172 Specifies the scheduling priority (
173 .BR nice (8)
174 value) of filters that are run to print a job.
175 The nice value ranges from 0, the highest priority, to 19, the lowest priority.
176 The default is 0.
177 .\"#GSSServiceName
178 .TP 5
179 \fBGSSServiceName \fIname\fR
180 Specifies the service name when using Kerberos authentication.
181 The default service name is "http."
182 .TP 5
183 .\"#HostNameLookups
184 \fBHostNameLookups On\fR
185 .TP 5
186 \fBHostNameLookups Off\fR
187 .TP 5
188 \fBHostNameLookups Double\fR
189 Specifies whether to do reverse lookups on connecting clients.
190 The "Double" setting causes
191 .BR cupsd (8)
192 to verify that the hostname resolved from the address matches one of the addresses returned for that hostname.
193 Double lookups also prevent clients with unregistered addresses from connecting to your server.
194 The default is "Off" to avoid the potential server performance problems with hostname lookups.
195 Only set this option to "On" or "Double" if absolutely required.
196 .\"#JobKillDelay
197 .TP 5
198 \fBJobKillDelay \fIseconds\fR
199 Specifies the number of seconds to wait before killing the filters and backend associated with a canceled or held job.
200 The default is "30".
201 .\"#JobRetryInterval
202 .TP 5
203 \fBJobRetryInterval \fIseconds\fR
204 Specifies the interval between retries of jobs in seconds.
205 This is typically used for fax queues but can also be used with normal print queues whose error policy is "retry-job" or "retry-current-job".
206 The default is "30".
207 .\"#JobRetryLimit
208 .TP 5
209 \fBJobRetryLimit \fIcount\fR
210 Specifies the number of retries that are done for jobs.
211 This is typically used for fax queues but can also be used with normal print queues whose error policy is "retry-job" or "retry-current-job".
212 The default is "5".
213 .\"#KeepAlive
214 .TP 5
215 \fBKeepAlive Yes\fR
216 .TP 5
217 \fBKeepAlive No\fR
218 Specifies whether to support HTTP keep-alive connections.
219 The default is "Yes".
220 .\"#KeepAliveTimeout
221 .TP 5
222 \fBKeepAliveTimeout \fIseconds\fR
223 Specifies how long an idle client connection remains open.
224 The default is "30".
225 .\"#LimitIPP
226 .TP 5
227 \fB<Limit \fIoperation \fR...\fB> \fR... \fB</Limit>\fR
228 Specifies the IPP operations that are being limited inside a Policy section. IPP operation names are listed below in the section "IPP OPERATIONS".
229 .\"#Limit
230 .TP 5
231 \fB<Limit \fImethod \fR...\fB> \fR... \fB</Limit>\fR
232 .\"#LimitExcept
233 .TP 5
234 \fB<LimitExcept \fImethod \fR...\fB> \fR... \fB</LimitExcept>\fR
235 Specifies the HTTP methods that are being limited inside a Location section. HTTP method names are listed below in the section "HTTP METHODS".
236 .\"#LimitRequestBody
237 .TP 5
238 \fBLimitRequestBody \fIsize\fR
239 Specifies the maximum size of print files, IPP requests, and HTML form data.
240 The default is "0" which disables the limit check.
241 .\"#Listen
242 .TP 5
243 \fBListen \fIipv4-address\fB:\fIport\fR
244 .TP 5
245 \fBListen [\fIipv6-address\fB]:\fIport\fR
246 .TP 5
247 \fBListen *:\fIport\fR
248 .TP 5
249 \fBListen \fI/path/to/domain/socket\fR
250 Listens to the specified address and port or domain socket path for connections.
251 Multiple Listen directives can be provided to listen on multiple addresses.
252 The Listen directive is similar to the Port directive but allows you to restrict access to specific interfaces or networks.
253 .\"#ListenBackLog
254 .TP 5
255 \fBListenBackLog \fInumber\fR
256 Specifies the number of pending connections that will be allowed.
257 This normally only affects very busy servers that have reached the MaxClients limit, but can also be triggered by large numbers of simultaneous connections.
258 When the limit is reached, the operating system will refuse additional connections until the scheduler can accept the pending ones.
259 The default is the OS-defined default limit, typically either "5" for older operating systems or "128" for newer operating systems.
260 .\"#Location
261 .TP 5
262 \fB<Location \fI/path\fB> \fR... \fB</Location>\fR
263 Specifies access control for the named location.
264 Paths are documented below in the section "LOCATION PATHS".
265 .\"#LogDebugHistory
266 .TP 5
267 \fBLogDebugHistory \fInumber\fR
268 Specifies the number of debugging messages that are retained for logging if an error occurs in a print job. Debug messages are logged regardless of the LogLevel setting.
269 .\"#LogLevel
270 .TP 5
271 \fBLogLevel \fRnone
272 .TP 5
273 \fBLogLevel \fRemerg
274 .TP 5
275 \fBLogLevel \fRalert
276 .TP 5
277 \fBLogLevel \fRcrit
278 .TP 5
279 \fBLogLevel \fRerror
280 .TP 5
281 \fBLogLevel \fRwarn
282 .TP 5
283 \fBLogLevel \fRnotice
284 .TP 5
285 \fBLogLevel \fRinfo
286 .TP 5
287 \fBLogLevel \fRdebug
288 .TP 5
289 \fBLogLevel \fRdebug2
290 Specifies the level of logging for the ErrorLog file.
291 The value "none" stops all logging while "debug2" logs everything.
292 The default is "warn".
293 .\"#LogTimeFormat
294 .TP 5
295 \fBLogTimeFormat \fRstandard
296 .TP 5
297 \fBLogTimeFormat \fRusecs
298 Specifies the format of the date and time in the log files.
299 The value "standard" is the default and logs whole seconds while "usecs" logs microseconds.
300 .\"#MaxClients
301 .TP 5
302 \fBMaxClients \fInumber\fR
303 Specifies the maximum number of simultaneous clients that are allowed by the scheduler.
304 The default is "100".
305 .\"#MaxClientPerHost
306 .TP 5
307 \fBMaxClientsPerHost \fInumber\fR
308 Specifies the maximum number of simultaneous clients that are allowed from a
309 single address.
310 The default is the MaxClients value.
311 .\"#MaxCopies
312 .TP 5
313 \fBMaxCopies \fInumber\fR
314 Specifies the maximum number of copies that a user can print of each job.
315 The default is "9999".
316 .\"#MaxHoldTime
317 .TP 5
318 \fBMaxHoldTime \fIseconds\fR
319 Specifies the maximum time a job may remain in the "indefinite" hold state before it is canceled.
320 The default is "0" which disables cancellation of held jobs.
321 .\"#MaxJobs
322 .TP 5
323 \fBMaxJobs \fInumber\fR
324 Specifies the maximum number of simultaneous jobs that are allowed.
325 Set to "0" to allow an unlimited number of jobs.
326 The default is "500".
327 .\"#MaxJobsPerPrinter
328 .TP 5
329 \fBMaxJobsPerPrinter \fInumber\fR
330 Specifies the maximum number of simultaneous jobs that are allowed per printer.
331 The default is "0" which allows up to MaxJobs jobs per printer.
332 .\"#MaxJobsPerUser
333 .TP 5
334 \fBMaxJobsPerUser \fInumber\fR
335 Specifies the maximum number of simultaneous jobs that are allowed per user.
336 The default is "0" which allows up to MaxJobs jobs per user.
337 .\"#MaxJobTime
338 .TP 5
339 \fBMaxJobTime \fIseconds\fR
340 Specifies the maximum time a job may take to print before it is canceled.
341 Set to "0" to disable cancellation of "stuck" jobs.
342 The default is "10800" (3 hours).
343 .\"#MaxLogSize
344 .TP 5
345 \fBMaxLogSize \fIsize\fR
346 Specifies the maximum size of the log files before they are rotated.
347 The value "0" disables log rotation.
348 The default is "1048576" (1MB).
349 .\"#MultipleOperationTimeout
350 .TP 5
351 \fBMultipleOperationTimeout \fIseconds\fR
352 Specifies the maximum amount of time to allow between files in a multiple file print job.
353 The default is "300" (5 minutes).
354 .\"#PageLogFormat
355 .TP 5
356 \fBPageLogFormat \fIformat-string\fR
357 Specifies the format of PageLog lines.
358 Sequences beginning with percent (%) characters are replaced with the corresponding information, while all other characters are copied literally.
359 The following percent sequences are recognized:
360 .nf
361
362 "%%" inserts a single percent character.
363 "%{name}" inserts the value of the specified IPP attribute.
364 "%C" inserts the number of copies for the current page.
365 "%P" inserts the current page number.
366 "%T" inserts the current date and time in common log format.
367 "%j" inserts the job ID.
368 "%p" inserts the printer name.
369 "%u" inserts the username.
370
371 .fi
372 The default is the empty string, which disables page logging.
373 The string "%p %u %j %T %P %C %{job-billing} %{job-originating-host-name} %{job-name} %{media} %{sides}" creates a page log with the standard items.
374 .\"#PassEnv
375 .TP 5
376 \fBPassEnv \fIvariable \fR[ ... \fIvariable \fR]
377 Passes the specified environment variable(s) to child processes.
378 .\"#Policy
379 .TP 5
380 \fB<Policy \fIname\fB> \fR... \fB</Policy>\fR
381 Specifies access control for the named policy.
382 .\"#Port
383 .TP 5
384 \fBPort \fInumber\fR
385 Listens to the specified port number for connections.
386 .\"#PreserveJobFiles
387 .TP 5
388 \fBPreserveJobFiles Yes\fR
389 .TP 5
390 \fBPreserveJobFiles No\fR
391 .TP 5
392 \fBPreserveJobFiles \fIseconds\fR
393 Specifies whether job files (documents) are preserved after a job is printed.
394 If a numeric value is specified, job files are preserved for the indicated number of seconds after printing.
395 The default is "86400" (preserve 1 day).
396 .\"#PreserveJobHistory
397 .TP 5
398 \fBPreserveJobHistory Yes\fR
399 .TP 5
400 \fBPreserveJobHistory No\fR
401 .TP 5
402 \fBPreserveJobHistory \fIseconds\fR
403 Specifies whether the job history is preserved after a job is printed.
404 If a numeric value is specified, the job history is preserved for the indicated number of seconds after printing.
405 If "Yes", the job history is preserved until the MaxJobs limit is reached.
406 The default is "Yes".
407 .\"#ReloadTimeout
408 .TP 5
409 \fBReloadTimeout \fIseconds\fR
410 Specifies the amount of time to wait for job completion before restarting the scheduler.
411 The default is "30".
412 .\"#RIPCache
413 .TP 5
414 \fBRIPCache \fIsize\fR
415 Specifies the maximum amount of memory to use when converting documents into bitmaps for a printer.
416 The default is "128m".
417 .\"#ServerAdmin
418 .TP 5
419 \fBServerAdmin \fIemail-address\fR
420 Specifies the email address of the server administrator.
421 The default value is "root@ServerName".
422 .\"#ServerAlias
423 .TP 5
424 \fBServerAlias \fIhostname \fR[ ... \fIhostname \fR]
425 .TP 5
426 \fBServerAlias *\fR
427 The ServerAlias directive is used for HTTP Host header validation when clients connect to the scheduler from external interfaces.
428 Using the special name "*" can expose your system to known browser-based DNS rebinding attacks, even when accessing sites through a firewall.
429 If the auto-discovery of alternate names does not work, we recommend listing each alternate name with a ServerAlias directive instead of using "*".
430 .\"#ServerName
431 .TP 5
432 \fBServerName \fIhostname\fR
433 Specifies the fully-qualified hostname of the server.
434 The default is the value reported by the
435 .BR hostname (1)
436 command.
437 .\"#ServerTokens
438 .TP 5
439 \fBServerTokens None\fR
440 .TP 5
441 \fBServerTokens ProductOnly\fR
442 .TP 5
443 \fBServerTokens Major\fR
444 .TP 5
445 \fBServerTokens Minor\fR
446 .TP 5
447 \fBServerTokens Minimal\fR
448 .TP 5
449 \fBServerTokens OS\fR
450 .TP 5
451 \fBServerTokens Full\fR
452 Specifies what information is included in the Server header of HTTP responses.
453 "None" disables the Server header.
454 "ProductOnly" reports "CUPS".
455 "Major" reports "CUPS 2".
456 "Minor" reports "CUPS 2.0".
457 "Minimal" reports "CUPS 2.0.0".
458 "OS" reports "CUPS 2.0.0 (UNAME)" where UNAME is the output of the
459 .BR uname (1)
460 command.
461 "Full" reports "CUPS 2.0.0 (UNAME) IPP/2.0".
462 The default is "Minimal".
463 .\"#SetEnv
464 .TP 5
465 \fBSetEnv \fIvariable value\fR
466 Set the specified environment variable to be passed to child processes.
467 .\"#SSLListen
468 .TP 5
469 \fBSSLListen \fIipv4-address\fB:\fIport\fR
470 .TP 5
471 \fBSSLListen [\fIipv6-address\fB]:\fIport\fR
472 .TP 5
473 \fBSSLListen *:\fIport\fR
474 Listens on the specified address and port for encrypted connections.
475 .\"#SSLOptions
476 .TP 5
477 \fBSSLOptions \fR[\fIAllowRC4\fR] [\fIAllowSSL3\fR]
478 .TP 5
479 \fBSSLOptions None\fR
480 Sets encryption options.
481 By default, CUPS only supports encryption using TLS v1.0 or higher using known secure cipher suites.
482 The \fIAllowRC4\fR option enables the 128-bit RC4 cipher suites, which are required for some older clients that do not implement newer ones.
483 The \fIAllowSSL3\fR option enables SSL v3.0, which is required for some older clients that do not support TLS v1.0.
484 .\"#SSLPort
485 .TP 5
486 \fBSSLPort \fIport\fR
487 Listens on the specified port for encrypted connections.
488 .\"#StrictConformance
489 .TP 5
490 \fBStrictConformance Yes\fR
491 .TP 5
492 \fBStrictConformance No\fR
493 Specifies whether the scheduler requires clients to strictly adhere to the IPP specifications.
494 The default is "No".
495 .\"#Timeout
496 .TP 5
497 \fBTimeout \fIseconds\fR
498 Specifies the HTTP request timeout.
499 The default is "300" (5 minutes).
500 .\"#WebInterface
501 .TP 5
502 \fBWebInterface yes\fR
503 .TP 5
504 \fBWebInterface no\fR
505 Specifies whether the web interface is enabled.
506 The default is "No".
507 .SS HTTP METHOD NAMES
508 The following HTTP methods are supported by
509 .BR cupsd (8):
510 .TP 5
511 GET
512 Used by a client to download icons and other printer resources and to access the CUPS web interface.
513 .TP 5
514 HEAD
515 Used by a client to get the type, size, and modification date of resources.
516 .TP 5
517 OPTIONS
518 Used by a client to establish a secure (SSL/TLS) connection.
519 .TP 5
520 POST
521 Used by a client to submit IPP requests and HTML forms from the CUPS web interface.
522 .TP 5
523 PUT
524 Used by a client to upload configuration files.
525 .SS IPP OPERATION NAMES
526 The following IPP operations are supported by
527 .BR cupsd (8):
528 .TP 5
529 CUPS\-Accept\-Jobs
530 Allows a printer to accept new jobs.
531 .TP 5
532 CUPS\-Add\-Modify\-Class
533 Adds or modifies a printer class.
534 .TP 5
535 CUPS\-Add\-Modify\-Printer
536 Adds or modifies a printer.
537 .TP 5
538 CUPS\-Authenticate\-Job
539 Releases a job that is held for authentication.
540 .TP 5
541 CUPS\-Delete\-Class
542 Deletes a printer class.
543 .TP 5
544 CUPS\-Delete\-Printer
545 Deletes a printer.
546 .TP 5
547 CUPS\-Get\-Classes
548 Gets a list of printer classes.
549 .TP 5
550 CUPS\-Get\-Default
551 Gets the server default printer or printer class.
552 .TP 5
553 CUPS\-Get\-Devices
554 Gets a list of devices that are currently available.
555 .TP 5
556 CUPS\-Get\-Document
557 Gets a document file for a job.
558 .TP 5
559 CUPS\-Get\-PPD
560 Gets a PPD file.
561 .TP 5
562 CUPS\-Get\-PPDs
563 Gets a list of installed PPD files.
564 .TP 5
565 CUPS\-Get\-Printers
566 Gets a list of printers.
567 .TP 5
568 CUPS\-Move\-Job
569 Moves a job.
570 .TP 5
571 CUPS\-Reject\-Jobs
572 Prevents a printer from accepting new jobs.
573 .TP 5
574 CUPS\-Set\-Default
575 Sets the server default printer or printer class.
576 .TP 5
577 Cancel\-Job
578 Cancels a job.
579 .TP 5
580 Cancel\-Jobs
581 Cancels one or more jobs.
582 .TP 5
583 Cancel\-My\-Jobs
584 Cancels one or more jobs creates by a user.
585 .TP 5
586 Cancel\-Subscription
587 Cancels a subscription.
588 .TP 5
589 Close\-Job
590 Closes a job that is waiting for more documents.
591 .TP 5
592 Create\-Job
593 Creates a new job with no documents.
594 .TP 5
595 Create\-Job\-Subscriptions
596 Creates a subscription for job events.
597 .TP 5
598 Create\-Printer\-Subscriptions
599 Creates a subscription for printer events.
600 .TP 5
601 Get\-Job\-Attributes
602 Gets information about a job.
603 .TP 5
604 Get\-Jobs
605 Gets a list of jobs.
606 .TP 5
607 Get\-Notifications
608 Gets a list of event notifications for a subscription.
609 .TP 5
610 Get\-Printer\-Attributes
611 Gets information about a printer or printer class.
612 .TP 5
613 Get\-Subscription\-Attributes
614 Gets information about a subscription.
615 .TP 5
616 Get\-Subscriptions
617 Gets a list of subscriptions.
618 .TP 5
619 Hold\-Job
620 Holds a job from printing.
621 .TP 5
622 Hold\-New\-Jobs
623 Holds all new jobs from printing.
624 .TP 5
625 Pause\-Printer
626 Stops processing of jobs by a printer or printer class.
627 .TP 5
628 Pause\-Printer\-After\-Current\-Job
629 Stops processing of jobs by a printer or printer class after the current job is finished.
630 .TP 5
631 Print\-Job
632 Creates a new job with a single document.
633 .TP 5
634 Purge\-Jobs
635 Cancels one or more jobs and deletes the job history.
636 .TP 5
637 Release\-Held\-New\-Jobs
638 Allows previously held jobs to print.
639 .TP 5
640 Release\-Job
641 Allows a job to print.
642 .TP 5
643 Renew\-Subscription
644 Renews a subscription.
645 .TP 5
646 Restart\-Job
647 Reprints a job, if possible.
648 .TP 5
649 Send\-Document
650 Adds a document to a job.
651 .TP 5
652 Set\-Job\-Attributes
653 Changes job information.
654 .TP 5
655 Set\-Printer\-Attributes
656 Changes printer or printer class information.
657 .TP 5
658 Validate\-Job
659 Validates options for a new job.
660 .SS LOCATION PATHS
661 The following paths are commonly used when configuring
662 .BR cupsd (8):
663 .TP 5
664 /
665 The path for all get operations (get-printers, get-jobs, etc.)
666 .TP 5
667 /admin
668 The path for all administration operations (add-printer, delete-printer, start-printer, etc.)
669 .TP 5
670 /admin/conf
671 The path for access to the CUPS configuration files (cupsd.conf, client.conf, etc.)
672 .TP 5
673 /admin/log
674 The path for access to the CUPS log files (access_log, error_log, page_log)
675 .TP 5
676 /classes
677 The path for all printer classes
678 .TP 5
679 /classes/name
680 The resource for the named printer class
681 .TP 5
682 /jobs
683 The path for all jobs (hold-job, release-job, etc.)
684 .TP 5
685 /jobs/id
686 The path for the specified job.
687 .TP 5
688 /printers
689 The path for all printers
690 .TP 5
691 /printers/name
692 The path for the named printer
693 .TP 5
694 /printers/name.png
695 The icon file path for the named printer
696 .TP 5
697 /printers/name.ppd
698 The PPD file path for the named printer
699 .SS DIRECTIVES VALID WITHIN LOCATION AND LIMIT SECTIONS
700 The following directives may be placed inside Location and Limit sections in the \fBcupsd.conf\fR file:
701 .TP 5
702 \fBAllow all\fR
703 .TP 5
704 \fBAllow none\fR
705 .TP 5
706 \fBAllow \fIhost.domain.com\fR
707 .TP 5
708 \fBAllow *.\fIdomain.com\fR
709 .TP 5
710 \fBAllow \fIipv4-address\fR
711 .TP 5
712 \fBAllow \fIipv4-address\fB/\fInetmask\fR
713 .TP 5
714 \fBAllow \fIipv4-address\fB/\fImm\fR
715 .TP 5
716 \fBAllow [\fIipv6-address\fB]\fR
717 .TP 5
718 \fBAllow [\fIipv6-address\fB]/\fImm\fR
719 .TP 5
720 \fBAllow @IF(\fIname\fB)\fR
721 .TP 5
722 \fBAllow @LOCAL\fR
723 Allows access from the named hosts, domains, addresses, or interfaces.
724 The Order directive controls whether Allow lines are evaluated before or after Deny lines.
725 .TP 5
726 \fBAuthType None\fR
727 .TP 5
728 \fBAuthType Basic\fR
729 .TP 5
730 \fBAuthType Default\fR
731 .TP 5
732 \fBAuthType Negotiate\fR
733 Specifies the type of authentication required.
734 The value "Default" corresponds to the DefaultAuthType value.
735 .TP 5
736 \fBDeny all\fR
737 .TP 5
738 \fBDeny none\fR
739 .TP 5
740 \fBDeny \fIhost.domain.com\fR
741 .TP 5
742 \fBDeny *.\fIdomain.com\fR
743 .TP 5
744 \fBDeny \fIipv4-address\fR
745 .TP 5
746 \fBDeny \fIipv4-address\fB/\fInetmask\fR
747 .TP 5
748 \fBDeny \fIipv4-address\fB/\fImm\fR
749 .TP 5
750 \fBDeny [\fIipv6-address\fB]\fR
751 .TP 5
752 \fBDeny [\fIipv6-address\fB]/\fImm\fR
753 .TP 5
754 \fBDeny @IF(\fIname\fB)\fR
755 .TP 5
756 \fBDeny @LOCAL\fR
757 Denies access from the named hosts, domains, addresses, or interfaces.
758 The Order directive controls whether Deny lines are evaluated before or after Allow lines.
759 .TP 5
760 \fBEncryption IfRequested\fR
761 .TP 5
762 \fBEncryption Never\fR
763 .TP 5
764 \fBEncryption Required\fR
765 Specifies the level of encryption that is required for a particular location.
766 The default value is "IfRequested".
767 .TP 5
768 \fBOrder allow,deny\fR
769 Specifies that access is denied by default. Allow lines are then processed followed by Deny lines to determine whether a client may access a particular resource.
770 .TP 5
771 \fBOrder deny,allow\fR
772 Specifies that access is allowed by default. Deny lines are then processed followed by Allow lines to determine whether a client may access a particular resource.
773 .TP 5
774 \fBRequire group \fIgroup-name \fR[ \fIgroup-name \fR... ]
775 Specifies that an authenticated user must be a member of one of the named groups.
776 .TP 5
777 \fBRequire user {\fIuser-name\fR|\fB@\fIgroup-name\fR} ...
778 Specifies that an authenticated user must match one of the named users or be a member of one of the named groups.
779 The group name "@SYSTEM" corresponds to the list of groups defined by the SystemGroup directive in the
780 .BR cups-files.conf (5)
781 file.
782 The group name "@OWNER" corresponds to the owner of the resource, for example the person that submitted a print job.
783 .TP 5
784 \fBRequire valid-user\fR
785 Specifies that any authenticated user is acceptable.
786 .TP 5
787 \fBSatisfy all\fR
788 Specifies that all Allow, AuthType, Deny, Order, and Require conditions must be satisfied to allow access.
789 .TP 5
790 \fBSatisfy any\fR
791 Specifies that any a client may access a resource if either the authentication (AuthType/Require) or address (Allow/Deny/Order) conditions are satisfied.
792 For example, this can be used to require authentication only for remote accesses.
793 .SS DIRECTIVES VALID WITHIN POLICY SECTIONS
794 The following directives may be placed inside Policy sections in the \fBcupsd.conf\fR file:
795 .TP 5
796 \fBJobPrivateAccess all\fR
797 .TP 5
798 \fBJobPrivateAccess default\fR
799 .TP 5
800 \fBJobPrivateAccess \fR{\fIuser\fR|\fB@\fIgroup\fR|\fB@ACL\fR|\fB@OWNER\fR|\fB@SYSTEM\fR} ...
801 Specifies an access list for a job's private values.
802 The "default" access list is "@OWNER @SYSTEM".
803 "@ACL" maps to the printer's requesting-user-name-allowed or requesting-user-name-denied values.
804 "@OWNER" maps to the job's owner.
805 "@SYSTEM" maps to the groups listed for the SystemGroup directive in the
806 .BR cups-files.conf (5)
807 file.
808 .TP 5
809 \fBJobPrivateValues all\fR
810 .TP 5
811 \fBJobPrivateValues default\fR
812 .TP 5
813 \fBJobPrivateValues none\fR
814 .TP 5
815 \fBJobPrivateValues \fIattribute-name \fR[ ... \fIattribute-name \fR]
816 Specifies the list of job values to make private.
817 The "default" values are "job-name", "job-originating-host-name", "job-originating-user-name", and "phone".
818 .TP 5
819 \fBSubscriptionPrivateAccess all\fR
820 .TP 5
821 \fBSubscriptionPrivateAccess default\fR
822 .TP 5
823 \fBSubscriptionPrivateAccess \fR{\fIuser\fR|\fB@\fIgroup\fR|\fB@ACL\fR|\fB@OWNER\fR|\fB@SYSTEM\fR} ...
824 Specifies an access list for a subscription's private values.
825 The "default" access list is "@OWNER @SYSTEM".
826 "@ACL" maps to the printer's requesting-user-name-allowed or requesting-user-name-denied values.
827 "@OWNER" maps to the job's owner.
828 "@SYSTEM" maps to the groups listed for the SystemGroup directive in the
829 .BR cups-files.conf (5)
830 file.
831 .TP 5
832 \fBSubscriptionPrivateValues all\fR
833 .TP 5
834 \fBSubscriptionPrivateValues default\fR
835 .TP 5
836 \fBSubscriptionPrivateValues none\fR
837 .TP 5
838 \fBSubscriptionPrivateValues \fIattribute-name \fR[ ... \fIattribute-name \fR]
839 Specifies the list of subscription values to make private.
840 The "default" values are "notify-events", "notify-pull-method", "notify-recipient-uri", "notify-subscriber-user-name", and "notify-user-data".
841 .SH CONFORMING TO
842 The \fBcupsd.conf\fR file format is based on the Apache HTTP Server configuration file format.
843 .SH EXAMPLES
844 Log everything with a maximum log file size of 32 megabytes:
845 .nf
846
847 AccessLogLevel all
848 LogLevel debug2
849 MaxLogSize 32m
850
851 .fi
852 Require authentication for accesses from outside the 10. network:
853 .nf
854
855 <Location />
856 Order allow,deny
857 Allow from 10./8
858 AuthType Basic
859 Require valid-user
860 Satisfy any
861 </Location>
862 .fi
863 .SH SEE ALSO
864 .BR classes.conf (5),
865 .BR cups-files.conf (5),
866 .BR cupsd (8),
867 .BR mime.convs (5),
868 .BR mime.types (5),
869 .BR printers.conf (5),
870 .BR subscriptions.conf (5),
871 CUPS Online Help (http://localhost:631/help)
872 .SH COPYRIGHT
873 Copyright \[co] 2007-2015 by Apple Inc.
874 .\"
875 .\" End of "$Id: cupsd.conf.man.in 13138 2016-03-15 14:59:54Z msweet $".
876 .\"