File: ref-ppdcfile.html

package info (click to toggle)
cupsddk 1.2.3-5
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 4,488 kB
  • ctags: 1,125
  • sloc: ansic: 7,074; cpp: 5,423; makefile: 526; xml: 227; sh: 153
file content (2209 lines) | stat: -rw-r--r-- 63,880 bytes parent folder | download
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
<HTML>
<!-- SECTION: References -->
<HEAD>
	<TITLE>PPD Compiler Driver Information File Reference</TITLE>
</HEAD>
<BODY>

<!-- NEW PAGE -->
<h2><a name='_define'>#define</a></h2>
<hr>

<h3 _hd_omit_toc>Syntax</h3>

<pre>
    #define <i>name value</i>
</pre>

<h3 _hd_omit_toc>Examples</h3>

<pre>
    #define FOO 100
    #define BAR "Bar, Inc."
</pre>

<h3 _hd_omit_toc>Description</h3>

<p>The <tt>#define</tt> directive assigns a value to a name
which can be later referenced using <tt>$name</tt>. The name is
case-insensitive and can be any sequence of letters, numbers,
and the underscore. The value can be any number or string.</p>

<h3 _hd_omit_toc>See Also</h3>

<p><a href='#_include'><tt>#include</tt></a></p>


<!-- NEW PAGE -->
<h2><a name='_font'>#font</a></h2>
<hr>

<h3 _hd_omit_toc>Syntax</h3>

<pre>
    #font <i>name encoding "version" charset status</i>
</pre>

<h3 _hd_omit_toc>Examples</h3>

<pre>
    #font Courier Standard "(1.05)" Standard ROM
    #font Symbol Special "(001.005)" Special ROM
    #font Barcode-Foo Special "(1.0)" Special Disk
    #font Unicode-Foo Expert "(2.0)" Adobe-Identity ROM
</pre>

<h3 _hd_omit_toc>Description</h3>

<p>The <tt>#font</tt> directive defines a "base font" for all
printer drivers. The name is the PostScript font name.</p>

<p>The encoding is the default encoding of the font, usually
<tt>Standard</tt>, <tt>Expert</tt>, or <tt>Special</tt>, as
defined in the Adobe PPD file specification.</p>

<p>The version is the PostScript string definition that
corresponds to the font version number.</p>

<p>The charset defines the available characters in the font,
usually <tt>Standard</tt> or <tt>Special</tt>, as defined in the
Adobe PPD file specification.</p>

<p>The status is the installation status of the font and must be
either the word <tt>ROM</tt> or <tt>Disk</tt>.

<p>Base fonts differ from fonts defined using the <a
href='#Font'><tt>Font</tt></a> directive in that they are not
automatically associated with all drivers - you must use the
special <tt>Font *</tt> directive to include them in a
driver.</p>

<p>Currently the <tt>#font</tt> directive is used mainly for
defining the standard raster fonts in the
<tt>&lt;font.defs&gt;</tt> include file.</p>

<h3 _hd_omit_toc>See Also</h3>

<p><a href='#_include'><tt>#include</tt></a>,
<a href='#Font'><tt>Font</tt></a></p>


<!-- NEW PAGE -->
<h2><a name='_include'>#include</a></h2>
<hr>

<h3 _hd_omit_toc>Syntax</h3>

<pre>
    #include &lt;<i>filename</i>&gt;
    #include "<i>filename</i>"
</pre>

<h3 _hd_omit_toc>Examples</h3>

<pre>
    #include &lt;font.defs&gt;
    #include "myfile.h"
</pre>

<h3 _hd_omit_toc>Description</h3>

<p>The <tt>#include</tt> directive reads the named driver
information file. If the filename is included inside angle
brackets (<tt>&lt;filename&gt;</tt>), then the PPD compiler will
look for the file in all of the include directories it knows
about. Otherwise, the file is opened in the current directory
relative to the current driver information file, and if that
fails then it looks in the include directories for the file.</p>

<p>The <tt>#include</tt> directive can be nested to as many
files as are allowed by the host operating system, typically at
least 100 files.</p>

<h3 _hd_omit_toc>See Also</h3>

<p><a href='#_define'><tt>#define</tt></a>,
<a href='#_font'><tt>#font</tt></a>,
<a href='#_media'><tt>#media</tt></a></p>


<!-- NEW PAGE -->
<h2><a name='_media'>#media</a></h2>
<hr>

<h3 _hd_omit_toc>Syntax</h3>

<pre>
    #media <i>name width length</i>
    #media <i>"name/text" width length</i>
</pre>

<h3 _hd_omit_toc>Examples</h3>

<pre>
    #media "Letter/Letter - 8.5x11in" 8.5in 11in
    #media "A4/A4 - 210x297mm" 210mm 297mm
    #media "w936h1368/Super B/A3 - 13x19in" 936 1368
    #media Photo 4in 6in
</pre>

<h3 _hd_omit_toc>Description</h3>

<p>The <tt>#media</tt> directive defines a named media size for
inclusion in a driver. The name with optional user text defines
the name for the media size and is used with the <a
href='#MediaSize'><tt>MediaSize</tt></a> directive to associate
the media size with the driver. The name may only contain
letters, numbers, and the underscore and may not exceed 40
characters in length. The user text, if supplied, may not exceed
80 characters in length.</p>

<p>The width and length define the dimensions of the media. Each
number is optionally followed by one of the following unit
suffixes:</p>

<ul>

	<li><tt>cm</tt> - centimeters</li>

	<li><tt>ft</tt> - feet</li>

	<li><tt>in</tt> - inches</li>

	<li><tt>m</tt> - meters</li>

	<li><tt>mm</tt> - millimeters</li>

	<li><tt>pt</tt> - points (72 points = 1 inch)</li>

</ul>

<p>Points are assumed if no units are specified. 

<h3 _hd_omit_toc>See Also</h3>

<p><a href='#_include'><tt>#include</tt></a>,
<a href='#CustomMedia'><tt>CustomMedia</tt></a>,
<a href='#MediaSize'><tt>MediaSize</tt></a></p>


<!-- NEW PAGE -->
<h2><a name='_po'>#po</a></h2>
<hr>

<h3 _hd_omit_toc>Syntax</h3>

<pre>
    #po <i>locale filename</i>
</pre>

<h3 _hd_omit_toc>Examples</h3>

<pre>
    #po es "es.po"
    #po fr_CA "mydriver-fr_CA.po"
</pre>

<h3 _hd_omit_toc>Description</h3>

<p>The <tt>#po</tt> directive defines a message catalog to use for the given POSIX language abbreviation. Multiple <tt>#po</tt> directives can be specified to list multiple catalogs.</p>


<!-- NEW PAGE -->
<h2><a name='Attribute'>Attribute</a></h2>
<hr>

<h3 _hd_omit_toc>Syntax</h3>

<pre>
    Attribute <i>name "" value</i>
    Attribute <i>name keyword value</i>
    Attribute <i>name "keyword/text" value</i>
</pre>

<h3 _hd_omit_toc>Examples</h3>

<pre>
    Attribute cupsInkChannels "" 1
    Attribute cupsAllDither 600dpi "1.0"
    Attribute fooProfile "Photo/Photographic Profile" "photopro.icc"
</pre>

<h3 _hd_omit_toc>Description</h3>

<p>The <tt>Attribute</tt> directive creates a PPD attribute. The
name is any combination of letters, numbers, and the underscore
and can be up to 40 characters in length.</p>

<p>The selector can be the empty string (<tt>""</tt>), a keyword
consisting of up to 40 letters, numbers, and the underscore, or
a string composed of a keyword and user text of up to 80
characters.</p>

<p>The value is any string or number; the string may contain
multiple lines, however no one line may exceed 255
characters.</p>


<!-- NEW PAGE -->
<h2><a name='Choice'>Choice</a></h2>
<hr>

<h3 _hd_omit_toc>Syntax</h3>

<pre>
    Choice <i>name "code"</i>
    Choice <i>"name/text" "code"</i>
</pre>

<h3 _hd_omit_toc>Examples</h3>

<pre>
    Choice None "&lt;&lt;/MediaType (None)&gt;&gt;setpagedevice"
    Choice "False/No" "&lt;&lt;/cupsCompression 0&gt;&gt;setpagedevice"
</pre>

<h3 _hd_omit_toc>Description</h3>

<p>The <tt>Choice</tt> directive adds a single choice to the
current option. The name is any combination of letters, numbers,
and the underscore and can be up to 40 characters in length.</p>

<p>If provided, the text can be any string up to 80 characters
in length. If no text is provided, the name is used.</p>

<p>The code is any string and may contain multiple lines,
however no one line may exceed 255 characters.</p>

<h3 _hd_omit_toc>See Also</h3>

<p><a href='#ColorModel'><tt>ColorModel</tt></a>,
<a href='#Cutter'><tt>Cutter</tt></a>,
<a href='#Darkness'><tt>Darkness</tt></a>,
<a href='#Duplex'><tt>Duplex</tt></a>,
<a href='#Finishing'><tt>Finishing</tt></a>,
<a href='#Group'><tt>Group</tt></a>,
<a href='#InputSlot'><tt>InputSlot</tt></a>,
<a href='#Installable'><tt>Installable</tt></a>,
<a href='#MediaType'><tt>MediaType</tt></a>,
<a href='#Option'><tt>Option</tt></a>,
<a href='#Resolution'><tt>Resolution</tt></a>,
<a href='#UIConstraints'><tt>UIConstraints</tt></a></p>


<!-- NEW PAGE -->
<h2><a name='ColorDevice'>ColorDevice</a></h2>
<hr>

<h3 _hd_omit_toc>Syntax</h3>

<pre>
    ColorDevice <i>boolean-value</i>
</pre>

<h3 _hd_omit_toc>Examples</h3>

<pre>
    ColorDevice no
    ColorDevice yes
</pre>

<h3 _hd_omit_toc>Description</h3>

