1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
|
<HTML>
<!-- SECTION: References -->
<HEAD>
<TITLE>cupsd.conf</TITLE>
<LINK REL="STYLESHEET" TYPE="text/css" HREF="../cups-printable.css">
</HEAD>
<BODY>
<H1 CLASS="title">cupsd.conf</H1>
<P>The <VAR>/etc/cups/cupsd.conf</VAR> file contains
configuration <I>directives</I> that control how the server
functions. Each directive is listed on a line by itself followed
by its value. Comments are introduced using the number sign ("#")
character at the beginning of a line.</P>
<P>Since the server configuration file consists of plain text,
you can use your favorite text editor to make changes to it.
After making any changes, restart the <CODE>cupsd(8)</CODE>
process using the startup script for your operating system:</P>
<UL>
<LI>AIX, IRIX, Linux, Solaris:
<PRE CLASS="command">
/etc/init.d/cups restart
</PRE></LI>
<LI>HP-UX:
<PRE CLASS="command">
/sbin/init.d/cups restart
</PRE></LI>
<LI>MacOS X:
<PRE CLASS="command">
sudo launchctl unload /System/Library/LaunchDaemons/org.cups.cupsd.plist
sudo launchctl load /System/Library/LaunchDaemons/org.cups.cupsd.plist
</PRE></LI>
</UL>
<P>You can also edit this file from the CUPS web interface, which
automatically handles restarting the scheduler.</P>
<BLOCKQUOTE><B>Note:</B>
<P>The specification of time units ("w" for weeks, "h" for hours, etc.) in the various time interval directives is new in CUPS 1.6/OS X 10.8. Prior releases of CUPS only supported time intervals in seconds.</P>
</BLOCKQUOTE>
<H2 CLASS="title"><A NAME="AccessLog">AccessLog</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
AccessLog /var/log/cups/access_log
AccessLog /var/log/cups/access_log-%s
AccessLog syslog
</PRE>
<H3>Description</H3>
<P>The <CODE>AccessLog</CODE> directive sets the name of the
access log file. If the filename is not absolute then it is
assumed to be relative to the <A
HREF="#ServerRoot"><CODE>ServerRoot</CODE></A> directory. The
access log file is stored in "common log format" and can be used
by any web access reporting tool to generate a report on CUPS
server activity.</P>
<P>The server name can be included in the filename by using
<CODE>%s</CODE> in the name.</P>
<P>The special name "syslog" can be used to send the access
information to the system log instead of a plain file.</P>
<P>The default access log file is
<VAR>@CUPS_LOGDIR@/access_log</VAR>.</P>
<H2 CLASS="title"><A NAME="AccessLogLevel">AccessLogLevel</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
AccessLogLevel config
AccessLogLevel actions
AccessLogLevel all
</PRE>
<H3>Description</H3>
<P>The <CODE>AccessLogLevel</CODE> directive controls which requests are logged
to the access log file. The following levels are defined:</P>
<UL>
<LI><CODE>config</CODE>; Log when printers and classes are added,
deleted, or modified and when configuration files are accessed or
updated.</LI>
<LI><CODE>actions</CODE>; Log when print jobs are submitted,
held, released, modified, or canceled, and any of the conditions
for <CODE>config</CODE>.</LI>
<LI><CODE>all</CODE>; Log all requests.</LI>
</UL>
<P>The default access log level is <CODE>@CUPS_ACCESS_LOG_LEVEL@</CODE>.</P>
<H2 CLASS="title"><A NAME="Allow">Allow</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
<Location /path>
...
Allow from All
Allow from None
Allow from *.example.com
Allow from .example.com
Allow from host.example.com
Allow from nnn.*
Allow from nnn.nnn.*
Allow from nnn.nnn.nnn.*
Allow from nnn.nnn.nnn.nnn
Allow from nnn.nnn.nnn.nnn/mm
Allow from nnn.nnn.nnn.nnn/mmm.mmm.mmm.mmm
Allow from [xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx]
Allow from [xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx]/mmm
Allow from @LOCAL
Allow from @IF(name)
</Location>
</PRE>
<H3>Description</H3>
<P>The <CODE>Allow</CODE> directive specifies a hostname, IP
address, or network that is allowed access to the server.
<CODE>Allow</CODE> directives are cumulative, so multiple
<CODE>Allow</CODE> directives can be used to allow access for
multiple hosts or networks.</P>
<P>Host and domain name matching require that you enable the <A
HREF="#HostNameLookups"><CODE>HostNameLookups</CODE></A>
directive.</P>
<P>The <CODE>/mm</CODE> notation specifies a CIDR netmask, as shown in
<A HREF="#TABLE1">Table 1</A>.</P>
<DIV CLASS="table"><TABLE SUMMARY="CIDR Netmasks">
<CAPTION>Table 1: <A NAME="TABLE1">CIDR Netmasks</A></CAPTION>
<TR>
<TH WIDTH="10%">mm</TH>
<TH WIDTH="20%">netmask</TH>
<TH WIDTH="10%">mm</TH>
<TH WIDTH="20%">netmask</TH>
</TR>
<TR>
<TD ALIGN="CENTER">0</TD>
<TD ALIGN="CENTER">0.0.0.0</TD>
<TD ALIGN="CENTER">8</TD>
<TD ALIGN="CENTER">255.0.0.0</TD>
</TR>
<TR>
<TD ALIGN="CENTER">1</TD>
<TD ALIGN="CENTER">128.0.0.0</TD>
<TD ALIGN="CENTER">16</TD>
<TD ALIGN="CENTER">255.255.0.0</TD>
</TR>
<TR>
<TD ALIGN="CENTER">2</TD>
<TD ALIGN="CENTER">192.0.0.0</TD>
<TD ALIGN="CENTER">24</TD>
<TD ALIGN="CENTER">255.255.255.0</TD>
</TR>
<TR>
<TD ALIGN="CENTER">...</TD>
<TD ALIGN="CENTER">...</TD>
<TD ALIGN="CENTER">32</TD>
<TD ALIGN="CENTER">255.255.255.255</TD>
</TR>
</TABLE></DIV>
<P>The <CODE>@LOCAL</CODE> name will allow access from all local
interfaces. The <CODE>@IF(name)</CODE> name will allow access
from the named interface. In both cases, CUPS only allows access
from the network that the interface(s) are configured for -
requests arriving on the interface from a foreign network will
<em>not</em> be accepted.</P>
<P>The <CODE>Allow</CODE> directive must appear inside a <A
HREF="#Location"><CODE>Location</CODE></A> or <A
HREF="#Limit"><CODE>Limit</CODE></A> section.</P>
<H2 CLASS="title"><SPAN CLASS="info">Deprecated</SPAN><A NAME="AuthClass">AuthClass</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
<Location /path>
...
AuthClass Anonymous
AuthClass User
AuthClass System
AuthClass Group
</Location>
</PRE>
<H3>Description</H3>
<P>The <CODE>AuthClass</CODE> directive defines what level of
authentication is required:</P>
<UL>
<LI><CODE>Anonymous</CODE> - No authentication should be
performed (default)</LI>
<LI><CODE>User</CODE> - A valid username and password is
required</LI>
<LI><CODE>System</CODE> - A valid username and password
is required, and the username must belong to the "sys"
group; this can be changed using the <A
HREF="#SystemGroup"><CODE>SystemGroup</CODE></A>
directive</LI>
<LI><CODE>Group</CODE> - A valid username and password is
required, and the username must belong to the group named
by the <A
HREF="#AuthGroupName"><CODE>AuthGroupName</CODE></A>
directive</LI>
</UL>
<P>The <CODE>AuthClass</CODE> directive must appear inside a <A
HREF="#Location"><CODE>Location</CODE></A> or <A
HREF="#Limit"><CODE>Limit</CODE></A> section.</P>
<P><B>This directive is deprecated and will be removed from a
future release of CUPS.</B> Consider using the more flexible <A
HREF="#Require"><CODE>Require</CODE></A> directive instead.</P>
<H2 CLASS="title"><SPAN CLASS="info">Deprecated</SPAN><A NAME="AuthGroupName">AuthGroupName</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
<Location /path>
...
AuthGroupName mygroup
AuthGroupName lp
</Location>
</PRE>
<H3>Description</H3>
<P>The <CODE>AuthGroupName</CODE> directive sets the group to use
for <CODE>Group</CODE> authentication.</P>
<P>The <CODE>AuthGroupName</CODE> directive must appear inside a
<A HREF="#Location"><CODE>Location</CODE></A> or <A
HREF="#Limit"><CODE>Limit</CODE></A> section.</P>
<P><B>This directive is deprecated and will be removed from a
future release of CUPS.</B> Consider using the more flexible <A
HREF="#Require"><CODE>Require</CODE></A> directive instead.</P>
<H2 CLASS="title"><A NAME="AuthType">AuthType</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
<Location /path>
...
AuthType None
AuthType Basic
AuthType Digest
AuthType BasicDigest
AuthType Negotiate
</Location>
</PRE>
<H3>Description</H3>
<P>The <CODE>AuthType</CODE> directive defines the type of
authentication to perform:</P>
<UL>
<LI><CODE>None</CODE> - No authentication should be
performed (default)</LI>
<LI><CODE>Basic</CODE> - Basic authentication should be
performed using the UNIX password and group files</LI>
<LI><CODE>Digest</CODE> - Digest authentication should be
performed using the <VAR>/etc/cups/passwd.md5</VAR>
file</LI>
<LI><CODE>BasicDigest</CODE> - Basic authentication
should be performed using the
<VAR>/etc/cups/passwd.md5</VAR> file</LI>
<LI><CODE>Negotiate</CODE> - Kerberos authentication
should be performed</LI>
</UL>
<P>When using <CODE>Basic</CODE>, <CODE>Digest</CODE>,
<CODE>BasicDigest</CODE>, or <CODE>Negotiate</CODE> authentication,
clients connecting through the <CODE>localhost</CODE> interface can
also authenticate using certificates.</P>
<P>The <CODE>AuthType</CODE> directive must appear inside a <A
HREF="#Location"><CODE>Location</CODE></A> or <A
HREF="#Limit"><CODE>Limit</CODE></A> section.</P>
<H2 CLASS="title"><A NAME="AutoPurgeJobs">AutoPurgeJobs</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
AutoPurgeJobs Yes
AutoPurgeJobs No
</PRE>
<H3>Description</H3>
<P>The <CODE>AutoPurgeJobs</CODE> directive specifies whether or
not to purge completed jobs once they are no longer required for
quotas. This option has no effect if quotas are not enabled. The
default setting is <CODE>No</CODE>.</P>
<H2 CLASS="title"><SPAN CLASS="info">CUPS 1.2/OS X 10.5</SPAN><A NAME="BrowseLocalProtocols">BrowseLocalProtocols</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
BrowseLocalProtocols all
BrowseLocalProtocols none
BrowseLocalProtocols dnssd
</PRE>
<H3>Description</H3>
<P>The <CODE>BrowseLocalProtocols</CODE> directive specifies the
protocols to use when advertising local shared printers on the
network. Multiple protocols can be specified by separating them
with spaces. The default is "<CODE>@CUPS_BROWSE_LOCAL_PROTOCOLS@</CODE>".</P>
<H2 CLASS="title"><A NAME="BrowseWebIF">BrowseWebIF</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
BrowseWebIF On
BrowseWebIF Off
</PRE>
<H3>Description</H3>
<P>The <CODE>BrowseWebIF</CODE> directive controls whether the CUPS web
interface is advertised via DNS-SD. The default setting is
<CODE>Off</CODE>.</P>
<H2 CLASS="title"><A NAME="Browsing">Browsing</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
Browsing On
Browsing Off
</PRE>
<H3>Description</H3>
<P>The <CODE>Browsing</CODE> directive controls whether or not
printer sharing is enabled. The default setting is
<CODE>@CUPS_BROWSING@</CODE>.</P>
<H2 CLASS="title"><SPAN CLASS="info">CUPS 1.1.7</SPAN><A NAME="Classification">Classification</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
Classification
Classification classified
Classification confidential
Classification secret
Classification topsecret
Classification unclassified
</PRE>
<H3>Description</H3>
<P>The <CODE>Classification</CODE> directive sets the
classification level on the server. When this option is set, at
least one of the banner pages is forced to the classification
level, and the classification is placed on each page of output.
The default is no classification level.</P>
<H2 CLASS="title"><SPAN CLASS="info">CUPS 1.1.10</SPAN><A NAME="ClassifyOverride">ClassifyOverride</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
ClassifyOverride Yes
ClassifyOverride No
</PRE>
<H3>Description</H3>
<P>The <CODE>ClassifyOverride</CODE> directive specifies whether
users can override the default classification level on the
server. When the server classification is set, users can change
the classification using the <CODE>job-sheets</CODE> option and
can choose to only print one security banner before or after the
job. If the <CODE>job-sheets</CODE> option is set to
<CODE>none</CODE> then the server default classification is
used.</P>
<P>The default is to not allow classification overrides.</P>
<H2 CLASS="title"><SPAN CLASS="info">CUPS 1.1.15</SPAN><A NAME="ConfigFilePerm">ConfigFilePerm</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
ConfigFilePerm 0644
ConfigFilePerm 0640
</PRE>
<H3>Description</H3>
<P>The <CODE>ConfigFilePerm</CODE> directive specifies the permissions to use when the scheduler writes configuration and cache files, typically in response to IPP or HTTP requests. The default is @CUPS_CONFIG_FILE_PERM@.</P>
<BLOCKQUOTE><B>Note:</B>
<P>The permissions for the <VAR>printers.conf</VAR> file are always masked to only allow access from the scheduler user (typically root). This is done because printer device URIs sometimes contain sensitive authentication information that should not be generally known on the system. There is no way to disable this security feature.</P>
</BLOCKQUOTE>
<H2 CLASS="title"><A NAME="DataDir">DataDir</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
DataDir /usr/share/cups
</PRE>
<H3>Description</H3>
<P>The <CODE>DataDir</CODE> directive sets the directory to use
for data files.</P>
<H2 CLASS="title"><SPAN CLASS="info">CUPS 1.2/OS X 10.5</SPAN><A NAME="DefaultAuthType">DefaultAuthType</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
DefaultAuthType Basic
DefaultAuthType BasicDigest
DefaultAuthType Digest
DefaultAuthType Negotiate
</PRE>
<H3>Description</H3>
<P>The <CODE>DefaultAuthType</CODE> directive specifies the type
of authentication to use for IPP operations that require a
username. The default is <CODE>Basic</CODE>.</P>
<H2 CLASS="title"><SPAN CLASS="info">CUPS 1.2/OS X 10.5</SPAN><A NAME="DefaultEncryption">DefaultEncryption</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
DefaultEncryption Never
DefaultEncryption IfRequested
DefaultEncryption Required
</PRE>
<H3>Description</H3>
<P>The <CODE>DefaultEncryption</CODE> directive specifies the
type of encryption to use when performing authentication. The
default is <CODE>Required</CODE>.</P>
<H2 CLASS="title"><A NAME="DefaultLanguage">DefaultLanguage</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
DefaultLanguage de
DefaultLanguage en
DefaultLanguage es
DefaultLanguage fr
DefaultLanguage it
</PRE>
<H3>Description</H3>
<P>The <CODE>DefaultLanguage</CODE> directive specifies the
default language to use for client connections. Setting the
default language also sets the default character set if a
language localization file exists for it. The default language
is "en" for English.</P>
<H2 CLASS="title"><SPAN CLASS="info">CUPS 1.4/OS X 10.6</SPAN><A NAME="DefaultPaperSize">DefaultPaperSize</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
DefaultPaperSize Letter
DefaultPaperSize A4
DefaultPaperSize Auto
DefaultPaperSize None
</PRE>
<H3>Description</H3>
<P>The <CODE>DefaultPaperSize</CODE> directive specifies the default paper
size to use when creating new printers. The default is <CODE>Auto</CODE>
which uses a paper size appropriate for the system default locale. A value
of <CODE>None</CODE> tells the scheduler to not set the default paper
size.</P>
<H2 CLASS="title"><SPAN CLASS="info">CUPS 1.2/OS X 10.5</SPAN><A NAME="DefaultPolicy">DefaultPolicy</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
DefaultPolicy default
DefaultPolicy authenticated
DefaultPolicy foo
</PRE>
<H3>Description</H3>
<P>The <CODE>DefaultPolicy</CODE> directive specifies the default
policy to use for IPP operation. The default is
<CODE>default</CODE>. CUPS also includes a policy called
<CODE>authenticated</CODE> that requires a username and password for printing
and other job operations.</P>
<H2 CLASS="title"><SPAN CLASS="info">CUPS 1.2/OS X 10.5</SPAN><A NAME="DefaultShared">DefaultShared</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
DefaultShared yes
DefaultShared no
</PRE>
<H3>Description</H3>
<P>The <CODE>DefaultShared</CODE> directive specifies whether
printers are shared (published) by default. The default is
<CODE>@CUPS_DEFAULT_SHARED@</CODE>.</P>
<H2 CLASS="title"><A NAME="Deny">Deny</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
<Location /path>
..
Deny from All
Deny from None
Deny from *.example.com
Deny from .example.com
Deny from host.example.com
Deny from nnn.*
Deny from nnn.nnn.*
Deny from nnn.nnn.nnn.*
Deny from nnn.nnn.nnn.nnn
Deny from nnn.nnn.nnn.nnn/mm
Deny from nnn.nnn.nnn.nnn/mmm.mmm.mmm.mmm
Deny from [xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx]
Deny from [xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx]/mmm
Deny from @LOCAL
Deny from @IF(name)
</Location>
</PRE>
<H3>Description</H3>
<P>The <CODE>Deny</CODE> directive specifies a hostname, IP
address, or network that is denied access to the server.
<CODE>Deny</CODE> directives are cumulative, so multiple
<CODE>Deny</CODE> directives can be used to deny access for
multiple hosts or networks.</P>
<P>Host and domain name matching require that you enable the <A
HREF="#HostNameLookups"><CODE>HostNameLookups</CODE></A>
directive.</P>
<P>The <CODE>/mm</CODE> notation specifies a CIDR netmask, a shown in
<A HREF="TABLE1">Table 1</A>.</P>
<P>The <CODE>@LOCAL</CODE> name will deny access from all local
interfaces. The <CODE>@IF(name)</CODE> name will deny access from
the named interface. In both cases, CUPS only denies access from
the network that the interface(s) are configured for - requests
arriving on the interface from a foreign network will
<em>not</em> be denied.</P>
<P>The <CODE>Deny</CODE> directive must appear inside a <A
HREF="#Location"><CODE>Location</CODE></A> or <A
HREF="#Limit"><CODE>Limit</CODE></A> section.</P>
<H2 CLASS="title"><SPAN CLASS="info">CUPS 1.4/OS X 10.6</SPAN><A NAME="DirtyCleanInterval">DirtyCleanInterval</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
DirtyCleanInterval 1w
DirtyCleanInterval 1d
DirtyCleanInterval 1h
DirtyCleanInterval 1m
DirtyCleanInterval 30
DirtyCleanInterval 0
</PRE>
<H3>Description</H3>
<P>The <CODE>DirtyCleanInterval</CODE> directive specifies the amount of time to wait before updating configuration and state files for printers, classes, subscriptions, and jobs in seconds (no suffix), minutes ("m" suffix), hours ("h" suffix), days ("d" suffix), or weeks ("w" suffix). A value of <CODE>0</CODE> causes the update to occur as soon as possible, typically within a few milliseconds.</P>
<P>The default value is <CODE>30</CODE> (30 seconds).</P>
<H2 CLASS="title"><A NAME="DocumentRoot">DocumentRoot</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
DocumentRoot /usr/share/doc/cups
DocumentRoot /foo/bar/doc/cups
</PRE>
<H3>Description</H3>
<P>The <CODE>DocumentRoot</CODE> directive specifies the location
of web content for the HTTP server in CUPS. If an absolute path
is not specified then it is assumed to be relative to the <A
HREF="#ServerRoot"><CODE>ServerRoot</CODE></A> directory. The
default directory is <VAR>@CUPS_DOCROOT@</VAR>.</P>
<P>Documents are first looked up in a sub-directory for the
primary language requested by the client (e.g.
<VAR>@CUPS_DOCROOT@/fr/...</VAR>) and then directly under
the <CODE>DocumentRoot</CODE> directory (e.g.
<VAR>@CUPS_DOCROOT@/...</VAR>), so it is possible to
localize the web content by providing subdirectories for each
language needed.</P>
<H2 CLASS="title"><A NAME="Encryption">Encryption</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
<Location /path>
...
Encryption Never
Encryption IfRequested
Encryption Required
</Location>
</PRE>
<H3>Description</H3>
<P>The <CODE>Encryption</CODE> directive must appear instead a <A
HREF="#Location"><CODE>Location</CODE></A> or <A
HREF="#Limit"><CODE>Limit</CODE></A> section and specifies the
encryption settings for that location. The default setting is
<CODE>IfRequested</CODE> for all locations.</P>
<H2 CLASS="title"><A NAME="ErrorLog">ErrorLog</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
ErrorLog /var/log/cups/error_log
ErrorLog /var/log/cups/error_log-%s
ErrorLog syslog
</PRE>
<H3>Description</H3>
<P>The <CODE>ErrorLog</CODE> directive sets the name of the error
log file. If the filename is not absolute then it is assumed to
be relative to the <A
HREF="#ServerRoot"><CODE>ServerRoot</CODE></A> directory. The
default error log file is <VAR>@CUPS_LOGDIR@/error_log</VAR>.</P>
<P>The server name can be included in the filename by using
<CODE>%s</CODE> in the name.</P>
<P>The special name "syslog" can be used to send the error
information to the system log instead of a plain file.</P>
<H2 CLASS="title"><SPAN CLASS="info">CUPS 1.3/OS X 10.5</SPAN><A NAME="ErrorPolicy">ErrorPolicy</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
ErrorPolicy abort-job
ErrorPolicy retry-job
ErrorPolicy stop-printer
</PRE>
<H3>Description</H3>
<P>The <CODE>ErrorPolicy</CODE> directive defines the default policy that
is used when a backend is unable to send a print job to the
printer.</P>
<P>The following values are supported:</P>
<UL>
<LI><CODE>abort-job</CODE> - Abort the job and proceed
with the next job in the queue</LI>
<LI><CODE>retry-job</CODE> - Retry the job after waiting
for N seconds; the <VAR>cupsd.conf</VAR> <A
HREF="#JobRetryInterval"><CODE>JobRetryInterval</CODE></A>
directive controls the value of N</LI>
<LI><CODE>retry-this-job</CODE> - Retry the current job immediately
and indefinitely.</LI>
<LI><CODE>stop-printer</CODE> - Stop the printer and keep
the job for future printing; this is the default
value</LI>
</UL>
<H2 CLASS="title"><SPAN CLASS="info">CUPS 1.4/OS X 10.6</SPAN><A NAME="FatalErrors">FatalErrors</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
FatalErrors none
FatalErrors all
FatalErrors browse
FatalErrors config
FatalErrors listen
FatalErrors log
FatalErrors permissions
FatalErrors all -permissions
FatalErrors config permissions log
</PRE>
<H3>Description</H3>
<P>The <CODE>FatalErrors</CODE> directive determines whether certain kinds of
errors are fatal. The following kinds of errors are currently recognized:</P>
<UL>
<LI><CODE>none</CODE> - No errors are fatal</LI>
<LI><CODE>all</CODE> - All of the errors below are fatal</LI>
<LI><CODE>browse</CODE> - Browsing initialization errors are fatal,
for example failed binding to the CUPS browse port or failed connections
to LDAP servers</LI>
<LI><CODE>config</CODE> - Configuration file syntax errors are
fatal</LI>
<LI><CODE>listen</CODE> - Listen or Port errors are fatal, except for
IPv6 failures on the loopback or "any" addresses</LI>
<LI><CODE>log</CODE> - Log file creation or write errors are fatal</LI>
<LI><CODE>permissions</CODE> - Bad startup file permissions are
fatal, for example shared SSL certificate and key files with world-
read permissions</LI>
</UL>
<P>Multiple errors can be listed, and the form "-kind" can be used with
<CODE>all</CODE> to remove specific kinds of errors. The default setting is
<CODE>@CUPS_FATAL_ERRORS@</CODE>.</P>
<H2 CLASS="title"><SPAN CLASS="info">CUPS 1.1.18</SPAN><A NAME="FileDevice">FileDevice</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
FileDevice Yes
FileDevice No
</PRE>
<H3>Description</H3>
<P>The <CODE>FileDevice</CODE> directive determines whether the
scheduler allows new printers to be added using device URIs of
the form <CODE>file:/filename</CODE>. File devices are most often
used to test new printer drivers and do not support raw file
printing.</P>
<P>The default setting is <CODE>No</CODE>.</P>
<BLOCKQUOTE><B>Note:</B>
<P>File devices are managed by the scheduler. Since the
scheduler normally runs as the root user, file devices
can be used to overwrite system files and potentially
gain unauthorized access to the system. If you must
create printers using file devices, we recommend that
you set the <CODE>FileDevice</CODE> directive to
<CODE>Yes</CODE> for only as long as you need to add the
printers to the system, and then reset the directive to
<CODE>No</CODE>.</P>
</BLOCKQUOTE>
<H2 CLASS="title"><SPAN CLASS="info">CUPS 1.1.3</SPAN><A NAME="FilterLimit">FilterLimit</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
FilterLimit 0
FilterLimit 200
FilterLimit 1000
</PRE>
<H3>Description</H3>
<P>The <CODE>FilterLimit</CODE> directive sets the maximum cost
of all running job filters. It can be used to limit the number of
filter programs that are run on a server to minimize disk,
memory, and CPU resource problems. A limit of 0 disables filter
limiting.</P>
<P>An average print to a non-PostScript printer needs a filter
limit of about 200. A PostScript printer needs about half that
(100). Setting the limit below these thresholds will effectively
limit the scheduler to printing a single job at any time.</P>
<P>The default limit is 0.</P>
<H2 CLASS="title"><SPAN CLASS="info">CUPS 1.1.16</SPAN><A NAME="FilterNice">FilterNice</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
FilterNice 0
FilterNice 10
FilterNice 19
</PRE>
<H3>Description</H3>
<P>The <CODE>FilterNice</CODE> directive sets the <B>nice(1)</B>
value to assign to filter processes. The nice value ranges from
0, the highest priority, to 19, the lowest priority. The default
is 0.</P>
<H2 CLASS="title"><SPAN CLASS="info">CUPS 1.1.3</SPAN><A NAME="FontPath">FontPath</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
FontPath /foo/bar/fonts
FontPath /usr/share/cups/fonts:/foo/bar/fonts
</PRE>
<H3>Description</H3>
<P>The <CODE>FontPath</CODE> directive specifies the font path to
use when searching for fonts. The default font path is
<CODE>/usr/share/cups/fonts</CODE>.</P>
<H2 CLASS="title"><A NAME="Group">Group</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
Group lp
Group nobody
</PRE>
<H3>Description</H3>
<P>The <CODE>Group</CODE> directive specifies the UNIX group that
filter and CGI programs run as. The default group is
system-specific but is usually <CODE>lp</CODE> or
<CODE>nobody</CODE>.</P>
<H2 CLASS="title"><SPAN CLASS="info">CUPS 1.6/OS X 10.8</SPAN><A NAME="GSSServiceName">GSSServiceName</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
GSSServiceName http
GSSServiceName ipp
</PRE>
<H3>Description</H3>
<P>The <CODE>GSSServiceName</CODE> directive sets the Kerberos service name to use. The default is <CODE>@CUPS_DEFAULT_GSSSERVICE_NAME@</CODE> for compatibility with Microsoft Windows.</P>
<H2 CLASS="title"><A NAME="HostNameLookups">HostNameLookups</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
HostNameLookups On
HostNameLookups Off
HostNameLookups Double
</PRE>
<H3>Description</H3>
<P>The <CODE>HostNameLookups</CODE> directive controls whether or
not CUPS looks up the hostname for connecting clients. The
<CODE>Double</CODE> setting causes CUPS to verify that the
hostname resolved from the address matches one of the addresses
returned for that hostname. <CODE>Double</CODE> lookups also
prevent clients with unregistered addresses from connecting to
your server.</P>
<P>The default is <CODE>Off</CODE> to avoid the potential server
performance problems with hostname lookups. Set this option to
<CODE>On</CODE> or <CODE>Double</CODE> only if absolutely
required.</P>
<H2 CLASS="title"><SPAN CLASS="info">CUPS 1.1.9</SPAN><A NAME="Include">Include</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
Include filename
Include /foo/bar/filename
</PRE>
<H3>Description</H3>
<P>The <CODE>Include</CODE> directive includes the named file in
the <CODE>cupsd.conf</CODE> file. If no leading path is provided,
the file is assumed to be relative to the <A
HREF="#ServerRoot"><CODE>ServerRoot</CODE></A> directory.</P>
<H2 CLASS="title"><SPAN CLASS="info">CUPS 1.5</SPAN><A NAME="JobPrivateAccess">JobPrivateAccess</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
JobPrivateAccess all
JobPrivateAccess default
JobPrivateAccess {user|@group|@ACL|@OWNER|@SYSTEM}+
</PRE>
<H3>Description</H3>
<P>The <CODE>JobPrivateAccess</CODE> directive specifies the access list for a
job's private values. The "default" access list is "@OWNER @SYSTEM". "@ACL" maps
to the printer's requesting-user-name-allowed or requesting-user-name-denied
values.</P>
<P>The <CODE>JobPrivateAccess</CODE> directive must appear inside a <A
HREF="#Policy"><CODE>Policy</CODE></A> section.</P>
<H2 CLASS="title"><SPAN CLASS="info">CUPS 1.5</SPAN><A NAME="JobPrivateValues">JobPrivateValues</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
JobPrivateValues all
JobPrivateValues default
JobPrivateValues none
JobPrivateValues attribute-name-1 [ ... attribute-name-N ]
</PRE>
<H3>Description</H3>
<P>The <CODE>JobPrivateValues</CODE> directive specifies the list of job values
to make private. The "default" values are "job-name",
"job-originating-host-name", "job-originating-user-name", and "phone".</P>
<P>The <CODE>JobPrivateValues</CODE> directive must appear inside a <A
HREF="#Policy"><CODE>Policy</CODE></A> section.</P>
<H2 CLASS="title"><SPAN CLASS="info">CUPS 1.2/OS X 10.5</SPAN><A NAME="JobRetryInterval">JobRetryInterval</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
JobRetryInterval 1w
JobRetryInterval 1d
JobRetryInterval 1h
JobRetryInterval 1m
JobRetryInterval 30
</PRE>
<H3>Description</H3>
<P>The <CODE>JobRetryInterval</CODE> directive specifies the amount of time to wait before retrying a job in seconds (no suffix), minutes ("m" suffix), hours ("h" suffix), days ("d" suffix), or weeks ("w" suffix). This is typically used for fax queues but can also be used with normal print queues whose error policy is <CODE>retry-job</CODE> or <CODE>retry-current-job</CODE>.</P>
<P>The default is <CODE>30</CODE> (30 seconds).</P>
<H2 CLASS="title"><SPAN CLASS="info">CUPS 1.4/OS X 10.6</SPAN><A NAME="JobKillDelay">JobKillDelay</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
JobKillDelay 1w
JobKillDelay 1d
JobKillDelay 1h
JobKillDelay 1m
JobKillDelay 30
</PRE>
<H3>Description</H3>
<P>The <CODE>JobKillDelay</CODE> directive specifies the amount of time to wait before killing the filters and backend associated with a canceled or held job in seconds (no suffix), minutes ("m" suffix), hours ("h" suffix), days ("d" suffix), or weeks ("w" suffix).</P>
<P>The default is <CODE>30</CODE> (30 seconds).</P>
<H2 CLASS="title"><SPAN CLASS="info">CUPS 1.2/OS X 10.5</SPAN><A NAME="JobRetryLimit">JobRetryLimit</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
JobRetryLimit 5
JobRetryLimit 50
</PRE>
<H3>Description</H3>
<P>The <CODE>JobRetryLimit</CODE> directive specifies the maximum
number of times the scheduler will try to print a job. This is
typically used for fax queues but can also be used with normal
print queues whose error policy is <CODE>retry-job</CODE>. The
default is 5 times.</P>
<H2 CLASS="title"><A NAME="KeepAlive">KeepAlive</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
KeepAlive On
KeepAlive Off
</PRE>
<H3>Description</H3>
<P>The <CODE>KeepAlive</CODE> directive controls whether or not
to support persistent HTTP connections. The default is
<CODE>On</CODE>.</P>
<P>HTTP/1.1 clients automatically support persistent connections,
while HTTP/1.0 clients must specifically request them using the
<CODE>Keep-Alive</CODE> attribute in the <CODE>Connection:</CODE>
field of each request.</P>
<H2 CLASS="title"><A NAME="KeepAliveTimeout">KeepAliveTimeout</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
KeepAliveTimeout 1w
KeepAliveTimeout 1d
KeepAliveTimeout 1h
KeepAliveTimeout 1m
KeepAliveTimeout 30
</PRE>
<H3>Description</H3>
<P>The <CODE>KeepAliveTimeout</CODE> directive controls how long a persistent HTTP connection will remain open after the last request in seconds (no suffix), minutes ("m" suffix), hours ("h" suffix), days ("d" suffix), or weeks ("w" suffix).</P>
<P>The default is <CODE>30</CODE> (30 seconds).</P>
<H2 CLASS="title"><SPAN CLASS="info">CUPS 1.1.7</SPAN><A NAME="Limit">Limit (Location)</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
<Location /path>
<Limit GET POST>
...
</Limit>
<Limit ALL>
...
</Limit>
</Location>
</PRE>
<H3>Description</H3>
<P>The <CODE>Limit</CODE> directive groups access control
directives for specific types of HTTP requests and must appear
inside a <A HREF="#Location"><CODE>Location</CODE></A> section.
Access can be limited for individual request types
(<CODE>DELETE</CODE>, <CODE>GET</CODE>, <CODE>HEAD</CODE>,
<CODE>OPTIONS</CODE>, <CODE>POST</CODE>, <CODE>PUT</CODE>, and
<CODE>TRACE</CODE>) or for all request types (<CODE>ALL</CODE>).
The request type names are case-sensitive for compatibility with
Apache.</P>
<H2 CLASS="title"><SPAN CLASS="info">CUPS 1.2/OS X 10.5</SPAN><A NAME="LimitIPP">Limit (Policy)</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
<Policy name>
<Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer>
...
</Limit>
<Limit All>
...
</Limit>
</Policy>
</PRE>
<H3>Description</H3>
<P>When included in <A HREF="#Policy"><CODE>Policy</CODE></A>
sections, the <CODE>Limit</CODE> directive groups access control
directives for specific IPP operations. Multiple operations can
be listed, separated by spaces. Table 2 lists the supported
operations.</P>
<DIV CLASS="table"><TABLE SUMMARY="Supported IPP Operations">
<CAPTION>Table 2: <A NAME="TABLE2">Supported IPP Operations</A></CAPTION>
<THEAD>
<TR>
<TH>Operation Name</TH>
<TH>Description</TH>
</TR>
</THEAD>
<TBODY>
<TR>
<TD>All</TD>
<TD>All operations - used as the default limit for
operations that are not listed</TD>
</TR>
<TR>
<TD>Cancel-Job</TD>
<TD>Cancel a job</TD>
</TR>
<TR>
<TD>Cancel-Subscription</TD>
<TD>Cancel a subscription</TD>
</TR>
<TR>
<TD>Create-Job</TD>
<TD>Create a new, empty job</TD>
</TR>
<TR>
<TD>Create-Job-Subscription</TD>
<TD>Creates a notification subscription on a job</TD>
</TR>
<TR>
<TD>Create-Printer-Subscription</TD>
<TD>Creates a notification subscription on a printer</TD>
</TR>
<TR>
<TD>CUPS-Accept-Jobs</TD>
<TD>Sets the printer-is-accepting-jobs value for a printer to true</TD>
</TR>
<TR>
<TD>CUPS-Add-Modify-Class</TD>
<TD>Adds or modifies a class</TD>
</TR>
<TR>
<TD>CUPS-Add-Modify-Printer</TD>
<TD>Adds or modifies a printer</TD>
</TR>
<TR>
<TD>CUPS-Authenticate-Job</TD>
<TD>Authenticates a job for printing</TD>
</TR>
<TR>
<TD>CUPS-Delete-Class</TD>
<TD>Deletes a class</TD>
</TR>
<TR>
<TD>CUPS-Delete-Printer</TD>
<TD>Deletes a printer</TD>
</TR>
<TR>
<TD>CUPS-Get-Classes</TD>
<TD>Gets a list of classes</TD>
</TR>
<TR>
<TD>CUPS-Get-Default</TD>
<TD>Gets the (network/server) default printer or class</TD>
</TR>
<TR>
<TD>CUPS-Get-Devices</TD>
<TD>Gets a list of available devices</TD>
</TR>
<TR>
<TD>CUPS-Get-PPDs</TD>
<TD>Gets a list of available manufacturers or drivers</TD>
</TR>
<TR>
<TD>CUPS-Get-Printers</TD>
<TD>Gets a list of printers and/or classes</TD>
</TR>
<TR>
<TD>CUPS-Move-Job</TD>
<TD>Moves a job to a new destination</TD>
</TR>
<TR>
<TD>CUPS-Reject-Jobs</TD>
<TD>Sets the printer-is-accepting-jobs value for a printer to false</TD>
</TR>
<TR>
<TD>CUPS-Set-Default</TD>
<TD>Sets the network/server default printer or class</TD>
</TR>
<TR>
<TD>Disable-Printer</TD>
<TD>Sets the printer-state value for a printer to stopped</TD>
</TR>
<TR>
<TD>Enable-Printer</TD>
<TD>Sets the printer-state value for a printer to idle/processing</TD>
</TR>
<TR>
<TD>Get-Job-Attributes</TD>
<TD>Gets information about a job</TD>
</TR>
<TR>
<TD>Get-Jobs</TD>
<TD>Gets a list of jobs</TD>
</TR>
<TR>
<TD>Get-Notifications</TD>
<TD>Gets a list of events</TD>
</TR>
<TR>
<TD>Get-Printer-Attributes</TD>
<TD>Gets information about a printer or class</TD>
</TR>
<TR>
<TD>Get-Subscription-Attributes</TD>
<TD>Gets information about a notification subscription</TD>
</TR>
<TR>
<TD>Get-Subscriptions</TD>
<TD>Gets a list of notification subscriptions</TD>
</TR>
<TR>
<TD>Hold-Job</TD>
<TD>Holds a job for printing</TD>
</TR>
<TR>
<TD>Pause-Printer</TD>
<TD>Sets the printer-state value for a printer to stopped</TD>
</TR>
<TR>
<TD>Print-Job</TD>
<TD>Creates a job with a single file for printing</TD>
</TR>
<TR>
<TD>Purge-Jobs</TD>
<TD>Removes all jobs from a printer</TD>
</TR>
<TR>
<TD>Release-Job</TD>
<TD>Releases a previously held job for printing</TD>
</TR>
<TR>
<TD>Renew-Subscription</TD>
<TD>Renews a notification subscription</TD>
</TR>
<TR>
<TD>Restart-Job</TD>
<TD>Reprints a job</TD>
</TR>
<TR>
<TD>Resume-Printer</TD>
<TD>Sets the printer-state value for a printer to idle/processing</TD>
</TR>
<TR>
<TD>Send-Document</TD>
<TD>Adds a file to an job created with Create-Job</TD>
</TR>
<TR>
<TD>Set-Job-Attributes</TD>
<TD>Changes job options</TD>
</TR>
<TR>
<TD>Validate-Job</TD>
<TD>Validates job options prior to printing</TD>
</TR>
</TBODY>
</TABLE></DIV>
<H2 CLASS="title"><SPAN CLASS="info">CUPS 1.1.7</SPAN><A NAME="LimitExcept">LimitExcept</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
<Location /path>
<LimitExcept GET POST>
...
</LimitExcept>
</Location>
</PRE>
<H3>Description</H3>
<P>The <CODE>LimitExcept</CODE> directive groups access control
directives for specific types of HTTP requests and must appear
inside a <A HREF="#Location"><CODE>Location</CODE></A> section.
Unlike the <A HREF="#Limit"><CODE>Limit</CODE></A> directive,
<CODE>LimitExcept</CODE> restricts access for all requests
<I>except</I> those listed on the <CODE>LimitExcept</CODE>
line.</P>
<H2 CLASS="title"><A NAME="LimitRequestBody">LimitRequestBody</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
LimitRequestBody 10485760
LimitRequestBody 10m
LimitRequestBody 0
</PRE>
<H3>Description</H3>
<P>The <CODE>LimitRequestBody</CODE> directive controls the
maximum size of print files, IPP requests, and HTML form data in
HTTP POST requests. The default limit is 0 which disables the
limit check.</P>
<H2 CLASS="title"><A NAME="Listen">Listen</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
Listen 127.0.0.1:631
Listen 192.0.2.1:631
Listen [::1]:631
Listen *:631
</PRE>
<H3>Description</H3>
<P>The <CODE>Listen</CODE> directive specifies a network address
and port to listen for connections. Multiple <CODE>Listen</CODE>
directives can be provided to listen on multiple addresses.</P>
<P>The <CODE>Listen</CODE> directive is similar to the <A
HREF="#Port"><CODE>Port</CODE></A> directive but allows you to
restrict access to specific interfaces or networks.</P>
<H2 CLASS="title"><SPAN CLASS="info">CUPS 1.1.7</SPAN><A NAME="ListenBackLog">ListenBackLog</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
ListenBackLog 5
ListenBackLog 10
</PRE>
<H3>Description</H3>
<P>The <CODE>ListenBackLog</CODE> directive sets the maximum
number of pending connections the scheduler will allow. This
normally only affects very busy servers that have reached the <A
HREF="#MaxClients"><CODE>MaxClients</CODE></A> limit, but can
also be triggered by large numbers of simultaneous connections.
When the limit is reached, the operating system will refuse
additional connections until the scheduler can accept the pending
ones. The default is the OS-defined default limit, typically
either 5 for older operating systems or 128 for newer operating
systems.</P>
<H2 CLASS="title"><A NAME="Location">Location</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
<Location />
...
</Location>
<Location /admin>
...
</Location>
<Location /admin/conf>
...
</Location>
<Location /admin/log>
...
</Location>
<Location /classes>
...
</Location>
<Location /classes/name>
...
</Location>
<Location /jobs>
...
</Location>
<Location /printers>
...
</Location>
<Location /printers/name>
...
</Location>
</PRE>
<H3>Description</H3>
<P>The <CODE>Location</CODE> directive specifies access control
and authentication options for the specified HTTP resource or
path. The <A HREF="#Allow"><CODE>Allow</CODE></A>, <A
HREF="#AuthType"><CODE>AuthType</CODE></A>, <A
HREF="#Deny"><CODE>Deny</CODE></A>, <A
HREF="#Encryption"><CODE>Encryption</CODE></A>, <A
HREF="#Limit"><CODE>Limit</CODE></A>, <A
HREF="#LimitExcept"><CODE>LimitExcept</CODE></A>, <A
HREF="#Order"><CODE>Order</CODE></A>, <A
HREF="#Require"><CODE>Require</CODE></A>, and <A
HREF="#Satisfy"><CODE>Satisfy</CODE></A> directives may all
appear inside a location.</P>
<P>Note that more specific resources override the less specific
ones. So the directives inside the <CODE>/printers/name</CODE>
location will override ones from <CODE>/printers</CODE>.
Directives inside <CODE>/printers</CODE> will override ones from
<CODE>/</CODE>. None of the directives are inherited.</P>
<DIV CLASS="table"><TABLE SUMMARY="Common Locations on the Server">
<CAPTION>Table 3: <A NAME="TABLE3">Common Locations on the Server</A></CAPTION>
<THEAD>
<TR><TH>Location</TH><TH>Description</TH></TR>
</THEAD>
<TBODY>
<TR><TD><CODE>/</CODE></TD><TD>The path for all get operations (get-printers, get-jobs, etc.)</TD></TR>
<TR><TD><CODE>/admin</CODE></TD><TD>The path for all administration operations (add-printer, delete-printer, start-printer, etc.)</TD></TR>
<TR><TD><CODE>/admin/conf</CODE></TD><TD>The path for access to the CUPS configuration files (cupsd.conf, client.conf, etc.)</TD></TR>
<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>
<TR><TD><CODE>/classes</CODE></TD><TD>The path for all classes</TD></TR>
<TR><TD><CODE>/classes/name</CODE></TD><TD>The resource for class <CODE>name</CODE></TD></TR>
<TR><TD><CODE>/jobs</CODE></TD><TD>The path for all jobs (hold-job, release-job, etc.)</TD></TR>
<TR><TD><CODE>/jobs/id</CODE></TD><TD>The resource for job <CODE>id</CODE></TD></TR>
<TR><TD><CODE>/printers</CODE></TD><TD>The path for all printers</TD></TR>
<TR><TD><CODE>/printers/name</CODE></TD><TD>The path for printer <CODE>name</CODE></TD></TR>
<TR><TD><CODE>/printers/name.ppd</CODE></TD><TD>The PPD file path for printer <CODE>name</CODE></TD></TR>
</TBODY>
</TABLE></DIV>
<H2 CLASS="title"><A NAME="LogDebugHistory">LogDebugHistory</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
LogDebugHistory 0
LogDebugHistory 200
</PRE>
<H3>Description</H3>
<P>When <A HREF="#LogLevel"><CODE>LogLevel</CODE></A> is not set to
<CODE>debug</CODE> or <CODE>debug2</CODE>, the <CODE>LogDebugHistory</CODE>
directive specifies the number of debugging messages that are logged when an
error occurs during printing. The default is 200 messages. A value of 0
disables debugging history entirely and is not recommended.</P>
<H2 CLASS="title"><SPAN CLASS="info">CUPS 1.1.15</SPAN><A NAME="LogFilePerm">LogFilePerm</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
LogFilePerm 0644
LogFilePerm 0600
</PRE>
<H3>Description</H3>
<P>The <CODE>LogFilePerm</CODE> directive specifies the
permissions to use when writing log files. The default
is @CUPS_LOG_FILE_PERM@.</P>
<H2 CLASS="title"><A NAME="LogLevel">LogLevel</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
LogLevel none
LogLevel emerg
LogLevel alert
LogLevel crit
LogLevel error
LogLevel warn
LogLevel notice
LogLevel info
LogLevel debug
LogLevel debug2
</PRE>
<H3>Description</H3>
<P>The <CODE>LogLevel</CODE> directive specifies the level of
logging for the <A HREF="#ErrorLog"><CODE>ErrorLog</CODE></A>
file. The following values are recognized (each level logs
everything under the preceding levels):</P>
<UL>
<LI><CODE>none</CODE> - Log nothing</LI>
<LI><CODE>emerg</CODE> - Log emergency conditions that
prevent the server from running</LI>
<LI><CODE>alert</CODE> - Log alerts that must be handled
immediately</LI>
<LI><CODE>crit</CODE> - Log critical errors that don't
prevent the server from running</LI>
<LI><CODE>error</CODE> - Log general errors</LI>
<LI><CODE>warn</CODE> - Log errors and warnings</LI>
<LI><CODE>notice</CODE> - Log temporary error conditions</LI>
<LI><CODE>info</CODE> - Log all requests and state
changes</LI>
<LI><CODE>debug</CODE> - Log basic debugging
information</LI>
<LI><CODE>debug2</CODE> - Log all debugging
information</LI>
</UL>
<p>The default <code>LogLevel</code> is <code>@CUPS_LOG_LEVEL@</code>.</p>
<H2 CLASS="title"><A NAME="LogTimeFormat">LogTimeFormat</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
LogTimeFormat standard
LogTimeFormat usecs
</PRE>
<H3>Description</H3>
<P>The <CODE>LogTimeFormat</CODE> directive specifies the format used for the
date and time in the log files. <CODE>Standard</CODE> uses the standard Apache
Common Log Format date and time while <CODE>usecs</CODE> adds microseconds.
The default is <CODE>standard</CODE>.</P>
<H2 CLASS="title"><A NAME="MaxClients">MaxClients</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
MaxClients 100
MaxClients 1024
</PRE>
<H3>Description</H3>
<P>The <CODE>MaxClients</CODE> directive controls the maximum
number of simultaneous clients that will be allowed by the
server. The default is 100 clients.</P>
<BLOCKQUOTE><B>Note:</B>
<P>Since each print job requires a file descriptor for the status
pipe, the scheduler internally limits the <CODE>MaxClients</CODE>
value to 1/3 of the available file descriptors to avoid possible
problems when printing large numbers of jobs.</P>
</BLOCKQUOTE>
<H2 CLASS="title"><SPAN CLASS="info">CUPS 1.1.18</SPAN><A NAME="MaxClientsPerHost">MaxClientsPerHost</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
MaxClientsPerHost 10
</PRE>
<H3>Description</H3>
<P>The <CODE>MaxClientsPerHost</CODE> directive controls the
maximum number of simultaneous clients that will be allowed from
a single host by the server. The default is the
<CODE>MaxClients</CODE> value.</P>
<P>This directive provides a small measure of protection against
Denial of Service attacks from a single host.</P>
<H2 CLASS="title"><SPAN CLASS="info">CUPS 1.1.16</SPAN><A NAME="MaxCopies">MaxCopies</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
MaxCopies 100
MaxCopies 65535
</PRE>
<H3>Description</H3>
<P>The <CODE>MaxCopies</CODE> directive controls the maximum
number of copies that a user can print of a job. The default is
@CUPS_MAX_COPIES@ copies.</P>
<BLOCKQUOTE><B>Note:</B>
<P>Most HP PCL laser printers internally limit the number of
copies to 100.</P>
</BLOCKQUOTE>
<H2 CLASS="title"><SPAN CLASS="info">CUPS 1.6/OS X 10.8</SPAN><A NAME="MaxHoldTime">MaxHoldTime</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
MaxHoldTime 10800
MaxHoldTime 3h
MaxHoldTime 180m
MaxHoldTime 0
</PRE>
<H3>Description</H3>
<P>The <CODE>MaxHoldTime</CODE> directive controls the maximum number of seconds allowed for a job to remain in the "indefinite" hold state. The job is canceled automatically if it remains held indefinitely longer than the specified time interval in seconds (no suffix), minutes ("m" suffix), hours ("h" suffix), days ("d" suffix), or weeks ("w" suffix).</P>
<p>The default setting is <CODE>0</CODE> which disables this functionality.</P>
<H2 CLASS="title"><A NAME="MaxJobs">MaxJobs</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
MaxJobs 100
MaxJobs 9999
MaxJobs 0
</PRE>
<H3>Description</H3>
<P>The <CODE>MaxJobs</CODE> directive controls the maximum number
of jobs that are kept in memory. Once the number of jobs reaches
the limit, the oldest completed job is automatically purged from
the system to make room for the new one. If all of the known jobs
are still pending or active then the new job will be
rejected.</P>
<P>Setting the maximum size to 0 disables this functionality. The
default setting is 500.</P>
<H2 CLASS="title"><SPAN CLASS="info">CUPS 1.1.7</SPAN><A NAME="MaxJobsPerPrinter">MaxJobsPerPrinter</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
MaxJobsPerPrinter 100
MaxJobsPerPrinter 9999
MaxJobsPerPrinter 0
</PRE>
<H3>Description</H3>
<P>The <CODE>MaxJobsPerPrinter</CODE> directive controls the
maximum number of active jobs that are allowed for each printer
or class. Once a printer or class reaches the limit, new jobs
will be rejected until one of the active jobs is completed,
stopped, aborted, or canceled.</P>
<P>Setting the maximum to 0 disables this functionality. The
default setting is 0.</P>
<H2 CLASS="title"><SPAN CLASS="info">CUPS 1.1.7</SPAN><A NAME="MaxJobsPerUser">MaxJobsPerUser</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
MaxJobsPerUser 100
MaxJobsPerUser 9999
MaxJobsPerUser 0
</PRE>
<H3>Description</H3>
<P>The <CODE>MaxJobsPerUser</CODE> directive controls the maximum
number of active jobs that are allowed for each user. Once a user
reaches the limit, new jobs will be rejected until one of the
active jobs is completed, stopped, aborted, or canceled.</P>
<P>Setting the maximum to 0 disables this functionality. The
default setting is 0.</P>
<H2 CLASS="title"><SPAN CLASS="info">CUPS 1.6/OS X 10.8</SPAN><A NAME="MaxJobTime">MaxJobTime</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
MaxJobTime 10800
MaxJobTime 3h
MaxJobTime 180m
MaxJobTime 0
</PRE>
<H3>Description</H3>
<P>The <CODE>MaxJobTime</CODE> directive controls the maximum number of
seconds allowed for a job to complete printing before it is considered "stuck".
The job is canceled automatically if it takes longer than the specified time to complete in seconds (no suffix), minutes ("m" suffix), hours ("h" suffix), days ("d" suffix), or weeks ("w" suffix).</P>
<p>Setting the maximum time to <CODE>0</CODE> disables this functionality. The default setting is <CODE>3h</CODE> (3 hours).</P>
<H2 CLASS="title"><A NAME="MaxLogSize">MaxLogSize</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
MaxLogSize 1048576
MaxLogSize 1m
MaxLogSize 0
</PRE>
<H3>Description</H3>
<P>The <CODE>MaxLogSize</CODE> directive controls the maximum
size of each log file. Once a log file reaches or exceeds the
maximum size it is closed and renamed to <VAR>filename.O</VAR>.
This allows you to rotate the logs automatically. The default
size is 1048576 bytes (1MB).</P>
<P>Setting the maximum size to 0 disables log rotation.</P>
<H2 CLASS="title"><SPAN CLASS="info">Deprecated</SPAN><A NAME="MaxRequestSize">MaxRequestSize</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
MaxRequestSize 10485760
MaxRequestSize 10m
MaxRequestSize 0
</PRE>
<H3>Description</H3>
<P>The <CODE>MaxRequestSize</CODE> directive controls the maximum
size of print files, IPP requests, and HTML form data in HTTP
POST requests. The default limit is 0 which disables the limit
check.</P>
<P><B>This directive is deprecated and will be removed in a
future CUPS release.</B> Use the <A
HREF="#LimitRequestBody"><CODE>LimitRequestBody</CODE></A>
directive instead.</P>
<H2 CLASS="title"><SPAN CLASS="info">CUPS 1.4/OS X 10.6</SPAN><A NAME="MultipleOperationTimeout">MultipleOperationTimeout</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
MultipleOperationTimeout 1w
MultipleOperationTimeout 1d
MultipleOperationTimeout 1h
MultipleOperationTimeout 5m
MultipleOperationTimeout 300
</PRE>
<H3>Description</H3>
<P>The <CODE>MultipleOperationTimeout</CODE> directive sets the maximum amount of time between files in a multi-file print job in seconds (no suffix), minutes ("m" suffix), hours ("h" suffix), days ("d" suffix), or weeks ("w" suffix).</P>
<P>The default is <CODE>5m</CODE> (five minutes).</P>
<H2 CLASS="title"><A NAME="Order">Order</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
<Location /path>
...
Order Allow,Deny
Order Deny,Allow
</Location>
</PRE>
<H3>Description</H3>
<P>The <CODE>Order</CODE> directive defines the default access
control. The following values are supported:</P>
<UL>
<LI><CODE>allow,deny</CODE> - Deny requests by default,
then check the <A HREF="#Allow"><CODE>Allow</CODE></A>
lines followed by the <A
HREF="#Deny"><CODE>Deny</CODE></A> lines</LI>
<LI><CODE>deny,allow</CODE> - Allow requests by default,
then check the <A HREF="#Deny"><CODE>Deny</CODE></A>
lines followed by the <A
HREF="#Allow"><CODE>Allow</CODE></A> lines</LI>
</UL>
<P>The <CODE>Order</CODE> directive must appear inside a <A
HREF="#Location"><CODE>Location</CODE></A> or <A
HREF="#Limit"><CODE>Limit</CODE></A> section.</P>
<H2 CLASS="title"><A NAME="PageLog">PageLog</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
PageLog /var/log/cups/page_log
PageLog /var/log/cups/page_log-%s
PageLog syslog
</PRE>
<H3>Description</H3>
<P>The <CODE>PageLog</CODE> directive sets the name of the page
log file. If the filename is not absolute then it is assumed to
be relative to the <A
HREF="#ServerRoot"><CODE>ServerRoot</CODE></A> directory. The
default page log file is <VAR>@CUPS_LOGDIR@/page_log</VAR>.</P>
<P>The server name can be included in the filename by using
<CODE>%s</CODE> in the name.</P>
<P>The special name "syslog" can be used to send the page
information to the system log instead of a plain file.</P>
<H2 CLASS="title"><A NAME="PageLogFormat">PageLogFormat</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
PageLogFormat %p %u %j %T %P %C %{job-billing} %{job-originating-host-name} %{job-name} %{media} %{sides}
PageLogFormat PAGE %p %u %j %P %C %{job-billing} %{job-originating-host-name}
</PRE>
<H3>Description</H3>
<P>The <CODE>PageLogFormat</CODE> directive sets the format of lines
that are logged to the page log file. Sequences beginning with percent (%)
characters are replaced with the corresponding information, while all other
characters are copied literally. The following percent sequences are
recognized:</P>
<UL>
<LI><CODE>%%</CODE>: Inserts a single percent character.</LI>
<LI><CODE>%{name}</CODE>: Inserts the value of the specified IPP
attribute.</LI>
<LI><CODE>%C</CODE>: Inserts the number of copies for the current page.</LI>
<LI><CODE>%P</CODE>: Inserts the current page number.</LI>
<LI><CODE>%T</CODE>: Inserts the current date and time in common log
format.</LI>
<LI><CODE>%j</CODE>: Inserts the job ID.</LI>
<LI><CODE>%p</CODE>: Inserts the printer name.</LI>
<LI><CODE>%u</CODE>: Inserts the username.</LI>
</UL>
<P>The default is "%p %u %j %T %P %C %{job-billing} %{job-originating-host-name} %{job-name} %{media} %{sides}".</P>
<H2 CLASS="title"><SPAN CLASS="info">CUPS 1.2/OS X 10.5</SPAN><A NAME="PassEnv">PassEnv</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
PassEnv MY_ENV_VARIABLE
</PRE>
<H3>Description</H3>
<P>The <CODE>PassEnv</CODE> directive specifies an environment
variable that should be passed to child processes. Normally, the
scheduler only passes the <CODE>DYLD_LIBRARY_PATH</CODE>,
<CODE>LD_ASSUME_KERNEL</CODE>, <CODE>LD_LIBRARY_PATH</CODE>,
<CODE>LD_PRELOAD</CODE>, <CODE>NLSPATH</CODE>,
<CODE>SHLIB_PATH</CODE>, <CODE>TZ</CODE>, and <CODE>VGARGS</CODE>
environment variables to child processes.</P>
<H2 CLASS="title"><SPAN CLASS="info">CUPS 1.2/OS X 10.5</SPAN><A NAME="Policy">Policy</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
<Policy name>
<Limit operation ... operation>
...
</Limit>
<Limit operation ... operation>
...
</Limit>
<Limit All>
...
</Limit>
</Policy>
</PRE>
<H3>Description</H3>
<P>The <CODE>Policy</CODE> directive specifies IPP operation
access control limits. Each policy contains 1 or more <A
HREF="#LimitIPP"><CODE>Limit</CODE></A> sections to set the
access control limits for specific operations - user limits,
authentication, encryption, and allowed/denied addresses,
domains, or hosts. The <CODE><Limit All></CODE> section
specifies the default access control limits for operations that
are not listed.</P>
<P>Policies are named and associated with printers via the
printer's operation policy setting
(<CODE>printer-op-policy</CODE>). The default policy for the
scheduler is specified using the <A
HREF="#DefaultPolicy"><CODE>DefaultPolicy</CODE></A>
directive.</P>
<H2 CLASS="title"><A NAME="Port">Port</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
Port 631
Port 80
</PRE>
<H3>Description</H3>
<P>The <CODE>Port</CODE> directive specifies a port to listen on.
Multiple <CODE>Port</CODE> lines can be specified to listen on
multiple ports. The <CODE>Port</CODE> directive is equivalent to
"<CODE>Listen *:nnn</CODE>". The default port is 631.</P>
<BLOCKQUOTE><B>Note:</B>
<P>On systems that support IPv6, this directive will bind to both
the IPv4 and IPv6 wildcard address.</P>
</BLOCKQUOTE>
<H2 CLASS="title"><A NAME="PreserveJobHistory">PreserveJobHistory</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
PreserveJobHistory On
PreserveJobHistory Off
PreserveJobHistory 1w
PreserveJobHistory 7d
PreserveJobHistory 168h
PreserveJobHistory 10080m
PreserveJobHistory 604800
</PRE>
<H3>Description</H3>
<P>The <CODE>PreserveJobHistory</CODE> directive controls whether the history of completed, canceled, or aborted print jobs is retained by the scheduler. A value of <CODE>On</CODE> preserves job information until the administrator purges it with the <CODE>cancel</CODE> command. A value of <CODE>Off</CODE> removes the job information as soon as each job is completed, canceled, or aborted. Numeric values preserve job information for the specified number of seconds (no suffix), minutes ("m" suffix), hours ("h" suffix), days ("d" suffix), or weeks ("w" suffix).</P>
<P>The default value is <CODE>On</CODE>.</P>
<BLOCKQUOTE><B>Note:</B>
<P>The <A HREF="#MaxJobs"><CODE>MaxJobs</CODE></A>, <A HREF="#MaxJobsPerPrinter"><CODE>MaxJobsPerPrinter</CODE></A>, and <A HREF="#MaxJobsPerUser"><CODE>MaxJobsPerUser</CODE></A> directives can cause job history to be discarded to make room for new jobs.</P>
</BLOCKQUOTE>
<H2 CLASS="title"><A NAME="PreserveJobFiles">PreserveJobFiles</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
PreserveJobFiles On
PreserveJobFiles Off
PreserveJobFiles 1w
PreserveJobFiles 7d
PreserveJobFiles 168h
PreserveJobFiles 10080m
PreserveJobFiles 604800
</PRE>
<H3>Description</H3>
<P>The <CODE>PreserveJobFiles</CODE> directive controls whether the document files of completed, canceled, or aborted print jobs are retained. Jobs can be restarted (and reprinted) as desired until they are purged.</P>
<P>A value of <CODE>On</CODE> preserves job files until the administrator purges them with the <CODE>cancel</CODE> command. A value of <CODE>Off</CODE> removes the job files as soon as each job is completed, canceled, or aborted. Numeric values preserve job files for the specified number of seconds (no suffix), minutes ("m" suffix), hours ("h" suffix), days ("d" suffix), or weeks ("w" suffix).</P>
<P>The default value is <CODE>1d</CODE> (one day).</P>
<BLOCKQUOTE><B>Note:</B>
<P>The <A HREF="#MaxJobs"><CODE>MaxJobs</CODE></A>, <A HREF="#MaxJobsPerPrinter"><CODE>MaxJobsPerPrinter</CODE></A>, <A HREF="#MaxJobsPerUser"><CODE>MaxJobsPerUser</CODE></A>, and <A HREF="#PreserveJobHistory"><CODE>PreserveJobHistory</CODE></A> directives can cause job files to be discarded sooner than specified.</P>
</BLOCKQUOTE>
<H2 CLASS="title"><A NAME="Printcap">Printcap</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
Printcap
Printcap /etc/printcap
Printcap /etc/printers.conf
Printcap /Library/Preferences/org.cups.printers.plist
</PRE>
<H3>Description</H3>
<P>The <CODE>Printcap</CODE> directive controls whether or not a
printcap file is automatically generated and updated with a list
of available printers. If specified with no value, then no
printcap file will be generated. The default is to generate a
file named <VAR>@CUPS_DEFAUL_PRINTCAP@</VAR>.</P>
<P>When a filename is specified (e.g. <VAR>@CUPS_DEFAULT_PRINTCAP@</VAR>),
the printcap file is written whenever a printer is added or
removed. The printcap file can then be used by applications that
are hardcoded to look at the printcap file for the available
printers.</P>
<H2 CLASS="title"><A NAME="PrintcapFormat">PrintcapFormat</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
PrintcapFormat BSD
PrintcapFormat Solaris
PrintcapFormat plist
</PRE>
<H3>Description</H3>
<P>The <CODE>PrintcapFormat</CODE> directive controls the output format of the
printcap file. The default is to generate the plist format on OS X, the
Solaris format on Solaris, and the BSD format on other operating systems.</P>
<H2 CLASS="title"><SPAN CLASS="info">CUPS 1.1.13</SPAN><A NAME="PrintcapGUI">PrintcapGUI</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
PrintGUI /usr/bin/glpoptions
</PRE>
<H3>Description</H3>
<P>The <CODE>PrintcapGUI</CODE> directive sets the program to
associate with the IRIX printer GUI interface script which is
used by IRIX applications to display printer-specific options.
There is no default program.</P>
<H2 CLASS="title"><SPAN CLASS="info">CUPS 1.1.21</SPAN><A NAME="ReloadTimeout">ReloadTimeout</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
ReloadTimeout 0
ReloadTimeout 30
</PRE>
<H3>Description</H3>
<P>The <CODE>ReloadTimeout</CODE> directive specifies the number
of seconds the scheduler will wait for active jobs to complete
before doing a restart. The default is 30 seconds.</P>
<H2 CLASS="title"><SPAN CLASS="info">CUPS 1.1.3</SPAN><A NAME="RemoteRoot">RemoteRoot</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
RemoteRoot remroot
RemoteRoot root
</PRE>
<H3>Description</H3>
<P>The <CODE>RemoteRoot</CODE> directive sets the username for
unauthenticated root requests from remote hosts. The default
username is <VAR>remroot</VAR>. Setting <CODE>RemoteRoot</CODE>
to <VAR>root</VAR> effectively disables this security
mechanism.</P>
<H2 CLASS="title"><A NAME="RequestRoot">RequestRoot</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
RequestRoot /var/spool/cups
RequestRoot /foo/bar/spool/cups
</PRE>
<H3>Description</H3>
<P>The <CODE>RequestRoot</CODE> directive sets the directory for
incoming IPP requests and HTML forms. If an absolute path is not
provided then it is assumed to be relative to the <A
HREF="#ServerRoot"><CODE>ServerRoot</CODE></A> directory. The
default request directory is <VAR>@CUPS_REQUESTS@</VAR>.</P>
<H2 CLASS="title"><SPAN CLASS="info">CUPS 1.1.7</SPAN><A NAME="Require">Require</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
<Location /path>
...
Require group foo bar
Require user john mary
Require valid-user
Require user @groupname
Require user @SYSTEM
Require user @OWNER
</Location>
</PRE>
<H3>Description</H3>
<P>The <CODE>Require</CODE> directive specifies that
authentication is required for the resource. The
<CODE>group</CODE> keyword specifies that the authenticated user
must be a member of one or more of the named groups that
follow.</P>
<P>The <CODE>user</CODE> keyword specifies that the
authenticated user must be one of the named users or groups that
follow. Group names are specified using the "@" prefix.</P>
<P>The <CODE>valid-user</CODE> keyword specifies that any
authenticated user may access the resource.</P>
<P>The default is to do no authentication. This directive must
appear inside a <A HREF="#Location"><CODE>Location</CODE></A> or
<A HREF="#Limit"><CODE>Limit</CODE></A> section.</P>
<H2 CLASS="title"><A NAME="RIPCache">RIPCache</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
RIPCache 128m
RIPCache 1g
RIPCache 2048k
</PRE>
<H3>Description</H3>
<P>The <CODE>RIPCache</CODE> directive sets the size of the
memory cache used by Raster Image Processor ("RIP") filters such
as <CODE>imagetoraster</CODE> and <CODE>pstoraster</CODE>. The
size can be suffixed with a "k" for kilobytes, "m" for megabytes,
or "g" for gigabytes. The default cache size is "128m", or 128
megabytes.</P>
<H2 CLASS="title"><SPAN CLASS="info">CUPS 1.1.16</SPAN><A NAME="RootCertDuration">RootCertDuration</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
RootCertDuration 0
RootCertDuration 1w
RootCertDuration 1d
RootCertDuration 1h
RootCertDuration 5m
RootCertDuration 300
</PRE>
<H3>Description</H3>
<P>The <CODE>RootCertDuration</CODE> directive specifies the amount of time the <EM>root certificate</EM> remains valid in seconds (no suffix), minutes ("m" suffix), hours ("h" suffix), days ("d" suffix), or weeks ("w" suffix). The scheduler will generate a new certificate as needed when the given time interval has expired. If set to 0, the root certificate is generated only once on startup or on a restart.</P>
<P>The default is <CODE>5m</CODE> (five minutes).</P>
<H2 CLASS="title"><SPAN CLASS="info">CUPS 1.1.7</SPAN><A NAME="Satisfy">Satisfy</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
<Location /path>
...
Satisfy all
Satisfy any
</Location>
</PRE>
<H3>Description</H3>
<P>The <CODE>Satisfy</CODE> directive specifies whether all
conditions must be satisfied to allow access to the resource. If
set to <CODE>all</CODE>, then all authentication and access
control conditions must be satisfied to allow access.</P>
<P>Setting <CODE>Satisfy</CODE> to <CODE>any</CODE> allows a user
to gain access if the authentication or access control
requirements are satisfied. For example, you might require
authentication for remote access, but allow local access without
authentication.</P>
<P>The default is <CODE>all</CODE>. This directive must appear
inside a <A HREF="#Location"><CODE>Location</CODE></A> or <A
HREF="#Limit"><CODE>Limit</CODE></A> section.</P>
<H2 CLASS="title"><A NAME="ServerAdmin">ServerAdmin</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
ServerAdmin user@host
ServerAdmin root@foo.bar.com
</PRE>
<H3>Description</H3>
<P>The <CODE>ServerAdmin</CODE> directive identifies the email
address for the administrator on the system. By default the
administrator email address is <CODE>root@server</CODE>, where
<CODE>server</CODE> is the <A
HREF="#ServerName"><CODE>ServerName</CODE></A>.</P>
<H2 CLASS="title"><SPAN CLASS="info">CUPS 1.3.10</SPAN><A NAME="ServerAlias">ServerAlias</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
ServerAlias althost
ServerAlias foo.example.com
ServerAlias bar.example.com
ServerAlias one.example.com two.example.com
ServerAlias *
</PRE>
<H3>Description</H3>
<P>The <CODE>ServerAlias</CODE> directive specifies alternate names that the server is known by. By default it contains a list of all aliases associated with the <A HREF="#ServerName"><CODE>ServerName</CODE></A>. The special name "*" can be used to allow any hostname when accessing CUPS via an external network interfaces.</P>
<BLOCKQUOTE><B>Note</B>
<P>The <CODE>ServerAlias</CODE> directive is used for HTTP Host header
validation when clients connect to the scheduler from external interfaces.
Using the special name "*" can expose your system to known browser-based
DNS rebinding attacks, even when accessing sites through a firewall. If the
auto-discovery of alternate names does not work, we recommend listing each
alternate name with a ServerAlias directive instead of using "*".</P>
</BLOCKQUOTE>
<H2 CLASS="title"><A NAME="ServerBin">ServerBin</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
ServerBin /usr/lib/cups
ServerBin /foo/bar/lib/cups
</PRE>
<H3>Description</H3>
<P>The <CODE>ServerBin</CODE> directive sets the directory for
server-run executables. If an absolute path is not provided then
it is assumed to be relative to the <A
HREF="#ServerRoot"><CODE>ServerRoot</CODE></A> directory. The
default executable directory is <VAR>/usr/lib/cups</VAR>,
<VAR>/usr/lib32/cups</VAR>, or <VAR>/usr/libexec/cups</VAR>
depending on the operating system.</P>
<H2 CLASS="title"><A NAME="ServerCertificate">ServerCertificate</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
ServerCertificate /etc/cups/ssl/server.crt
</PRE>
<H3>Description</H3>
<P>The <CODE>ServerCertificate</CODE> directive specifies the
location of the SSL certificate file used by the server when
negotiating encrypted connections. The certificate must not be
encrypted (password protected) since the scheduler normally runs
in the background and will be unable to ask for a password.</P>
<P>The default certificate file is
<VAR>/etc/cups/ssl/server.crt</VAR>.</P>
<H2 CLASS="title"><A NAME="ServerKey">ServerKey</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
ServerKey /etc/cups/ssl/server.key
</PRE>
<H3>Description</H3>
<P>The <CODE>ServerKey</CODE> directive specifies the location of
the SSL private key file used by the server when negotiating
encrypted connections.</P>
<P>The default key file is
<VAR>/etc/cups/ssl/server.crt</VAR>.</P>
<H2 CLASS="title"><A NAME="ServerName">ServerName</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
ServerName foo.example.com
ServerName myserver.example.com
</PRE>
<H3>Description</H3>
<P>The <CODE>ServerName</CODE> directive specifies the hostname
that is reported to clients. By default the server name is the
hostname.</P>
<H2 CLASS="title"><A NAME="ServerRoot">ServerRoot</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
ServerRoot /etc/cups
ServerRoot /foo/bar/cups
</PRE>
<H3>Description</H3>
<P>The <CODE>ServerRoot</CODE> directive specifies the absolute
path to the server configuration and state files. It is also used
to resolve relative paths in the <VAR>cupsd.conf</VAR> file. The
default server directory is <VAR>/etc/cups</VAR>.</P>
<H2 CLASS="title"><SPAN CLASS="info">CUPS 1.1.21</SPAN><A NAME="ServerTokens">ServerTokens</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
ServerTokens None
ServerTokens ProductOnly
ServerTokens Major
ServerTokens Minor
ServerTokens Minimal
ServerTokens OS
ServerTokens Full
</PRE>
<H3>Description</H3>
<P>The <CODE>ServerTokens</CODE> directive specifies the
information that is included in the <CODE>Server:</CODE> header
of all HTTP responses. Table 4 lists the token name along with
the text that is returned. The default is
<CODE>Minimal</CODE>.</P>
<DIV CLASS="table"><TABLE SUMMARY="ServerToken Names and Values">
<CAPTION>Table 4: <A NAME="TABLE4">ServerToken Names and Values</A></CAPTION>
<THEAD>
<TR>
<TH>Name</TH>
<TH>Value</TH>
</TR>
</THEAD>
<TBODY>
<TR>
<TD>None</TD>
<TD>No <CODE>Server:</CODE> header is returned</TD>
</TR>
<TR>
<TD>ProductOnly</TD>
<TD>"CUPS"</TD>
</TR>
<TR>
<TD>Major</TD>
<TD>"CUPS 1"</TD>
</TR>
<TR>
<TD>Minor</TD>
<TD>"CUPS 1.2"</TD>
</TR>
<TR>
<TD>Minimal</TD>
<TD>"CUPS 1.2.N" where N is the patch release</TD>
</TR>
<TR>
<TD>OS</TD>
<TD>"CUPS 1.2.N (UNAME)" where N is the patch release and
UNAME is the output of the <B>uname(1)</B> command</TD>
</TR>
<TR>
<TD>Full</TD>
<TD>"CUPS 1.2.N (UNAME) IPP/1.1" where N is the patch
release and UNAME is the output of the <B>uname(1)</B>
command</TD>
</TR>
</TBODY>
</TABLE></DIV>
<H2 CLASS="title"><SPAN CLASS="info">CUPS 1.2/OS X 10.5</SPAN><A NAME="SetEnv">SetEnv</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
SetEnv PATH /usr/lib/cups/filter:/bin:/usr/bin:/usr/local/bin
SetEnv MY_ENV_VAR foo
</PRE>
<H3>Description</H3>
<P>The <CODE>SetEnv</CODE> directive specifies an environment
variable that should be passed to child processes.</P>
<H2 CLASS="title"><A NAME="SSLListen">SSLListen</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
SSLListen 127.0.0.1:443
SSLListen 192.0.2.1:443
</PRE>
<H3>Description</H3>
<P>The <CODE>SSLListen</CODE> directive specifies a network
address and port to listen for secure connections. Multiple
<CODE>SSLListen</CODE> directives can be provided to listen on
multiple addresses.</P>
<P>The <CODE>SSLListen</CODE> directive is similar to the <A
HREF="#SSLPort"><CODE>SSLPort</CODE></A> directive but allows you
to restrict access to specific interfaces or networks.</P>
<H2 CLASS="title"><A NAME="SSLOptions">SSLOptions</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
SSLOptions None
SSLOptions NoEmptyFragments
</PRE>
<H3>Description</H3>
<P>The <CODE>SSLOptions</CODE> directive specifies additional SSL/TLS
protocol options to use for encrypted connected. Currently only two
options are supported - <code>None</code> (the default) for the most
secure mode and <code>NoEmptyFragments</code> to allow CUPS to work with
Microsoft Windows with the FIPS conformance mode enabled.</p>
<H2 CLASS="title"><A NAME="SSLPort">SSLPort</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
SSLPort 443
</PRE>
<H3>Description</H3>
<P>The <CODE>SSLPort</CODE> directive specifies a port to listen
on for secure connections. Multiple <CODE>SSLPort</CODE> lines
can be specified to listen on multiple ports.</P>
<H2 CLASS="title"><SPAN CLASS="info">CUPS 1.6</SPAN><A NAME="StrictConformance">StrictConformance</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
StrictConformance No
StrictConformance Yes
</PRE>
<H3>Description</H3>
<P>The <CODE>StrictConformance</CODE> directive specifies whether the scheduler
requires strict IPP conformance for client requests, for example to not allow
document attributes in a Create-Job request. The default is
<code>No</code>.</P>
<H2 CLASS="title"><SPAN CLASS="info">CUPS 1.5</SPAN><A NAME="SubscriptionPrivateAccess">SubscriptionPrivateAccess</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
SubscriptionPrivateAccess all
SubscriptionPrivateAccess default
SubscriptionPrivateAccess {user|@group|@ACL|@OWNER|@SYSTEM}+
</PRE>
<H3>Description</H3>
<P>The <CODE>SubscriptionPrivateAccess</CODE> directive specifies the access list for a
subscription's private values. The "default" access list is "@OWNER @SYSTEM".
"@ACL" maps to the printer's requesting-user-name-allowed or
requesting-user-name-denied values.</P>
<P>The <CODE>SubscriptionPrivateAccess</CODE> directive must appear inside a <A
HREF="#Policy"><CODE>Policy</CODE></A> section.</P>
<H2 CLASS="title"><SPAN CLASS="info">CUPS 1.5</SPAN><A NAME="SubscriptionPrivateValues">SubscriptionPrivateValues</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
SubscriptionPrivateValues all
SubscriptionPrivateValues default
SubscriptionPrivateValues none
SubscriptionPrivateValues attribute-name-1 [ ... attribute-name-N ]
</PRE>
<H3>Description</H3>
<P>The <CODE>SubscriptionPrivateValues</CODE> directive specifies the list of
subscription values to make private. The "default" values are "notify-events",
"notify-pull-method", "notify-recipient-uri", "notify-subscriber-user-name", and
"notify-user-data".</P>
<P>The <CODE>SubscriptionPrivateValues</CODE> directive must appear inside a <A
HREF="#Policy"><CODE>Policy</CODE></A> section.</P>
<H2 CLASS="title"><A NAME="SystemGroup">SystemGroup</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
SystemGroup lpadmin
SystemGroup sys
SystemGroup system
SystemGroup root
SystemGroup root lpadmin
</PRE>
<H3>Description</H3>
<P>The <CODE>SystemGroup</CODE> directive specifies the system
administration group for <CODE>System</CODE> authentication.
Multiple groups can be listed, separated with spaces. The default
group list is <CODE>@CUPS_SYSTEM_GROUPS@</CODE>.</P>
<H2 CLASS="title"><A NAME="TempDir">TempDir</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
TempDir /var/tmp
TempDir /foo/bar/tmp
</PRE>
<H3>Description</H3>
<P>The <CODE>TempDir</CODE> directive specifies an absolute path
for the directory to use for temporary files. The default
directory is <VAR>@CUPS_REQUESTS@/tmp</VAR>.</P>
<P>Temporary directories must be world-writable and should have
the "sticky" permission bit enabled so that other users cannot
delete filter temporary files. The following commands will create
an appropriate temporary directory called
<VAR>/foo/bar/tmp</VAR>:</P>
<PRE CLASS="command">
<KBD>mkdir /foo/bar/tmp</KBD>
<KBD>chmod a+rwxt /foo/bar/tmp</KBD>
</PRE>
<H2 CLASS="title"><A NAME="Timeout">Timeout</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
Timeout 1w
Timeout 1d
Timeout 1h
Timeout 5m
Timeout 300
</PRE>
<H3>Description</H3>
<P>The <CODE>Timeout</CODE> directive controls the amount of time
to wait before an active HTTP or IPP request times out in seconds (no suffix), minutes ("m" suffix), hours ("h" suffix), days ("d" suffix), or weeks ("w" suffix).</P>
<P>The default timeout is <CODE>5m</CODE> (five minutes).</P>
<H2 CLASS="title"><SPAN CLASS="info">CUPS 1.2/OS X 10.5</SPAN><A NAME="UseNetworkDefault">UseNetworkDefault</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
UseNetworkDefault yes
UseNetworkDefault no
</PRE>
<H3>Description</H3>
<P>The <CODE>UseNetworkDefault</CODE> directive controls whether
the client will use a network/remote printer as a default
printer. If enabled, the default printer of a server is used as
the default printer on a client. When multiple servers are
advertising a default printer, the client's default printer is
set to the first discovered printer, or to the implicit class for
the same printer available from multiple servers.</P>
<P>The default is <CODE>@CUPS_USE_NETWORK_DEFAULT@</CODE>.</P>
<H2 CLASS="title"><A NAME="User">User</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
User lp
User guest
</PRE>
<H3>Description</H3>
<P>The <CODE>User</CODE> directive specifies the UNIX user that
filter and CGI programs run as. The default user is
<CODE>@CUPS_USER@</CODE>.</P>
<BLOCKQUOTE><B>Note:</B>
<P>You may not use user <CODE>root</CODE>, as that would expose
the system to unacceptable security risks. The scheduler will
automatically choose user <CODE>nobody</CODE> if you specify a
user whose ID is 0.</P>
</BLOCKQUOTE>
<H2 CLASS="title"><SPAN CLASS="INFO">CUPS 1.5</SPAN><A NAME="WebInterface">WebInterface</A></H2>
<H3>Examples</H3>
<PRE CLASS="command">
WebInterface yes
WebInterface no
</PRE>
<H3>Description</H3>
<P>The <CODE>WebInterface</CODE> directive specifies whether the web interface is enabled. The default value is <CODE>@CUPS_WEBIF@</CODE>.</P>
</BODY>
</HTML>
|