]>
Commit | Line | Data |
---|---|---|
c277f98c | 1 | <!DOCTYPE HTML> |
94436c5a MS |
2 | <html> |
3 | <!-- SECTION: Man Pages --> | |
4 | <head> | |
5 | <link rel="stylesheet" type="text/css" href="../cups-printable.css"> | |
6 | <title>ppdcfile(5)</title> | |
7 | </head> | |
8 | <body> | |
9 | <h1 class="title">ppdcfile(5)</h1> | |
10 | <h2 class="title"><a name="NAME">Name</a></h2> | |
11 | ppdcfile - cups ppd compiler source file format | |
12 | <h2 class="title"><a name="DESCRIPTION">Description</a></h2> | |
13 | The CUPS PPD compiler reads meta files that contain descriptions | |
14 | of one or more PPD files to be generated by <i>ppdc</i>. This man | |
15 | page provides a quick reference to the supported keywords and | |
16 | should be used in conjunction with the online help for CUPS. | |
17 | <p>The source file format is plain ASCII text that can be edited | |
18 | using your favorite text editor. Comments are supported using | |
19 | the C (/* ... */) and C++ (// ...) comment mechanisms. | |
20 | <p>Printer driver information can be grouped and shared using | |
21 | curly braces ({ ... }); PPD files are written when a close | |
22 | brace or end-of-file is seen and a PCFileName directive has been | |
23 | defined. | |
24 | <p>Directives may be placed anywhere on a line and are followed by | |
25 | one or more values. The following is a list of the available | |
26 | directives and the values they accept: | |
c277f98c MS |
27 | <p style="margin-left: 5.0em; text-indent: -5.0em"><b>#define</b> name value |
28 | <br> | |
29 | <p style="margin-left: 5.0em; text-indent: -5.0em"><b>#elif</b> {name | value} | |
30 | <br> | |
31 | <p style="margin-left: 5.0em; text-indent: -5.0em"><b>#else</b> | |
32 | <br> | |
33 | <p style="margin-left: 5.0em; text-indent: -5.0em"><b>#endif</b> | |
34 | <br> | |
35 | <p style="margin-left: 5.0em; text-indent: -5.0em"><b>#font</b> name encoding "version" charset status | |
36 | <br> | |
37 | <p style="margin-left: 5.0em; text-indent: -5.0em"><b>#if</b> {name | value} | |
38 | <br> | |
39 | <p style="margin-left: 5.0em; text-indent: -5.0em"><b>#include</b> <filename> | |
40 | <br> | |
41 | <p style="margin-left: 5.0em; text-indent: -5.0em"><b>#include</b> "filename" | |
42 | <br> | |
43 | <p style="margin-left: 5.0em; text-indent: -5.0em"><b>#media</b> name width length | |
44 | <br> | |
45 | <p style="margin-left: 5.0em; text-indent: -5.0em"><b>#media</b> "name/text" width length | |
46 | <br> | |
47 | <p style="margin-left: 5.0em; text-indent: -5.0em"><b>#po</b> locale "filename.po" | |
48 | <br> | |
49 | <p style="margin-left: 5.0em; text-indent: -5.0em"><b>Attribute</b> name "" value | |
50 | <br> | |
51 | <p style="margin-left: 5.0em; text-indent: -5.0em"><b>Attribute</b> name keyword value | |
52 | <br> | |
53 | <p style="margin-left: 5.0em; text-indent: -5.0em"><b>Attribute</b> name "keyword/text" value | |
54 | <br> | |
55 | <p style="margin-left: 5.0em; text-indent: -5.0em"><b>Choice</b> name "code" | |
56 | <br> | |
57 | <p style="margin-left: 5.0em; text-indent: -5.0em"><b>Choice</b> "name/text" "code" | |
58 | <br> | |
59 | <p style="margin-left: 5.0em; text-indent: -5.0em"><b>ColorDevice</b> boolean-value | |
60 | <br> | |
61 | <p style="margin-left: 5.0em; text-indent: -5.0em"><b>ColorModel</b> name colorspace colororder compression | |
62 | <br> | |
63 | <p style="margin-left: 5.0em; text-indent: -5.0em"><b>ColorModel</b> "name/text" colorspace colororder compression | |
64 | <br> | |
65 | <p style="margin-left: 5.0em; text-indent: -5.0em"><b>ColorProfile</b> resolution/mediatype gamma density matrix | |
66 | <br> | |
67 | <p style="margin-left: 5.0em; text-indent: -5.0em"><b>Copyright</b> "text" | |
68 | <br> | |
69 | <p style="margin-left: 5.0em; text-indent: -5.0em"><b>CustomMedia</b> name width length left bottom right top "size-code" "region-code" | |
70 | <br> | |
71 | <p style="margin-left: 5.0em; text-indent: -5.0em"><b>CustomMedia</b> "name/text" width length left bottom right top "size-code" "region-code" | |
72 | <br> | |
73 | <p style="margin-left: 5.0em; text-indent: -5.0em"><b>Cutter</b> boolean-value | |
74 | <br> | |
75 | <p style="margin-left: 5.0em; text-indent: -5.0em"><b>Darkness</b> temperature name | |
76 | <br> | |
77 | <p style="margin-left: 5.0em; text-indent: -5.0em"><b>Darkness</b> temperature "name/text" | |
78 | <br> | |
79 | <p style="margin-left: 5.0em; text-indent: -5.0em"><b>DriverType</b> type | |
80 | <br> | |
81 | <p style="margin-left: 5.0em; text-indent: -5.0em"><b>Duplex</b> type | |
82 | <br> | |
83 | <p style="margin-left: 5.0em; text-indent: -5.0em"><b>Filter</b> mime-type cost program | |
84 | <br> | |
85 | <p style="margin-left: 5.0em; text-indent: -5.0em"><b>Finishing</b> name | |
86 | <br> | |
87 | <p style="margin-left: 5.0em; text-indent: -5.0em"><b>Finishing</b> "name/text" | |
88 | <br> | |
89 | <p style="margin-left: 5.0em; text-indent: -5.0em"><b>Font</b> * | |
90 | <br> | |
91 | <p style="margin-left: 5.0em; text-indent: -5.0em"><b>Font</b> name encoding "version" charset status | |
92 | <br> | |
93 | <p style="margin-left: 5.0em; text-indent: -5.0em"><b>Group</b> name | |
94 | <br> | |
95 | <p style="margin-left: 5.0em; text-indent: -5.0em"><b>Group</b> "name/text" | |
96 | <br> | |
97 | <p style="margin-left: 5.0em; text-indent: -5.0em"><b>HWMargins</b> left bottom right top | |
98 | <br> | |
99 | <p style="margin-left: 5.0em; text-indent: -5.0em"><b>InputSlot</b> position name | |
100 | <br> | |
101 | <p style="margin-left: 5.0em; text-indent: -5.0em"><b>InputSlot</b> position "name/text" | |
102 | <br> | |
103 | <p style="margin-left: 5.0em; text-indent: -5.0em"><b>Installable</b> name | |
104 | <br> | |
105 | <p style="margin-left: 5.0em; text-indent: -5.0em"><b>Installable</b> "name/text" | |
106 | <br> | |
107 | <p style="margin-left: 5.0em; text-indent: -5.0em"><b>LocAttribute</b> name "keyword/text" value | |
108 | <br> | |
109 | <p style="margin-left: 5.0em; text-indent: -5.0em"><b>ManualCopies</b> boolean-value | |
110 | <br> | |
111 | <p style="margin-left: 5.0em; text-indent: -5.0em"><b>Manufacturer</b> "name" | |
112 | <br> | |
113 | <p style="margin-left: 5.0em; text-indent: -5.0em"><b>MaxSize</b> width length | |
114 | <br> | |
115 | <p style="margin-left: 5.0em; text-indent: -5.0em"><b>MediaSize</b> name | |
116 | <br> | |
117 | <p style="margin-left: 5.0em; text-indent: -5.0em"><b>MediaType</b> type name | |
118 | <br> | |
119 | <p style="margin-left: 5.0em; text-indent: -5.0em"><b>MediaType</b> type "name/text" | |
120 | <br> | |
121 | <p style="margin-left: 5.0em; text-indent: -5.0em"><b>MinSize</b> width length | |
122 | <br> | |
123 | <p style="margin-left: 5.0em; text-indent: -5.0em"><b>ModelName</b> "name" | |
124 | <br> | |
125 | <p style="margin-left: 5.0em; text-indent: -5.0em"><b>ModelNumber</b> number | |
126 | <br> | |
127 | <p style="margin-left: 5.0em; text-indent: -5.0em"><b>Option</b> name type section order | |
128 | <br> | |
129 | <p style="margin-left: 5.0em; text-indent: -5.0em"><b>Option</b> "name/text" type section order | |
130 | <br> | |
131 | <p style="margin-left: 5.0em; text-indent: -5.0em"><b>PCFileName</b> "filename.ppd" | |
132 | <br> | |
133 | <p style="margin-left: 5.0em; text-indent: -5.0em"><b>Resolution</b> colorspace bits-per-color row-count row-feed row-step name | |
134 | <br> | |
135 | <p style="margin-left: 5.0em; text-indent: -5.0em"><b>Resolution</b> colorspace bits-per-color row-count row-feed row-step "name/text" | |
136 | <br> | |
137 | <p style="margin-left: 5.0em; text-indent: -5.0em"><b>SimpleColorProfile</b> resolution/mediatype density yellow-density red-density gamma red-adjust green-adjust blue-adjust | |
138 | <br> | |
139 | <p style="margin-left: 5.0em; text-indent: -5.0em"><b>Throughput</b> pages-per-minute | |
140 | <br> | |
141 | <p style="margin-left: 5.0em; text-indent: -5.0em"><b>UIConstraints</b> "*Option1 *Option2" | |
142 | <br> | |
143 | <p style="margin-left: 5.0em; text-indent: -5.0em"><b>UIConstraints</b> "*Option1 Choice1 *Option2" | |
144 | <br> | |
145 | <p style="margin-left: 5.0em; text-indent: -5.0em"><b>UIConstraints</b> "*Option1 *Option2 Choice2" | |
146 | <br> | |
147 | <p style="margin-left: 5.0em; text-indent: -5.0em"><b>UIConstraints</b> "*Option1 Choice1 *Option2 Choice2" | |
148 | <br> | |
149 | <p style="margin-left: 5.0em; text-indent: -5.0em"><b>VariablePaperSize</b> boolean-value | |
150 | <br> | |
151 | <p style="margin-left: 5.0em; text-indent: -5.0em"><b>Version</b> number | |
152 | <br> | |
94436c5a MS |
153 | <h2 class="title"><a name="SEE_ALSO">See Also</a></h2> |
154 | ppdc(1), ppdhtml(1), ppdi(1), ppdmerge(1), ppdpo(1) | |
155 | <br> | |
c277f98c | 156 | <a href="http://localhost:631/help">http://localhost:631/help</a> |
94436c5a MS |
157 | <h2 class="title"><a name="COPYRIGHT">Copyright</a></h2> |
158 | Copyright 2007-2013 by Apple Inc. | |
159 | ||
160 | </body> | |
161 | </html> |