<p>The <tt>ColorDevice</tt> directive tells the application if
the printer supports color. It is typically used in conjunction
with the <a href='#ColorModel'><tt>ColorModel</tt></a> directive
to provide color printing support.</p>

<h3 _hd_omit_toc>See Also</h3>

<p><a href='#ColorModel'><tt>ColorModel</tt></a></p>


<!-- NEW PAGE -->
<h2><a name='ColorModel'>ColorModel</a></h2>
<hr>

<h3 _hd_omit_toc>Syntax</h3>

<pre>
    ColorModel <i>name colorspace colororder compression</i>
    ColorModel <i>"name/text" colorspace colororder compression</i>
</pre>

<h3 _hd_omit_toc>Examples</h3>

<pre>
    ColorModel Gray/Grayscale w chunky 0
    ColorModel RGB/Color rgb chunky 0
    ColorModel CMYK cmyk chunky 0
</pre>

<h3 _hd_omit_toc>Description</h3>

<p>The <tt>ColorModel</tt> directive is a convenience directive
which creates a ColorModel option and choice for the current
printer driver. The name is any combination of letters, numbers,
and the underscore and can be up to 40 characters in length.</p>

<p>If provided, the text can be any string up to 80 characters
in length. If no text is provided, the name is used.</p>

<p>The colorspace argument is one of the standard colorspace
keywords defined later in this appendix in the section titled,
"<a href='#REF_COLOR_SPACE'>Colorspace Keywords</a>".</p>

<P>The colororder argument is one of the standard color order
keywords defined later in this appendix in the section titled,
"<a href='#REF_COLOR_ORDER'>Color Order Keywords</a>".</p>

<p>The compression argument is any number and is assigned to the
<tt>cupsCompression</tt> attribute in the PostScript page device
dictionary.</p>

<h3 _hd_omit_toc>See Also</h3>

<p><a href='#Choice'><tt>Choice</tt></a>,
<a href='#ColorDevice'><tt>ColorDevice</tt></a>,
<a href='#Cutter'><tt>Cutter</tt></a>,
<a href='#Darkness'><tt>Darkness</tt></a>,
<a href='#Duplex'><tt>Duplex</tt></a>,
<a href='#Finishing'><tt>Finishing</tt></a>,
<a href='#Group'><tt>Group</tt></a>,
<a href='#InputSlot'><tt>InputSlot</tt></a>,
<a href='#Installable'><tt>Installable</tt></a>,
<a href='#MediaType'><tt>MediaType</tt></a>,
<a href='#Option'><tt>Option</tt></a>,
<a href='#Resolution'><tt>Resolution</tt></a>,
<a href='#UIConstraints'><tt>UIConstraints</tt></a></p>


<!-- NEW PAGE -->
<h2><a name='ColorProfile'>ColorProfile</a></h2>
<hr>

<h3 _hd_omit_toc>Syntax</h3>

<pre>
    ColorProfile <i>resolution/mediatype gamma density matrix</i>
</pre>

<h3 _hd_omit_toc>Examples</h3>

<pre>
    ColorProfile -/- 1.7 1.0
         1.0    0.0    0.0
	 0.0    1.0    0.0
	 0.0    0.0    1.0

    ColorProfile 360dpi/- 1.6 1.0
         1.0   -0.05  -0.3
	-0.35   1.0   -0.15
	-0.095 -0.238  0.95

    ColorProfile 720dpi/Special 1.5 1.0
         1.0    0.0   -0.38
	-0.4    1.0    0.0
	 0.0   -0.38   0.9
</pre>

<h3 _hd_omit_toc>Description</h3>

<p>The <tt>ColorProfile</tt> directive defines a CMY
transform-based color profile. The resolution and mediatype
arguments specify the <tt>Resolution</tt> and <tt>MediaType</tt>
choices which use the profile; the hyphen (<tt>-</tt>) is used to
specify that any resolution or mediatype can be used with the
profile.</p>

<p>The gamma argument specifies the gamma correction to apply to
the color values (P = p<sup>g</sup>) and is a real number
greater than 0. Values larger than 1 cause a general lightening
of the print while values smaller than 1 cause a general
darkening of the print. A value of 1 disables gamma
correction.</p>

<p>The density argument specifies the linear density correction
to apply to the color values (P = d * p<sup>g</sup>) and is a
real number greater than 0 and less than or equal to 1. A value
1 of disables density correction while lower values produce
proportionately lighter output.</p>

<p>The matrix argument specifies a 3x3 linear transformation
matrix in row-major order. The matrix is applied only to the CMY
component of a RGB to CMYK transformation and is not used when
printing in grayscale or CMYK mode unless the printer only
supports printing with 3 colors.</p>

<h3 _hd_omit_toc>See Also</h3>

<p><a href='#SimpleColorProfile'><tt>SimpleColorProfile</tt></a></p>


<!-- NEW PAGE -->
<h2><a name='Copyright'>Copyright</a></h2>
<hr>

<h3 _hd_omit_toc>Syntax</h3>

<pre>
    Copyright <i>"text"</i>
</pre>

<h3 _hd_omit_toc>Examples</h3>

<pre>
    Copyright "Copyright 2004 by Foo Enterprises"

    Copyright
    "This software is free software; you can redistribute it and/or
    modify it under the terms of the GNU General Public License as
    published by the Free Software Foundation; either version 2 of
    the License, or (at your option) any later version.

    This software is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public
    License along with this software; if not, write to the Free
    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
    MA 02111 USA"
</pre>

<h3 _hd_omit_toc>Description</h3>

<p>The <tt>Copyright</tt> directive adds text comments to the
top of a PPD file, typically for use in copyright notices. The
text argument can contain multiple lines of text, but no line
may exceed 255 characters.</p>


<!-- NEW PAGE -->
<h2><a name='CustomMedia'>CustomMedia</a></h2>
<hr>

<h3 _hd_omit_toc>Syntax</h3>

<pre>
    CustomMedia <i>name width length left bottom right top
        "size-code" "region-code"</i>

    CustomMedia <i>"name/text" width length left bottom right top
        "size-code" "region-code"</i>
</pre>

<h3 _hd_omit_toc>Examples</h3>

<pre>
    CustomMedia Letter 8.5in 11in 0.25in 0.46in 0.25in 0.04in
        "&lt;&lt;/PageSize[612 792]/ImagingBBox null/ManualFeed false&gt;&gt;
         setpagedevice"
	"&lt;&lt;/PageSize[612 792]/ImagingBBox null/ManualFeed true&gt;&gt;
         setpagedevice"

    CustomMedia "A4/A4 - 210x297mm" 210mm 297mm 12 12 12 12
        "&lt;&lt;/PageSize[595 842]/ImagingBBox null&gt;&gt;setpagedevice"
	"&lt;&lt;/PageSize[595 842]/ImagingBBox null&gt;&gt;setpagedevice"
</pre>

<h3 _hd_omit_toc>Description</h3>

<p>The <tt>CustomMedia</tt> directive adds a custom media size to
the driver. The name is any combination of letters, numbers,
and the underscore and can be up to 40 characters in length.</p>

<p>If provided, the text can be any string up to 80 characters
in length. If no text is provided, the name is used.</p>

<p>The width and length arguments specify the dimensions of the
media as defined for the <a href="#_media"><tt>#media</tt></a>
directive.</p>

<p>The left, bottom, right, and top arguments specify the
printable margins of the media.</p>

<p>The size-code and region-code arguments specify the
PostScript commands to run for the <tt>PageSize</tt> and
<tt>PageRegion</tt> options, respectively. The commands can
contain multiple lines, however no line may be more than 255
characters in length.</p>

<h3 _hd_omit_toc>See Also</h3>

<p><a href='#_media'><tt>#media</tt></a>,
<a href='#MediaSize'><tt>MediaSize</tt></a></p>


<!-- NEW PAGE -->
<h2><a name='Cutter'>Cutter</a></h2>
<hr>

<h3 _hd_omit_toc>Syntax</h3>

<pre>
    Cutter <i>boolean-value</i>
</pre>

<h3 _hd_omit_toc>Examples</h3>

<pre>
    Cutter yes
    Cutter no
</pre>

<h3 _hd_omit_toc>Description</h3>

<p>The <tt>Cutter</tt> directive specifies whether the printer
has a built-in media cutter. When a cutter is present, the
printer's PPD file will contain a <tt>CutMedia</tt> option that
allows the user to control whether the media is cut at the end
of the job.</p>

<h3 _hd_omit_toc>See Also</h3>

<p><a href='#Choice'><tt>Choice</tt></a>,
<a href='#ColorModel'><tt>ColorModel</tt></a>,
<a href='#Darkness'><tt>Darkness</tt></a>,
<a href='#Duplex'><tt>Duplex</tt></a>,
<a href='#Finishing'><tt>Finishing</tt></a>,
<a href='#Group'><tt>Group</tt></a>,
<a href='#InputSlot'><tt>InputSlot</tt></a>,
<a href='#Installable'><tt>Installable</tt></a>,
<a href='#MediaType'><tt>MediaType</tt></a>,
<a href='#Option'><tt>Option</tt></a>,
<a href='#Resolution'><tt>Resolution</tt></a>,
<a href='#UIConstraints'><tt>UIConstraints</tt></a></p>


<!-- NEW PAGE -->
<h2><a name='Darkness'>Darkness</a></h2>
<hr>

<h3 _hd_omit_toc>Syntax</h3>

<pre>
    Darkness <i>temperature name</i>
    Darkness <i>temperature "name/text"</i>
</pre>

<h3 _hd_omit_toc>Examples</h3>

<pre>
    Darkness 0 Light
    Darkness 2 "Normal/Standard"
</pre>

<h3 _hd_omit_toc>Description</h3>

<p>The <tt>Darkness</tt> directive defines a choice for the
<tt>cupsDarkness</tt> option which sets the
<tt>cupsCompression</tt> attribute in the PostScript page device
dictionary. It is used with the CUPS <VAR>rastertolabel</VAR>
sample driver to control the print head temperature and
therefore the darkness of the print.</p>

