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