<p>The temperature argument specifies a temperature value for
the Dymo driver from 0 (lowest) to 3 (highest), with 2
representing the normal setting.</p>

<p>The name is any combination of letters, numbers, and the
underscore and can be up to 40 characters in length.</p>

<p>If provided, the text can be any string up to 80 characters
in length. If no text is provided, the name is used.</p>

<h3 _hd_omit_toc>See Also</h3>

<p><a href='#Choice'><tt>Choice</tt></a>,
<a href='#ColorModel'><tt>ColorModel</tt></a>,
<a href='#Cutter'><tt>Cutter</tt></a>,
<a href='#Duplex'><tt>Duplex</tt></a>,
<a href='#Finishing'><tt>Finishing</tt></a>,
<a href='#Group'><tt>Group</tt></a>,
<a href='#InputSlot'><tt>InputSlot</tt></a>,
<a href='#Installable'><tt>Installable</tt></a>,
<a href='#MediaType'><tt>MediaType</tt></a>,
<a href='#Option'><tt>Option</tt></a>,
<a href='#Resolution'><tt>Resolution</tt></a>,
<a href='#UIConstraints'><tt>UIConstraints</tt></a></p>


<!-- NEW PAGE -->
<h2><a name='DriverType'>DriverType</a></h2>
<hr>

<h3 _hd_omit_toc>Syntax</h3>

<pre>
    DriverType <i>type</i>
</pre>

<h3 _hd_omit_toc>Examples</h3>

<pre>
    DriverType custom
    DriverType escp
    DriverType pcl
    DriverType ps
</pre>

<h3 _hd_omit_toc>Description</h3>

<p>The <tt>DriverType</tt> directive tells the PPD compiler
which DDK filters to include in the PPD file. The following
types are supported:</p>

<ul>

	<li><tt>custom</tt> - Use only those filters that are
	defined in the driver information file</li>

	<li><tt>epson</tt> - Use the CUPS sample Epson driver filter
	<var>rastertoepson</var></li>

	<li><tt>escp</tt> - Use the ESC/P DDK driver filters
	<var>commandtoescpx</var> and
	<var>rastertoescpx</var></li>

	<li><tt>hp</tt> - Use the CUPS sample HP driver filter
	<var>rastertohp</var></li>

	<li><tt>label</tt> - Use the CUPS sample label driver filter <var>rastertolabel</var></li>

	<li><tt>pcl</tt> - Use the HP-PCL DDK driver filters
	<var>commandtopclx</var> and
	<var>rastertopclx</var></li>

	<li><tt>ps</tt> - Use no filters; this driver is for a
	standard PostScript device</li>

</ul>

<h3 _hd_omit_toc>See Also</h3>

<p><a href='#Filter'><tt>Filter</tt></a>,
<a href='#ModelNumber'><tt>ModelNumber</tt></a></p>


<!-- NEW PAGE -->
<h2><a name='Duplex'>Duplex</a></h2>
<hr>

<h3 _hd_omit_toc>Syntax</h3>

<pre>
    Duplex <i>type</i>
</pre>

<h3 _hd_omit_toc>Examples</h3>

<pre>
    Duplex none
    Duplex normal
    Duplex flip
</pre>

<h3 _hd_omit_toc>Description</h3>

<p>The <tt>Duplex</tt> directive determines whether double-sided printing
is supported in the current driver. The type argument specifies the type
of duplexing that is supported:</p>

<ul>

	<li><tt>none</tt> - double-sided printing is not
	supported</li>

	<li><tt>normal</tt> - double-sided printing is
	supported</li>

	<li><tt>flip</tt> - double-sided printing is supported,
	but the back side image needs to be flipped vertically
	(used primarily with inkjet printers)</li>

</ul>

<h3 _hd_omit_toc>See Also</h3>

<p><a href='#Choice'><tt>Choice</tt></a>,
<a href='#ColorModel'><tt>ColorModel</tt></a>,
<a href='#Cutter'><tt>Cutter</tt></a>,
<a href='#Darkness'><tt>Darkness</tt></a>,
<a href='#Finishing'><tt>Finishing</tt></a>,
<a href='#Group'><tt>Group</tt></a>,
<a href='#InputSlot'><tt>InputSlot</tt></a>,
<a href='#Installable'><tt>Installable</tt></a>,
<a href='#MediaType'><tt>MediaType</tt></a>,
<a href='#Option'><tt>Option</tt></a>,
<a href='#Resolution'><tt>Resolution</tt></a>,
<a href='#UIConstraints'><tt>UIConstraints</tt></a></p>


<!-- NEW PAGE -->
<h2><a name='Filter'>Filter</a></h2>
<hr>

<h3 _hd_omit_toc>Syntax</h3>

<pre>
    Filter <i>mime-type cost program</i>
</pre>

<h3 _hd_omit_toc>Examples</h3>

<pre>
    Filter application/vnd.cups-raster 50 rastertofoo
    Filter application/vnd.hp-HPGL 25 /usr/foo/filter/hpgltofoo
</pre>

<h3 _hd_omit_toc>Description</h3>

<p>The <tt>Filter</tt> directive adds a filter for the current
driver. The mime-type argument is a valid MIME media type name
as defined in a CUPS <var>mime.types</var> file.</p>

<p>The cost argument specifies the relative cost of the filter.
In general, use a number representing the average percentage of
CPU time that is used when printing the specified MIME media
type.</p>

<p>The program argument specifies the program to run; if the
program is not an absolute filename, then CUPS will look for the
program in the CUPS filter directory.</p>

<h3 _hd_omit_toc>See Also</h3>

<p><a href='#DriverType'><tt>DriverType</tt></a></p>


<!-- NEW PAGE -->
<h2><a name='Finishing'>Finishing</a></h2>
<hr>

<h3 _hd_omit_toc>Syntax</h3>

<pre>
    Finishing <i>name</i>
    Finishing <i>"name/text"</i>
</pre>

<h3 _hd_omit_toc>Examples</h3>

<pre>
    Finishing None
    Finishing "Glossy/Photo Overcoat"
</pre>

<h3 _hd_omit_toc>Description</h3>

<p>The <tt>Finishing</tt> directive adds a choice to the
<tt>cupsFinishing</tt> option. The name is any combination of
letters, numbers, and the underscore and can be up to 40
characters in length. The name is stored in the
<tt>OutputType</tt> attribute in the PostScript page device
dictionary.</p>

<p>If provided, the text can be any string up to 80 characters
in length. If no text is provided, the name is used.</p>

<h3 _hd_omit_toc>See Also</h3>

<p><a href='#Choice'><tt>Choice</tt></a>,
<a href='#ColorModel'><tt>ColorModel</tt></a>,
<a href='#Cutter'><tt>Cutter</tt></a>,
<a href='#Darkness'><tt>Darkness</tt></a>,
<a href='#Duplex'><tt>Duplex</tt></a>,
<a href='#Group'><tt>Group</tt></a>,
<a href='#InputSlot'><tt>InputSlot</tt></a>,
<a href='#Installable'><tt>Installable</tt></a>,
<a href='#MediaType'><tt>MediaType</tt></a>,
<a href='#Option'><tt>Option</tt></a>,
<a href='#Resolution'><tt>Resolution</tt></a>,
<a href='#UIConstraints'><tt>UIConstraints</tt></a></p>


<!-- NEW PAGE -->
<h2><a name='Font'>Font</a></h2>
<hr>

<h3 _hd_omit_toc>Syntax</h3>

<pre>
    Font <i>name encoding "version" charset status</i>
    Font *
</pre>

<h3 _hd_omit_toc>Examples</h3>

<pre>
    Font *
    Font Courier Standard "(1.05)" Standard ROM
    Font Symbol Special "(001.005)" Special ROM
    Font Barcode-Foo Special "(1.0)" Special Disk
    Font Unicode-Foo Expert "(2.0)" Adobe-Identity ROM
</pre>

<h3 _hd_omit_toc>Description</h3>

<p>The <tt>Font</tt> directive defines a "device font" for the
current printer driver. The name is the PostScript font
name.</p>

<p>The encoding is the default encoding of the font, usually
<tt>Standard</tt>, <tt>Expert</tt>, or <tt>Special</tt>, as
defined in the Adobe PPD file specification.</p>

<p>The version is the PostScript string definition that
corresponds to the font version number.</p>

<p>The charset defines the available characters in the font,
usually <tt>Standard</tt> or <tt>Special</tt>, as defined in the
Adobe PPD file specification.</p>

<p>The status is the installation status of the font and must be
either the word <tt>ROM</tt> or <tt>Disk</tt>.</p>

<p>Device fonts differ from fonts defined using the <a
href='#_font'><tt>#font</tt></a> directive in that they are 
automatically associated with the current driver. Fonts defined
using <tt>#font</tt> may be imported into the current driver
using the <tt>Font *</tt> form of this directive.</p>

<h3 _hd_omit_toc>See Also</h3>

<p><a href='#_font'><tt>#font</tt></a></p>


<!-- NEW PAGE -->
<h2><a name='Group'>Group</a></h2>
<hr>

<h3 _hd_omit_toc>Syntax</h3>

<pre>
    Group <i>name</i>
    Group <i>"name/text"</i>
</pre>

<h3 _hd_omit_toc>Examples</h3>

<pre>
    Group General
    Group "InstallableOptions/Options Installed"
    Group "Special/Vendor Options"
</pre>

<h3 _hd_omit_toc>Description</h3>

<p>The <tt>Group</tt> directive specifies the group for new
<tt>Option</tt> directives. The name is any combination of
letters, numbers, and the underscore and can be up to 40
characters in length. The names <tt>General</tt> and
<tt>InstallableOptions</tt> are predefined for the standard
Adobe UI keywords and for installable options, respectively.</p>

<p>If provided, the text can be any string up to 40 characters
in length. If no text is provided, the name is used.</p>

<center><table width='80%' border='1' bgcolor='#cccccc' cellpadding='5' cellspacing='0'>
<tr>
	<td align='justify'><b>Note:</b>

	<p>Because of certain API binary compatibility issues,
	CUPS limits the length of PPD group translation strings
	(text) to 40 characters, while the PPD specification
	allows for up to 80 characters.</p>

	</td>
</tr>
</table></center>

<h3 _hd_omit_toc>See Also</h3>

<p><a href='#Choice'><tt>Choice</tt></a>,
<a href='#ColorModel'><tt>ColorModel</tt></a>,
<a href='#Cutter'><tt>Cutter</tt></a>,
<a href='#Darkness'><tt>Darkness</tt></a>,
<a href='#Duplex'><tt>Duplex</tt></a>,
<a href='#Finishing'><tt>Finishing</tt></a>,
<a href='#InputSlot'><tt>InputSlot</tt></a>,
<a href='#Installable'><tt>Installable</tt></a>,
<a href='#MediaType'><tt>MediaType</tt></a>,
<a href='#Option'><tt>Option</tt></a>,
<a href='#Resolution'><tt>Resolution</tt></a>,
<a href='#UIConstraints'><tt>UIConstraints</tt></a></p>


<!-- NEW PAGE -->
<h2><a name='HWMargins'>HWMargins</a></h2>
<hr>

<h3 _hd_omit_toc>Syntax</h3>

<pre>
    HWMargins <i>left bottom right top</i>
</pre>

<h3 _hd_omit_toc>Examples</h3>

<pre>
    HWMargins 18 36 18 36
    HWMargins 0.25in 0.5in 0.25in 0.5in
    HWMargins 0.6cm 1.2cm 0.6cm 1.2cm
</pre>

<h3 _hd_omit_toc>Description</h3>

<p>The <tt>HWMargins</tt> directive specifies the current
margins for <a href='#MediaSize'><tt>MediaSize</tt></a> that
follow. The left, bottom, right, and top margin values specify
the printable margins.</p>

<h3 _hd_omit_toc>See Also</h3>

<p><a href='#MediaSize'><tt>MediaSize</tt></a></p>


<!-- NEW PAGE -->
<h2><a name='InputSlot'>InputSlot</a></h2>
<hr>

<h3 _hd_omit_toc>Syntax</h3>

<pre>
    InputSlot <i>position name</i>
    InputSlot <i>position "name/text"</i>
</pre>

<h3 _hd_omit_toc>Examples</h3>

<pre>
    InputSlot 0 Auto
    InputSlot 1 "Upper/Tray 1"
</pre>

<h3 _hd_omit_toc>Description</h3>

<p>The <tt>InputSlot</tt> directive adds a new choice to the
<tt>InputSlot</tt> option. The position argument is a number
from 0 to 2<sup>32</sup>-1 specifying the value that is placed
in the <tt>MediaPosition</tt> attribute in the PostScript page
device dictionary.</p>

<p>The name is any combination of letters, numbers, and the
underscore and can be up to 40 characters in length.</p>

<p>If provided, the text can be any string up to 80 characters
in length. If no text is provided, the name is used.</p>

<h3 _hd_omit_toc>See Also</h3>

<p><a href='#Choice'><tt>Choice</tt></a>,
<a href='#ColorModel'><tt>ColorModel</tt></a>,
<a href='#Cutter'><tt>Cutter</tt></a>,
<a href='#Darkness'><tt>Darkness</tt></a>,
<a href='#Duplex'><tt>Duplex</tt></a>,
<a href='#Finishing'><tt>Finishing</tt></a>,
<a href='#Group'><tt>Group</tt></a>,
<a href='#Installable'><tt>Installable</tt></a>,
<a href='#MediaType'><tt>MediaType</tt></a>,
<a href='#Option'><tt>Option</tt></a>,
<a href='#Resolution'><tt>Resolution</tt></a>,
<a href='#UIConstraints'><tt>UIConstraints</tt></a></p>


<!-- HALF PAGE -->
<h2><a name='Installable'>Installable</a></h2>
<hr>

<h3 _hd_omit_toc>Syntax</h3>

<pre>
    Installable <i>name</i>
    Installable <i>"name/text"</i>
</pre>

<h3 _hd_omit_toc>Examples</h3>

<pre>
    Installable EnvTray
    Installable "Option1/Duplexer Installed"
</pre>

<h3 _hd_omit_toc>Description</h3>

<p>The <tt>Installable</tt> directive adds a new boolean option
to the <tt>InstallableOptions</tt> group with a default value of
<tt>False</tt>. The name is any combination of letters, numbers,
and the underscore and can be up to 40 characters in length.</p>

<p>If provided, the text can be any string up to 80 characters
in length. If no text is provided, the name is used.</p>


<!-- HALF PAGE -->
<h2><a name='ManualCopies'>ManualCopies</a></h2>
<hr>

<h3 _hd_omit_toc>Syntax</h3>

<pre>
    ManualCopies <i>boolean-value</i>
</pre>

<h3 _hd_omit_toc>Examples</h3>

<pre>
    ManualCopies no
    ManualCopies yes
</pre>

<h3 _hd_omit_toc>Description</h3>

<p>The <tt>ManualCopies</tt> directive specifies whether copies
need to be produced by the RIP filters. The default is
<tt>no</tt>.</p>

<h3 _hd_omit_toc>See Also</h3>

<p><a href='#Choice'><tt>Choice</tt></a>,
<a href='#ColorModel'><tt>ColorModel</tt></a>,
<a href='#Cutter'><tt>Cutter</tt></a>,
<a href='#Darkness'><tt>Darkness</tt></a>,
<a href='#Duplex'><tt>Duplex</tt></a>,
<a href='#Finishing'><tt>Finishing</tt></a>,
<a href='#Group'><tt>Group</tt></a>,
<a href='#InputSlot'><tt>InputSlot</tt></a>,
<a href='#MediaType'><tt>MediaType</tt></a>,
<a href='#Option'><tt>Option</tt></a>,
<a href='#Resolution'><tt>Resolution</tt></a>,
<a href='#UIConstraints'><tt>UIConstraints</tt></a></p>


<!-- HALF PAGE -->
<h2><a name='Manufacturer'>Manufacturer</a></h2>
<hr>

<h3 _hd_omit_toc>Syntax</h3>

<pre>
    Manufacturer <i>"name"</i>
</pre>

<h3 _hd_omit_toc>Examples</h3>

<pre>
    Manufacturer "Foo"
    Manufacturer "HP"
</pre>

<h3 _hd_omit_toc>Description</h3>

<p>The <tt>Manufacturer</tt> directive specifies the
manufacturer name for the current driver. The name argument must
conform to the manufacturer name requirements in the Adobe PPD
file specification.</p>

<h3 _hd_omit_toc>See Also</h3>

<p><a href='#ModelName'><tt>ModelName</tt></a>,
<a href='#PCFileName'><tt>PCFileName</tt></a>,
<a href='#Version'><tt>Version</tt></a></p>


<!-- HALF PAGE -->
<h2><a name='MaxSize'>MaxSize</a></h2>
<hr>

<h3 _hd_omit_toc>Syntax</h3>

<pre>
    MaxSize <i>width length</i>
</pre>

<h3 _hd_omit_toc>Examples</h3>

<pre>
    MaxSize 36in 100ft
    MaxSize 300cm 30m
</pre>

<h3 _hd_omit_toc>Description</h3>

<p>The <tt>MaxSize</tt> directive specifies the maximum width
and length that is supported for custom page sizes.</p>

<h3 _hd_omit_toc>See Also</h3>

<p><a href='#MinSize'><tt>MinSize</tt></a>,
<a href='#VariablePaperSize'><tt>VariablePaperSize</tt></a></p>


<!-- HALF PAGE -->
<h2><a name='MediaSize'>MediaSize</a></h2>
<hr>

<h3 _hd_omit_toc>Syntax</h3>

<pre>
    MediaSize <i>name</i>
</pre>

<h3 _hd_omit_toc>Examples</h3>

<pre>
    MediaSize Letter
    MediaSize A4
</pre>

<h3 _hd_omit_toc>Description</h3>

<p>The <tt>MediaSize</tt> directive adds the named size to the
current printer driver using the current margins defined with
the <a href="#HWMargins"><tt>HWMargins</tt></a> directive. The
name argument must match a media size defined using the <a
href="#_media"><tt>#media</tt></a> directive.</p>

<h3 _hd_omit_toc>See Also</h3>

<p><a href='#_media'><tt>#media</tt></a>,
<a href='#HWMargins'><tt>HWMargins</tt></a></p>


<!-- NEW PAGE -->
<h2><a name='MediaType'>MediaType</a></h2>
<hr>

<h3 _hd_omit_toc>Syntax</h3>

<pre>
    MediaType <i>type name</i>
    MediaType <i>type "name/text"</i>
</pre>

<h3 _hd_omit_toc>Examples</h3>

<pre>
    MediaType 0 Auto
    MediaType 1 "Plain/Plain Paper"
</pre>

<h3 _hd_omit_toc>Description</h3>

<p>The <tt>MediaType</tt> directive adds a new choice to the
<tt>MediaType</tt> option. The type argument is a number
from 0 to 2<sup>32</sup>-1 specifying the value that is placed
in the <tt>cupsMediaType</tt> attribute in the PostScript page
device dictionary.</p>

<p>The name is any combination of letters, numbers, and the
underscore and can be up to 40 characters in length. The name is
placed in the <tt>MediaType</tt> attribute in the PostScript
page device dictionary.</p>

<p>If provided, the text can be any string up to 80 characters
in length. If no text is provided, the name is used.</p>

<h3 _hd_omit_toc>See Also</h3>

<p><a href='#Choice'><tt>Choice</tt></a>,
<a href='#ColorModel'><tt>ColorModel</tt></a>,
<a href='#Cutter'><tt>Cutter</tt></a>,
<a href='#Darkness'><tt>Darkness</tt></a>,
<a href='#Duplex'><tt>Duplex</tt></a>,
<a href='#Finishing'><tt>Finishing</tt></a>,
<a href='#Group'><tt>Group</tt></a>,
<a href='#InputSlot'><tt>InputSlot</tt></a>,
<a href='#Installable'><tt>Installable</tt></a>,
<a href='#Option'><tt>Option</tt></a>,
<a href='#Resolution'><tt>Resolution</tt></a>,
<a href='#UIConstraints'><tt>UIConstraints</tt></a></p>


<!-- HALF PAGE -->
<h2><a name='MinSize'>MinSize</a></h2>
<hr>

<h3 _hd_omit_toc>Syntax</h3>

<pre>
    MinSize <i>width length</i>
</pre>

<h3 _hd_omit_toc>Examples</h3>

<pre>
    MinSize 4in 8in
    MinSize 10cm 20cm
</pre>

<h3 _hd_omit_toc>Description</h3>

<p>The <tt>MinSize</tt> directive specifies the minimum width
and length that is supported for custom page sizes.</p>

<h3 _hd_omit_toc>See Also</h3>

<p><a href='#MaxSize'><tt>MaxSize</tt></a>,
<a href='#VariablePaperSize'><tt>VariablePaperSize</tt></a></p>


<!-- NEW PAGE -->
<h2><a name='ModelName'>ModelName</a></h2>
<hr>

<h3 _hd_omit_toc>Syntax</h3>

<pre>
    ModelName <i>"name"</i>
</pre>

<h3 _hd_omit_toc>Examples</h3>

<pre>
    ModelName "Foo Laser Printer 2000"
    ModelName "Colorific 123"
</pre>

<h3 _hd_omit_toc>Description</h3>

<p>The <tt>ModelName</tt> directive sets the printer name for
the <tt>ModelName</tt>, <tt>NickName</tt>, and
<tt>ShortNickName</tt> attributes for the printer driver. The
name is any string of letters, numbers, spaces, and the
characters ".", "/", "-", and "+" and should not begin with the
manufacturer name since the PPD compiler will add this
automatically for you. The maximum length of the name string is
31 characters to conform to the Adobe limits on the length of
<tt>ShortNickName</tt>.</p>

<h3 _hd_omit_toc>See Also</h3>

<p><a href='#Manufacturer'><tt>Manufacturer</tt></a>,
<a href='#PCFileName'><tt>PCFileName</tt></a>,
<a href='#Version'><tt>Version</tt></a></p>


<!-- NEW PAGE -->
<h2><a name='ModelNumber'>ModelNumber</a></h2>
<hr>

<h3 _hd_omit_toc>Syntax</h3>

<pre>
    ModelNumber <i>number</i>
</pre>

<h3 _hd_omit_toc>Examples</h3>

<pre>
    ModelNumber 123
    ModelNumber ($PCL_PAPER_SIZE $PCL_PJL)
</pre>

<h3 _hd_omit_toc>Description</h3>

<p>The <tt>ModelNumber</tt> directive sets the
<tt>cupsModelNumber</tt> attribute for the printer driver, which
is often used by the printer driver filter to tailor its output
for the current device. The number is any integer or bitwise OR
of integers and constants that is appropriate for the printer
driver filters.<p>

<p>A complete list of printer driver model number constants is
available later in this appendix in the section titled, "<a
href='#REF_MODEL_NUMBER'>Printer Driver ModelNumber
Constants</a>".</p>

<h3 _hd_omit_toc>See Also</h3>

<p><a href='#DriverType'><tt>DriverType</tt></a>,
<a href='#Filter'><tt>Filter</tt></a></p>


<!-- NEW PAGE -->
<h2><a name='Option'>Option</a></h2>
<hr>

<h3 _hd_omit_toc>Syntax</h3>

<pre>
    Option <i>name type section order</i>
    Option <i>"name/text" type section order</i>
</pre>

<h3 _hd_omit_toc>Examples</h3>

<pre>
    Option Punch Boolean AnySetup 10
    Option "fooFinish/Finishing Option" PickOne DocumentSetup 10 
</pre>

<h3 _hd_omit_toc>Description</h3>

<p>The <tt>Option</tt> directive creates a new option in the
current group, by default the <tt>General</tt> group. The name
is any combination of letters, numbers, and the underscore and
can be up to 40 characters in length.</p>

<p>If provided, the text can be any string up to 80 characters
in length. If no text is provided, the name is used.</p>

<p>The type argument is one of the following keywords:</p>

<ul>

	<li><tt>Boolean</tt> - a true/false option</li>

	<li><tt>PickOne</tt> - allows the user to pick one
	choice from a list</li>

	<li><tt>PickMany</tt> - allows the user to pick zero or
	more choices from a list</li>

</ul>

<p>The section argument is one of the following keywords:</p>

<ul>

	<li><tt>AnySetup</tt> - The option can be placed in
	either the DocumentSetup or PageSetup sections of the
	PostScript document</li>

	<li><tt>DocumentSetup</tt> - The option must be placed
	in the DocumentSetup section of the PostScript document;
	this does not allow the option to be overridden on
	individual pages</li>

	<li><tt>ExitServer</tt> - The option must be placed in a
	separate initialization job prior to the document (not
	used for raster printer drivers)</li>

	<li><tt>JCLSetup</tt> - The option contains job control
	language commands and must be sent prior to the document
	using the <tt>JCLBegin</tt> and
	<tt>JCLToPSInterpreter</tt> attributes (not used for
	raster printer drivers)</li>

	<li><tt>PageSetup</tt> - The option must be placed at the
	beginning of each page in the PostScript document</li>

	<li><tt>Prolog</tt> - The option must be placed in the
	prolog section of the PostScript document; this is
	typically used to add special comments for high-end
	typesetters, but can also be used to add CUPS PostScript
	job ticket comments.</li>

</ul>

<p>The order argument is a real number greater than or equal to
0.0 and is used to sort the printer commands from many options
before sending them to the printer or RIP filter.</p>

<h3 _hd_omit_toc>See Also</h3>

<p><a href='#Choice'><tt>Choice</tt></a>,
<a href='#ColorModel'><tt>ColorModel</tt></a>,
<a href='#Cutter'><tt>Cutter</tt></a>,
<a href='#Darkness'><tt>Darkness</tt></a>,
<a href='#Duplex'><tt>Duplex</tt></a>,
<a href='#Finishing'><tt>Finishing</tt></a>,
<a href='#Group'><tt>Group</tt></a>,
<a href='#InputSlot'><tt>InputSlot</tt></a>,
<a href='#Installable'><tt>Installable</tt></a>,
<a href='#MediaType'><tt>MediaType</tt></a>,
<a href='#Resolution'><tt>Resolution</tt></a>,
<a href='#UIConstraints'><tt>UIConstraints</tt></a></p>


<!-- HALF PAGE -->
<h2><a name='PCFileName'>PCFileName</a></h2>
<hr>

<h3 _hd_omit_toc>Syntax</h3>

<pre>
    PCFileName <i>"filename.ppd"</i>
</pre>

<h3 _hd_omit_toc>Examples</h3>

<pre>
    PCFileName "foljt2k1.ppd"
    PCFileName "deskjet.ppd"
</pre>

<h3 _hd_omit_toc>Description</h3>

<p>The <tt>PCFileName</tt> attribute specifies the name of the
PPD file for the current driver. The filename argument must
conform to the Adobe PPD file specification and can be no more
than 8 filename characters plus the extension ".ppd".</p>

<h3 _hd_omit_toc>See Also</h3>

<p><a href='#Manufacturer'><tt>Manufacturer</tt></a>,
<a href='#ModelName'><tt>ModelName</tt></a>,
<a href='#Version'><tt>Version</tt></a></p>


<!-- NEW PAGE -->
<h2><a name='Resolution'>Resolution</a></h2>
<hr>

<h3 _hd_omit_toc>Syntax</h3>

<pre>
    Resolution <i>colorspace bits-per-color row-count row-feed row-step name</i>
    Resolution <i>colorspace bits-per-color row-count row-feed row-step "name/text"</i>
</pre>

<h3 _hd_omit_toc>Examples</h3>

<pre>
    Resolution - 8 0 0 0 300dpi
    Resolution k 8 0 0 0 "600x300dpi/600 DPI Grayscale"
</pre>

<h3 _hd_omit_toc>Description</h3>

<p>The <tt>Resolution</tt> directive creates a new
<tt>Resolution</tt> option choice which sets the
<tt>HWResolution</tt>, <tt>cupsBitsPerColor</tt>,
<tt>cupsRowCount</tt>, <tt>cupsRowFeed</tt>,
<tt>cupsRowStep</tt>, and optionally the <tt>cupsColorSpace</tt>
page device dictionary attributes. The colorspace argument
specifies a colorspace to use for the specified resolution and
can be the hyphen (<tt>-</tt>) character to make no change to
the selected color model or any keyword listed in the section
titled, "<a href='#REF_COLOR_SPACE'>Colorspace Keywords</a>", to
force the named colorspace.</p>

<p>The bits-per-color argument specifies the number of bits per
color to generate when RIP'ing a job. The values 1, 2, 4, and 8
are currently supported by CUPS.</p>

<p>The row-count, row-feed, and row-step argument specify the
driver-dependent values for the <tt>cupsRowCount</tt>,
<tt>cupsRowFeed</tt>, and <tt>cupsRowStep</tt> attributes,
respectively. Most drivers leave these attributes set to 0, but
any number from 0 to 2<sup>32</sup>-1 is allowed.</p>

<p>The name argument must conform to the resolution naming
conventions in the Adobe PPD file specification, either
<tt>HHHdpi</tt> for symmetric resolutions or <tt>HHHxVVVdpi</tt>
for asymmetric resolutions. The <tt>HHH</tt> and <tt>VVV</tt> in
the examples represent the horizontal and vertical resolutions
which must be positive integer values.</p>

<p>If provided, the text can be any string up to 80 characters
in length. If no text is provided, the name is used.</p>

<h3 _hd_omit_toc>See Also</h3>

<p><a href='#Choice'><tt>Choice</tt></a>,
<a href='#ColorModel'><tt>ColorModel</tt></a>,
<a href='#Cutter'><tt>Cutter</tt></a>,
<a href='#Darkness'><tt>Darkness</tt></a>,
<a href='#Duplex'><tt>Duplex</tt></a>,
<a href='#Finishing'><tt>Finishing</tt></a>,
<a href='#Group'><tt>Group</tt></a>,
<a href='#InputSlot'><tt>InputSlot</tt></a>,
<a href='#Installable'><tt>Installable</tt></a>,
<a href='#MediaType'><tt>MediaType</tt></a>,
<a href='#Option'><tt>Option</tt></a>,
<a href='#UIConstraints'><tt>UIConstraints</tt></a></p>


<!-- NEW PAGE -->
<h2><a name='SimpleColorProfile'>SimpleColorProfile</a></h2>
<hr>

<h3 _hd_omit_toc>Syntax</h3>

<pre>
    SimpleColorProfile <i>resolution/mediatype density
        yellow-density red-density gamma
	red-adjust green-adjust blue-adjust</i>
</pre>

<h3 _hd_omit_toc>Examples</h3>

<pre>
    SimpleColorProfile -/- 100 100 200 1.0 0 0 0

    SimpleColorProfile 360dpi/- 100 95 150 1.2 5 10 15

    SimpleColorProfile 720dpi/Glossy 100 90 120 1.5 -5 5 10
</pre>

<h3 _hd_omit_toc>Description</h3>

<p>The <tt>SimpleColorProfile</tt> directive creates a
matrix-based <a href="#ColorProfile"><tt>ColorProfile</tt></a>
using values chosen with the <tt>cupsprofile(1)</tt> utility. 
The resolution and mediatype arguments specify the
<tt>Resolution</tt> and <tt>MediaType</tt> choices which use the
profile; the hyphen (<tt>-</tt>) is used to specify that any
resolution or mediatype can be used with the profile.</p>

<p>The density argument specifies the linear density correction
to apply to the color values (P = d * 0.01 * p<sup>g</sup>) and
is an integer greater than 0 and less than or equal to 100. A
value 100 of disables density correction while lower values
produce proportionately lighter output. The density value
adjusts all color channels equally in all color modes.</p>

<p>The yellow-density argument specifies the density of the
yellow channel when printing in grayscale or RGB mode and is an
integer greater than 0 and less then or equal to 100. A value of
100 disables yellow density correction while lower values
produce proportionately lighter output.</p>

<P>The red-density argument specifies the two-color density
limit (e.g. C + M, C + Y, M + Y) when printing in grayscale or
RGB mode and is an integer greater than 0 and less then or equal
to 200. A value of 200 disables two-color density correction
while lower values produce proportionately lighter output.</p>

<p>The gamma argument specifies the gamma correction to apply to
the color values (P = p<sup>g</sup>) and is a real number
greater than 0. Values larger than 1 cause a general lightening
of the print while values smaller than 1 cause a general
darkening of the print. A value of 1 disables gamma
correction.</p>

<p>The red-adjust, green-adjust, blue-adjust arguments specify
the percentage of color to add or remove. Positive red-adjust
values add magenta and negative values add yellow. Positive
green-adjust values add cyan and negative values add yellow.
Positive blue-adjust values add cyan and negative values add
magenta. Values of 0 disable color adjustments.</p>

<h3 _hd_omit_toc>See Also</h3>

<p><a href='#ColorProfile'><tt>ColorProfile</tt></a></p>


<!-- HALF PAGE -->
<h2><a name='Throughput'>Throughput</a></h2>
<hr>

<h3 _hd_omit_toc>Syntax</h3>

<pre>
    Throughput <i>pages-per-minute</i>
</pre>

<h3 _hd_omit_toc>Examples</h3>

<pre>
    Throughput 1
    Throughput 10
</pre>

<h3 _hd_omit_toc>Description</h3>

<p>The <tt>Througput</tt> directive sets the <tt>Troughput</tt>
attribute for the current printer driver. The pages-per-minute
argument is a positive integer representing the peak number of
pages per minute that the printer is capable of producing. Use a
value of 1 for printers that produce less than 1 page per
minute.</p>


<!-- NEW PAGE -->
<h2><a name='UIConstraints'>UIConstraints</a></h2>
<hr>

<h3 _hd_omit_toc>Syntax</h3>

<pre>
    UIConstraints <i>"*Option1 *Option2"</i>
    UIConstraints <i>"*Option1 Choice1 *Option2"</i>
    UIConstraints <i>"*Option1 *Option2 Choice2"</i>
    UIConstraints <i>"*Option1 Choice1 *Option2 Choice2"</i>
</pre>

<h3 _hd_omit_toc>Examples</h3>

<pre>
    UIConstraints "*Finishing *MediaType"
    UIConstraints "*Option1 False *Duplex"
    UIConstraints "*Duplex *MediaType Transparency"
    UIConstraints "*Resolution 600dpi *ColorModel RGB"
</pre>

<h3 _hd_omit_toc>Description</h3>

<p>The <tt>UIConstraints</tt> directive adds a constraint
between two options. Constraints inform the application when a
user has chosen incompatible options. Each option name is
preceded by the asterisk (<tt>*</tt>). If no choice is given for
an option, then all choices <i>except</i> <tt>False</tt> and
<tt>None</tt> will conflict with the other option and choice(s).
Since the PPD compiler automatically adds reciprocal constraints
(option A conflicts with option B, so therefore option B
conflicts with option A), you need only specify the constraint
once.</p>

<h3 _hd_omit_toc>See Also</h3>

<p><a href='#Choice'><tt>Choice</tt></a>,
<a href='#ColorModel'><tt>ColorModel</tt></a>,
<a href='#Cutter'><tt>Cutter</tt></a>,
<a href='#Darkness'><tt>Darkness</tt></a>,
<a href='#Duplex'><tt>Duplex</tt></a>,
<a href='#Finishing'><tt>Finishing</tt></a>,
<a href='#Group'><tt>Group</tt></a>,
<a href='#InputSlot'><tt>InputSlot</tt></a>,
<a href='#Installable'><tt>Installable</tt></a>,
<a href='#MediaType'><tt>MediaType</tt></a>,
<a href='#Option'><tt>Option</tt></a>,
<a href='#Resolution'><tt>Resolution</tt></a></p>


<!-- HALF PAGE -->
<h2><a name='VariablePaperSize'>VariablePaperSize</a></h2>
<hr>

<h3 _hd_omit_toc>Syntax</h3>

<pre>
    VariablePaperSize <i>boolean-value</i>
</pre>

<h3 _hd_omit_toc>Examples</h3>

<pre>
    VariablePaperSize yes
    VariablePaperSize no
</pre>

<h3 _hd_omit_toc>Description</h3>

<p>The <tt>VariablePaperSize</tt> directive specifies whether
the current printer supports variable (custom) page sizes. When
<tt>yes</tt> is specified, the PPD compiler will include the
standard PPD attributes required to support custom page
sizes.</p>

<h3 _hd_omit_toc>See Also</h3>

<p><a href='#MaxSize'><tt>MaxSize</tt></a>,
<a href='#MinSize'><tt>MinSize</tt></a></p>


<!-- HALF PAGE -->
<h2><a name='Version'>Version</a></h2>
<hr>

<h3 _hd_omit_toc>Syntax</h3>

<pre>
    Version <i>number</i>
</pre>

<h3 _hd_omit_toc>Examples</h3>

<pre>
    Version 1.0
    Version 3.7
</pre>

<h3 _hd_omit_toc>Description</h3>

<p>The <tt>Version</tt> directive sets the <tt>FileVersion</tt>
attribute in the PPD file and is also used for the
<tt>NickName</tt> attribute. The number argument is a positive
real number.</p>

<h3 _hd_omit_toc>See Also</h3>

<p><a href='#Manufacturer'><tt>Manufacturer</tt></a>,
<a href='#ModelName'><tt>ModelName</tt></a>,
<a href='#PCFileName'><tt>PCFileName</tt></a></p>


<!-- NEW PAGE -->
<h2><a name='REF_INCLUDE'>Standard Include Files</h2>

<p><a href='#TABLEB-1'>Table B-1</a> shows the standard include
files which are provided with the DDK.</p>

<center><table border='1' cellpadding='5' cellspacing='0' width='80%'>
<caption align='bottom'><a name='TABLEB-1'><i>Table B-1,
Standard Include Files</i></a></caption>
<tr bgcolor='#cccccc'>
	<th>Include File</th>
	<th>Description</th>
</tr>
<tr>
	<td valign='top'><tt>&lt;font.defs&gt;</tt></td>
	<td align='justify' valign='top'>Defines all of the
	standard fonts which are included with ESP Ghostscript
	and the Apple PDF RIP.</td>
</tr>
<tr>
	<td valign='top'><tt>&lt;epson.h&gt;</tt></td>
	<td align='justify' valign='top'>Defines all of the
	CUPS ESC/P sample driver constants.</td>
</tr>
<tr>
	<td valign='top'><tt>&lt;escp.h&gt;</tt></td>
	<td align='justify' valign='top'>Defines all of the
	DDK ESC/P driver constants.</td>
</tr>
<tr>
	<td valign='top'><tt>&lt;hp.h&gt;</tt></td>
	<td align='justify' valign='top'>Defines all of the
	CUPS HP-PCL sample driver constants.</td>
</tr>
<tr>
	<td valign='top'><tt>&lt;label.h&gt;</tt></td>
	<td align='justify' valign='top'>Defines all of the
	CUPS label sample driver constants.</td>
</tr>
<tr>
	<td valign='top'><tt>&lt;media.defs&gt;</tt></td>
	<td align='justify' valign='top'>Defines all of the
	standard media sizes listed in Appendix B of the Adobe
	PostScript Printer Description File Format
	Specification.</td>
</tr>
<tr>
	<td valign='top'><tt>&lt;pcl.h&gt;</tt></td>
	<td align='justify' valign='top'>Defines all of the
	DDK HP-PCL driver constants.</td>
</tr>
<tr>
	<td valign='top'><tt>&lt;raster.defs&gt;</tt></td>
	<td align='justify' valign='top'>Defines all of the CUPS
	raster format constants.</td>
</tr>
</table></center>

<h2><a name='REF_MODEL_NUMBER'>Printer Driver ModelNumber Constants</a></h2>

<p>The CUPS DDK and sample drivers use the
<tt>cupsModelNumber</tt> attribute in the PPD file to tailor
their output to the printer. The following sections describe the
constants for each driver.</p>

<h3><a name='REF_MODEL_EPSON'>The CUPS ESC/P Sample Driver (epson)</a></h3>

<p>The <tt>epson</tt> driver supports Epson and Okidata
dot-matrix, Epson Stylus Color, and Epson Stylus Photo printers.
<a href='#TABLEB-2'>Table B-2</a> lists the constants for the <a
href='#ModelNumber'><tt>ModelNumber</tt></a> directive.
<tt>ModelNumber</tt> values should be inserted by referencing
only one of these constants.</p>

<!-- NEED 20 -->
<center><table border='1' cellpadding='5' cellspacing='0' width='80%'>
<caption align='bottom'><a name='TABLEB-2'><i>Table B-2, <tt>epson</tt> driver
constants</i></a></caption>
<tr bgcolor='#cccccc'>
	<th>Constant</th>
	<th>Description</th>
</tr>
<tr>
	<td valign='top'><tt>EPSON_9PIN</tt></td>
	<td align='justify' valign='top'>Epson and Okidata 9-pin
	dot-matrix printers</td>
</tr>
<tr>
	<td valign='top'><tt>EPSON_24PIN</tt></td>
	<td align='justify' valign='top'>Epson and Okidata 24-pin
	dot-matrix printers</td>
</tr>
<tr>
	<td valign='top'><tt>EPSON_COLOR</tt></td>
	<td align='justify' valign='top'>Older Epson Stylus Color
	printers that use the <tt>ESC .</tt> graphics command</td>
</tr>
<tr>
	<td valign='top'><tt>EPSON_PHOTO</tt></td>
	<td align='justify' valign='top'>Older Epson Stylus Photo
	printers that use the <tt>ESC .</tt> graphics command</td>
</tr>
<tr>
	<td valign='top'><tt>EPSON_ICOLOR</tt></td>
	<td align='justify' valign='top'>Newer Epson Stylus Color
	printers that use the <tt>ESC i</tt> graphics command</td>
</tr>
<tr>
	<td valign='top'><tt>EPSON_IPHOTO</tt></td>
	<td align='justify' valign='top'>Newer Epson Stylus Photo
	printers that use the <tt>ESC i</tt> graphics command</td>
</tr>
</table></center>

<h3><a name='REF_MODEL_HP'>The CUPS HP-PCL Sample Driver (hp)</a></h3>

<p>The <tt>hp</tt> driver supports HP LaserJet and DeskJet
printers. <a href='#TABLEB-3'>Table B-3</a> lists the constants
for the <a href='#ModelNumber'><tt>ModelNumber</tt></a>
directive. <tt>ModelNumber</tt> values should be inserted by
referencing only one of these constants.</p>

<center><table border='1' cellpadding='5' cellspacing='0' width='80%'>
<caption align='bottom'><a name='TABLEB-3'><i>Table B-3, <tt>hp</tt> driver
constants</i></a></caption>
<tr bgcolor='#cccccc'>
	<th>Constant</th>
	<th>Description</th>
</tr>
<tr>
	<td valign='top'><tt>HP_LASERJET</tt></td>
	<td align='justify' valign='top'>HP LaserJet printers supporting
	PCL 3, 4, or 5</td>
</tr>
<tr>
	<td valign='top'><tt>HP_DESKJET</tt></td>
	<td align='justify' valign='top'>HP DeskJet printers
	supporting PCL 3 and using the simple color graphics
	command (<tt>ESC * r # U</tt>)</td>
</tr>
<tr>
	<td valign='top'><tt>HP_DESKJET2</tt></td>
	<td align='justify' valign='top'>HP DeskJet printers
	supporting PCL3GUI and using the configure raster graphics
	command (<tt>ESC * g # W</tt>)</td>
</tr>
</table></center>

<!-- NEW PAGE -->
<h3><a name='REF_MODEL_LABEL'>The CUPS Label Sample Driver (label)</a></h3>

<p>The <tt>label</tt> driver supports the Dymo Labelwriter, Zebra CPCL, Zebra EPL, and Zebra ZPL, and Intellitech PCL label printers. <a href='#TABLEB-4'>Table B-4</a>
lists the constants for the <a
href='#ModelNumber'><tt>ModelNumber</tt></a> directive.
<tt>ModelNumber</tt> values should be inserted by referencing
only one of these constants.</p>

<center><table border='1' cellpadding='5' cellspacing='0' width='80%'>
<caption align='bottom'><a name='TABLEB-4'><i>Table B-4, <tt>label</tt> driver
constants</i></a></caption>
<tr bgcolor='#cccccc'>
	<th>Constant</th>
	<th>Description</th>
</tr>
<tr>
	<td valign='top'><tt>DYMO_3x0</tt></td>
	<td align='justify' valign='top'>Format output for the
	Dymo Labelwriter 300, 330, or 330 Turbo.</td>
</tr>
<tr>
	<td valign='top'><tt>INTELLITECH_PCL</tt></td>
	<td align='justify' valign='top'>Format output for the Intellitech PCL printers.</td>
</tr>
<tr>
	<td valign='top'><tt>ZEBRA_CPCL</tt></td>
	<td align='justify' valign='top'>Format output for the Zebra CPCL printers.</td>
</tr>
<tr>
	<td valign='top'><tt>ZEBRA_EPL_LINE</tt></td>
	<td align='justify' valign='top'>Format output for the Zebra EPL line mode (EPL 1) printers.</td>
</tr>
<tr>
	<td valign='top'><tt>ZEBRA_EPL_PAGE</tt></td>
	<td align='justify' valign='top'>Format output for the Zebra EPL page mode (EPL 2) printers.</td>
</tr>
<tr>
	<td valign='top'><tt>ZEBRA_ZPL</tt></td>
	<td align='justify' valign='top'>Format output for the Zebra ZPL printers.</td>
</tr>
</table></center>

<!-- NEW PAGE -->
<h3><a name='REF_MODEL_ESCP'>The DDK ESC/P Driver (escp)</a></h3>

<p>The <tt>escp</tt> driver supports all Epson inkjet printers.
<a href='#TABLEB-6'>Table B-6</a> lists the constants for the <a
href='#ModelNumber'><tt>ModelNumber</tt></a> directive.
<tt>ModelNumber</tt> values should be specified as the bitwise
OR of one or more of these constants.</p>

<center><table border='1' cellpadding='5' cellspacing='0' width='80%'>
<caption align='bottom'><a name='TABLEB-6'><i>Table B-6, <tt>escp</tt> driver
constants</i></a></caption>
<tr bgcolor='#cccccc'>
	<th>Constant</th>
	<th>Description</th>
</tr>
<tr>
	<td valign='top'><tt>ESCP_MICROWEAVE</tt></td>
	<td align='justify' valign='top'>Use microweave command?</td>
</tr>
<tr>
	<td valign='top'><tt>ESCP_STAGGER</tt></td>
	<td align='justify' valign='top'>Are color jets staggered?</td>
</tr>
<tr>
	<td valign='top'><tt>ESCP_ESCK</tt></td>
	<td align='justify' valign='top'>Use print mode command?</td>
</tr>
<tr>
	<td valign='top'><tt>ESCP_EXT_UNITS</tt></td>
	<td align='justify' valign='top'>Use extended unit commands?</td>
</tr>
<tr>
	<td valign='top'><tt>ESCP_EXT_MARGINS</tt></td>
	<td align='justify' valign='top'>Use extended margin command?</td>
</tr>
<tr>
	<td valign='top'><tt>ESCP_USB</tt></td>
	<td align='justify' valign='top'>Send USB packet mode escape</td>
</tr>
<tr>
	<td valign='top'><tt>ESCP_PAGE_SIZE</tt></td>
	<td align='justify' valign='top'>Use page size command</td>
</tr>
<tr>
	<td valign='top'><tt>ESCP_RASTER_ESCI</tt></td>
	<td align='justify' valign='top'>Use <tt>ESC i</tt> graphics command</td>
</tr>
<tr>
	<td valign='top'><tt>ESCP_REMOTE</tt></td>
	<td align='justify' valign='top'>Use remote mode commands</td>
</tr>
<tr>
	<td valign='top'><tt>ESCP_REMOTE_AC</tt></td>
	<td align='justify' valign='top'>Use auto-cutter command</td>
</tr>
<tr>
	<td valign='top'><tt>ESCP_REMOTE_CO</tt></td>
	<td align='justify' valign='top'>Use cutter-operation command</td>
</tr>
<tr>
	<td valign='top'><tt>ESCP_REMOTE_EX</tt></td>
	<td align='justify' valign='top'>Use media-position command</td>
</tr>
<tr>
	<td valign='top'><tt>ESCP_REMOTE_MS</tt></td>
	<td align='justify' valign='top'>Use media-size command</td>
</tr>
<tr>
	<td valign='top'><tt>ESCP_REMOTE_MT</tt></td>
	<td align='justify' valign='top'>Use media-type command</td>
</tr>
<tr>
	<td valign='top'><tt>ESCP_REMOTE_PC</tt></td>
	<td align='justify' valign='top'>Use paper-check command</td>
</tr>
<tr>
	<td valign='top'><tt>ESCP_REMOTE_PH</tt></td>
	<td align='justify' valign='top'>Use paper-thickness command</td>
</tr>
<tr>
	<td valign='top'><tt>ESCP_REMOTE_PP</tt></td>
	<td align='justify' valign='top'>Use paper-path command</td>
</tr>
<tr>
	<td valign='top'><tt>ESCP_REMOTE_SN0</tt></td>
	<td align='justify' valign='top'>Use feed-sequence-0 command</td>
</tr>
<tr>
	<td valign='top'><tt>ESCP_REMOTE_SN1</tt></td>
	<td align='justify' valign='top'>Use platten-gap command</td>
</tr>
<tr>
	<td valign='top'><tt>ESCP_REMOTE_SN2</tt></td>
	<td align='justify' valign='top'>Use feed-sequence-2 command</td>
</tr>
<tr>
	<td valign='top'><tt>ESCP_REMOTE_SN6</tt></td>
	<td align='justify' valign='top'>Use eject-delay command</td>
</tr>
<tr>
	<td valign='top'><tt>ESCP_REMOTE_FP</tt></td>
	<td align='justify' valign='top'>Use print-position command</td>
</tr>
</table></center>

<!-- NEW PAGE -->
<h3><a name='REF_MODEL_PCL'>The DDK HP-PCL Driver (pcl)</a></h3>

<p>The <tt>pcl</tt> driver supports all HP LaserJet, DeskJet,
and DesignJet printers. <a href='#TABLEB-5'>Table B-5</a> lists
the constants for the <a
href='#ModelNumber'><tt>ModelNumber</tt></a> directive.
<tt>ModelNumber</tt> values should be specified as the bitwise
OR of one or more of these constants.</p>

<center><table border='1' cellpadding='5' cellspacing='0' width='80%'>
<caption align='bottom'><a name='TABLEB-5'><i>Table B-5, <tt>pcl</tt> driver
constants</i></a></caption>
<tr bgcolor='#cccccc'>
	<th>Constant</th>
	<th>Description</th>
</tr>
<tr>
	<td valign='top'><tt>PCL_PAPER_SIZE</tt></td>
	<td align='justify' valign='top'>Use paper size command (<tt>ESC &amp; l # A</tt>)</td>
</tr>
<tr>
	<td valign='top'><tt>PCL_INKJET</tt></td>
	<td align='justify' valign='top'>Use inkjet commands</td>
</tr>
<tr>
	<td valign='top'><tt>PCL_RASTER_END_COLOR</tt></td>
	<td align='justify' valign='top'>Use new end-raster command (<tt>ESC * r C</tt>)</td>
</tr>
<tr>
	<td valign='top'><tt>PCL_RASTER_CID</tt></td>
	<td align='justify' valign='top'>Use configure-image-data command (<tt>ESC * v # W</tt>)</td>
</tr>
<tr>
	<td valign='top'><tt>PCL_RASTER_CRD</tt></td>
	<td align='justify' valign='top'>Use configure-raster-data command (<tt>ESC * g # W</tt>)</td>
</tr>
<tr>
	<td valign='top'><tt>PCL_RASTER_SIMPLE</tt></td>
	<td align='justify' valign='top'>Use simple-raster-color command (<tt>ESC * r # U</tt>)</td>
</tr>
<tr>
	<td valign='top'><tt>PCL_RASTER_RGB24</tt></td>
	<td align='justify' valign='top'>Use 24-bit RGB mode</td>
</tr>
<tr>
	<td valign='top'><tt>PCL_PJL</tt></td>
	<td align='justify' valign='top'>Use PJL commands</td>
</tr>
<tr>
	<td valign='top'><tt>PCL_PJL_PAPERWIDTH</tt></td>
	<td align='justify' valign='top'>Use PJL PAPERWIDTH/LENGTH commands</td>
</tr>
<tr>
	<td valign='top'><tt>PCL_PJL_HPGL2</tt></td>
	<td align='justify' valign='top'>Use PJL ENTER HPGL2 command</td>
</tr>
<tr>
	<td valign='top'><tt>PCL_PJL_PCL3GUI</tt></td>
	<td align='justify' valign='top'>Use PJL ENTER PCL3GUI command</td>
</tr>
<tr>
	<td valign='top'><tt>PCL_PJL_RESOLUTION</tt></td>
	<td align='justify' valign='top'>Use PJL SET RESOLUTION command</td>
</tr>
</table></center>

<!-- NEW PAGE -->
<H2><A NAME="REF_COLOR">Color Keywords</A></H2>

<p>The PPD compiler defines two types of color keywords:
colorspace and color order. The following sections list the
supported keywords for each type.</p>

<H3><A NAME="REF_COLOR_SPACE">Colorspace Keywords</A></H3>

<P>The following colorspace keywords are recognized:</P>

<UL>

	<LI><TT>cielab</TT> - CIE Lab <A HREF="#REF_COLOR_APPLE2">**</A></LI>

	<LI><TT>ciexyz</TT> - CIE XYZ <A HREF="#REF_COLOR_APPLE2">**</A></LI>

	<LI><TT>cmy</TT> - Cyan, magenta, yellow</LI>

	<LI><TT>cmyk</TT> - Cyan, magenta, yellow, black</LI>

	<LI><TT>gmck</TT> - Gold, magenta, yellow, black <A HREF="#REF_COLOR_APPLE2">**</A></LI>

	<LI><TT>gmcs</TT> - Gold, magenta, yellow, silver <A HREF="#REF_COLOR_APPLE2">**</A></LI>

	<LI><TT>gold</TT> - Gold foil <A HREF="#REF_COLOR_APPLE2">**</A></LI>

	<LI><TT>icc1</TT> - ICC-based, 1 color <A HREF="#REF_COLOR_APPLE2">**</A></LI>

	<LI><TT>icc2</TT> - ICC-based, 2 colors <A HREF="#REF_COLOR_APPLE2">**</A></LI>

	<LI><TT>icc3</TT> - ICC-based, 3 colors <A HREF="#REF_COLOR_APPLE2">**</A></LI>

	<LI><TT>icc4</TT> - ICC-based, 4 colors <A HREF="#REF_COLOR_APPLE2">**</A></LI>

	<LI><TT>icc5</TT> - ICC-based, 5 colors <A HREF="#REF_COLOR_APPLE2">**</A></LI>

	<LI><TT>icc6</TT> - ICC-based, 6 colors <A HREF="#REF_COLOR_APPLE2">**</A></LI>

	<LI><TT>icc7</TT> - ICC-based, 7 colors <A HREF="#REF_COLOR_APPLE2">**</A></LI>

	<LI><TT>icc8</TT> - ICC-based, 8 colors <A HREF="#REF_COLOR_APPLE2">**</A></LI>

	<LI><TT>icc9</TT> - ICC-based, 9 colors <A HREF="#REF_COLOR_APPLE2">**</A></LI>

	<LI><TT>icca</TT> - ICC-based, 10 colors <A HREF="#REF_COLOR_APPLE2">**</A></LI>

	<LI><TT>iccb</TT> - ICC-based, 11 colors <A HREF="#REF_COLOR_APPLE2">**</A></LI>

	<LI><TT>iccc</TT> - ICC-based, 12 colors <A HREF="#REF_COLOR_APPLE2">**</A></LI>

	<LI><TT>iccd</TT> - ICC-based, 13 colors <A HREF="#REF_COLOR_APPLE2">**</A></LI>

	<LI><TT>icce</TT> - ICC-based, 14 colors <A HREF="#REF_COLOR_APPLE2">**</A></LI>

	<LI><TT>iccf</TT> - ICC-based, 15 colors <A HREF="#REF_COLOR_APPLE2">**</A></LI>

	<LI><TT>k</TT> - Black</LI>

	<LI><TT>kcmy</TT> - Black, cyan, magenta, yellow <A HREF="#REF_COLOR_APPLE">*</A></LI>

	<LI><TT>kcmycm</TT> - Black, cyan, magenta, yellow, light-cyan, light-magenta <A HREF="#REF_COLOR_APPLE">*</A></LI>

	<LI><TT>rgb</TT> - Red, green, blue</LI>

	<LI><TT>rgba</TT> - Red, green, blue, alpha</LI>

	<LI><TT>rgbw</TT> - Red, green, blue, luminance <A HREF="#REF_COLOR_APPLE">*</A></LI>

	<LI><TT>silver</TT> - Silver foil <A HREF="#REF_COLOR_APPLE2">**</A></LI>

	<LI><TT>w</TT> - Luminance</LI>

	<LI><TT>white</TT> - White ink (as black) <A HREF="#REF_COLOR_APPLE2">**</A></LI>

	<LI><TT>ymc</TT> - Yellow, magenta, cyan <A HREF="#REF_COLOR_APPLE">*</A></LI>

	<LI><TT>ymck</TT> - Yellow, magenta, cyan, black <A HREF="#REF_COLOR_APPLE">*</A>

	<BR>&nbsp;

	<BR><A NAME="REF_COLOR_APPLE">*</A> = This colorspace is not supported on Mac OS X prior to 10.4.
	<BR><A NAME="REF_COLOR_APPLE2">**</A> = This colorspace is not supported on Mac OS X.</LI>

</UL>

<!-- NEW PAGE -->
<H3><A NAME="REF_COLOR_ORDER">Color Order Keywords</A></H3>

<P>The following color order keywords are recognized:</P>

<UL>

	<LI><TT>chunked</TT> or <TT>chunky</TT> - Color values
	are passed together on a line as RGB RGB RGB RGB</LI>

	<LI><TT>banded</TT> - Color values are passed separately
	on a line as RRRR GGGG BBBB <A
	HREF="#REF_COLOR_APPLE2">*</A></LI>

	<LI><TT>planar</TT> - Color values are passed separately
	on a page as RRRR RRRR RRRR ... GGGG GGGG GGGG ... BBBB
	BBBB BBBB <A HREF="#REF_COLOR_APPLE2">*</A>

	<BR>&nbsp;

	<BR><A NAME="REF_COLOR_APPLE2">*</A> = This color order
	is not supported by the current Apple RIP filters and
	should not be used when developing printer drivers for
	MacOS X 10.2 or 10.3.</LI>

</UL>

</BODY>
</HTML>