xref: /aosp_15_r20/external/libcups/doc/help/ref-ppdcfile.html (revision 5e7646d21f1134fb0638875d812ef646c12ab91e)
1*5e7646d2SAndroid Build Coastguard Worker<HTML>
2*5e7646d2SAndroid Build Coastguard Worker<!-- SECTION: References -->
3*5e7646d2SAndroid Build Coastguard Worker<HEAD>
4*5e7646d2SAndroid Build Coastguard Worker	<TITLE>PPD Compiler Driver Information File Reference</TITLE>
5*5e7646d2SAndroid Build Coastguard Worker	<LINK REL="STYLESHEET" TYPE="text/css" HREF="../cups-printable.css">
6*5e7646d2SAndroid Build Coastguard Worker</HEAD>
7*5e7646d2SAndroid Build Coastguard Worker<BODY>
8*5e7646d2SAndroid Build Coastguard Worker
9*5e7646d2SAndroid Build Coastguard Worker<H1 CLASS="title">PPD Compiler Driver Information File Reference</H1>
10*5e7646d2SAndroid Build Coastguard Worker
11*5e7646d2SAndroid Build Coastguard Worker<p>The CUPS PPD compiler reads meta files that contain descriptions
12*5e7646d2SAndroid Build Coastguard Workerof one or more PPD files to be generated by
13*5e7646d2SAndroid Build Coastguard Worker<a href="man-ppdc.html">ppdc(1)</a> or the corresponding driver interface
14*5e7646d2SAndroid Build Coastguard Workerprogram <a href="man-drv.html">drv(1)</a>. The source file format is plain
15*5e7646d2SAndroid Build Coastguard WorkerASCII text that can be edited using your favorite text editor.</p>
16*5e7646d2SAndroid Build Coastguard Worker
17*5e7646d2SAndroid Build Coastguard Worker<p>Directives may be placed anywhere on a line and are followed by
18*5e7646d2SAndroid Build Coastguard Workerzero or more values.</p>
19*5e7646d2SAndroid Build Coastguard Worker
20*5e7646d2SAndroid Build Coastguard Worker<p>Comments are supported using the C (/* ... */) and C++ (// ...) comment
21*5e7646d2SAndroid Build Coastguard Workermechanisms.</p>
22*5e7646d2SAndroid Build Coastguard Worker
23*5e7646d2SAndroid Build Coastguard Worker<p>Directives that accept expressions look for sequences of the form:</p>
24*5e7646d2SAndroid Build Coastguard Worker
25*5e7646d2SAndroid Build Coastguard Worker<dl>
26*5e7646d2SAndroid Build Coastguard Worker
27*5e7646d2SAndroid Build Coastguard Worker	<dt>NAME</dt>
28*5e7646d2SAndroid Build Coastguard Worker	<dd>Evaluates to 1 if NAME is defined, otherwise 0.</dd>
29*5e7646d2SAndroid Build Coastguard Worker
30*5e7646d2SAndroid Build Coastguard Worker	<dt>number</dt>
31*5e7646d2SAndroid Build Coastguard Worker
32*5e7646d2SAndroid Build Coastguard Worker	<dd>Evaluates to the specified integer; the number can be preceded by
33*5e7646d2SAndroid Build Coastguard Worker	a leading sign (+/-) followed by a decimal number (1234), octal number
34*5e7646d2SAndroid Build Coastguard Worker	(01234), or hexadecimal number (0x1234) using the same rules as C and
35*5e7646d2SAndroid Build Coastguard Worker	C++.</dd>
36*5e7646d2SAndroid Build Coastguard Worker
37*5e7646d2SAndroid Build Coastguard Worker	<dt>(NAME NAME ... number number ...)</dt>
38*5e7646d2SAndroid Build Coastguard Worker	<dd>Evaluates to the bitwise OR of each named #define constant or
39*5e7646d2SAndroid Build Coastguard Worker	number.</dd>
40*5e7646d2SAndroid Build Coastguard Worker
41*5e7646d2SAndroid Build Coastguard Worker	<dt>(NAME == OTHERNAME)</dt>
42*5e7646d2SAndroid Build Coastguard Worker	<dt>(NAME == number)</dt>
43*5e7646d2SAndroid Build Coastguard Worker	<dd>Evaluates to 1 if NAME is equal to the other named constant or
44*5e7646d2SAndroid Build Coastguard Worker	number, otherwise 0.</dd>
45*5e7646d2SAndroid Build Coastguard Worker
46*5e7646d2SAndroid Build Coastguard Worker	<dt>(NAME != OTHERNAME)</dt>
47*5e7646d2SAndroid Build Coastguard Worker	<dt>(NAME != number)</dt>
48*5e7646d2SAndroid Build Coastguard Worker	<dd>Evaluates to 1 if NAME is not equal to the other named constant or
49*5e7646d2SAndroid Build Coastguard Worker	number, otherwise 0.</dd>
50*5e7646d2SAndroid Build Coastguard Worker
51*5e7646d2SAndroid Build Coastguard Worker	<dt>(NAME &lt; OTHERNAME)</dt>
52*5e7646d2SAndroid Build Coastguard Worker	<dt>(NAME &lt; number)</dt>
53*5e7646d2SAndroid Build Coastguard Worker	<dd>Evaluates to 1 if NAME is less than to the other named constant or
54*5e7646d2SAndroid Build Coastguard Worker	number, otherwise 0.</dd>
55*5e7646d2SAndroid Build Coastguard Worker
56*5e7646d2SAndroid Build Coastguard Worker	<dt>(NAME &lt;= OTHERNAME)</dt>
57*5e7646d2SAndroid Build Coastguard Worker	<dt>(NAME &lt;= number)</dt>
58*5e7646d2SAndroid Build Coastguard Worker	<dd>Evaluates to 1 if NAME is less than or equal to the other named
59*5e7646d2SAndroid Build Coastguard Worker	constant or number, otherwise 0.</dd>
60*5e7646d2SAndroid Build Coastguard Worker
61*5e7646d2SAndroid Build Coastguard Worker	<dt>(NAME &gt; OTHERNAME)</dt>
62*5e7646d2SAndroid Build Coastguard Worker	<dt>(NAME &gt; number)</dt>
63*5e7646d2SAndroid Build Coastguard Worker	<dd>Evaluates to 1 if NAME is greater than to the other named constant
64*5e7646d2SAndroid Build Coastguard Worker	or number, otherwise 0.</dd>
65*5e7646d2SAndroid Build Coastguard Worker
66*5e7646d2SAndroid Build Coastguard Worker	<dt>(NAME &gt;= OTHERNAME)</dt>
67*5e7646d2SAndroid Build Coastguard Worker	<dt>(NAME &gt;= number)</dt>
68*5e7646d2SAndroid Build Coastguard Worker	<dd>Evaluates to 1 if NAME is greater than or equal to the other named
69*5e7646d2SAndroid Build Coastguard Worker	constant or number, otherwise 0.</dd>
70*5e7646d2SAndroid Build Coastguard Worker
71*5e7646d2SAndroid Build Coastguard Worker</dl>
72*5e7646d2SAndroid Build Coastguard Worker
73*5e7646d2SAndroid Build Coastguard Worker<p>Printer driver information can be grouped and shared using
74*5e7646d2SAndroid Build Coastguard Workercurly braces ({ ... }); PPD files are written when a close
75*5e7646d2SAndroid Build Coastguard Workerbrace or end-of-file is seen and a <a href="#PCFileName">PCFileName</a>
76*5e7646d2SAndroid Build Coastguard Workerdirective has been defined.</p>
77*5e7646d2SAndroid Build Coastguard Worker
78*5e7646d2SAndroid Build Coastguard Worker
79*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><a name='_define'>#define</a></h2>
80*5e7646d2SAndroid Build Coastguard Worker
81*5e7646d2SAndroid Build Coastguard Worker<h3>Syntax</h3>
82*5e7646d2SAndroid Build Coastguard Worker
83*5e7646d2SAndroid Build Coastguard Worker<pre>
84*5e7646d2SAndroid Build Coastguard Worker#define <i>name expression</i>
85*5e7646d2SAndroid Build Coastguard Worker</pre>
86*5e7646d2SAndroid Build Coastguard Worker
87*5e7646d2SAndroid Build Coastguard Worker<h3>Examples</h3>
88*5e7646d2SAndroid Build Coastguard Worker
89*5e7646d2SAndroid Build Coastguard Worker<pre>
90*5e7646d2SAndroid Build Coastguard Worker#define FOO 100
91*5e7646d2SAndroid Build Coastguard Worker#define BAR "Bar, Inc."
92*5e7646d2SAndroid Build Coastguard Worker</pre>
93*5e7646d2SAndroid Build Coastguard Worker
94*5e7646d2SAndroid Build Coastguard Worker<h3>Description</h3>
95*5e7646d2SAndroid Build Coastguard Worker
96*5e7646d2SAndroid Build Coastguard Worker<p>The <code>#define</code> directive assigns a value to a name
97*5e7646d2SAndroid Build Coastguard Workerwhich can be later referenced using <code>$name</code>. The name is
98*5e7646d2SAndroid Build Coastguard Workercase-insensitive and can be any sequence of letters, numbers,
99*5e7646d2SAndroid Build Coastguard Workerand the underscore. The value can be any valid expression.</p>
100*5e7646d2SAndroid Build Coastguard Worker
101*5e7646d2SAndroid Build Coastguard Worker<h3>Predefined Names</h3>
102*5e7646d2SAndroid Build Coastguard Worker
103*5e7646d2SAndroid Build Coastguard Worker<p>The following <code>#define</code> names are set by the PPD compiler:</p>
104*5e7646d2SAndroid Build Coastguard Worker
105*5e7646d2SAndroid Build Coastguard Worker<ul>
106*5e7646d2SAndroid Build Coastguard Worker
107*5e7646d2SAndroid Build Coastguard Worker	<li><code>CUPS_VERSION</code> - The full CUPS version string, e.g.
108*5e7646d2SAndroid Build Coastguard Worker	"1.4.0"</li>
109*5e7646d2SAndroid Build Coastguard Worker
110*5e7646d2SAndroid Build Coastguard Worker	<li><code>CUPS_VERSION_MAJOR</code> - The major version number, e.g.
111*5e7646d2SAndroid Build Coastguard Worker	"1"</li>
112*5e7646d2SAndroid Build Coastguard Worker
113*5e7646d2SAndroid Build Coastguard Worker	<li><code>CUPS_VERSION_MINOR</code> - The minor version number, e.g.
114*5e7646d2SAndroid Build Coastguard Worker	"4"</li>
115*5e7646d2SAndroid Build Coastguard Worker
116*5e7646d2SAndroid Build Coastguard Worker	<li><code>CUPS_VERSION_PATCH</code> - The patch version number, e.g.
117*5e7646d2SAndroid Build Coastguard Worker	"0"</li>
118*5e7646d2SAndroid Build Coastguard Worker
119*5e7646d2SAndroid Build Coastguard Worker	<li><code>PLATFORM_NAME</code> - The operating system name used by the
120*5e7646d2SAndroid Build Coastguard Worker	current system as reported by "uname" ("Windows" on Microsoft
121*5e7646d2SAndroid Build Coastguard Worker	Windows)</li>
122*5e7646d2SAndroid Build Coastguard Worker
123*5e7646d2SAndroid Build Coastguard Worker	<li><code>PLATFORM_ARCH</code> - The processor architecture used by the
124*5e7646d2SAndroid Build Coastguard Worker	current system as reported by "uname -m" ("X86" or "X64" on Microsoft
125*5e7646d2SAndroid Build Coastguard Worker	Windows)</li>
126*5e7646d2SAndroid Build Coastguard Worker
127*5e7646d2SAndroid Build Coastguard Worker</ul>
128*5e7646d2SAndroid Build Coastguard Worker
129*5e7646d2SAndroid Build Coastguard Worker<h3>See Also</h3>
130*5e7646d2SAndroid Build Coastguard Worker
131*5e7646d2SAndroid Build Coastguard Worker<p><a href='#_include'><code>#include</code></a></p>
132*5e7646d2SAndroid Build Coastguard Worker
133*5e7646d2SAndroid Build Coastguard Worker
134*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><a name='_elif'>#elif</a></h2>
135*5e7646d2SAndroid Build Coastguard Worker
136*5e7646d2SAndroid Build Coastguard Worker<h3>Syntax</h3>
137*5e7646d2SAndroid Build Coastguard Worker
138*5e7646d2SAndroid Build Coastguard Worker<pre>
139*5e7646d2SAndroid Build Coastguard Worker#elif <i>expression</i>
140*5e7646d2SAndroid Build Coastguard Worker</pre>
141*5e7646d2SAndroid Build Coastguard Worker
142*5e7646d2SAndroid Build Coastguard Worker<h3>Examples</h3>
143*5e7646d2SAndroid Build Coastguard Worker
144*5e7646d2SAndroid Build Coastguard Worker<pre>
145*5e7646d2SAndroid Build Coastguard Worker#if HAVE_FOO
146*5e7646d2SAndroid Build Coastguard Worker...
147*5e7646d2SAndroid Build Coastguard Worker#elif (HAVE_BAR &gt;= 999)
148*5e7646d2SAndroid Build Coastguard Worker...
149*5e7646d2SAndroid Build Coastguard Worker#else
150*5e7646d2SAndroid Build Coastguard Worker...
151*5e7646d2SAndroid Build Coastguard Worker#endif
152*5e7646d2SAndroid Build Coastguard Worker</pre>
153*5e7646d2SAndroid Build Coastguard Worker
154*5e7646d2SAndroid Build Coastguard Worker<h3>Description</h3>
155*5e7646d2SAndroid Build Coastguard Worker
156*5e7646d2SAndroid Build Coastguard Worker<p>The <code>#elif</code> directive allows portions of a driver information file
157*5e7646d2SAndroid Build Coastguard Workerto be used conditionally. <code>#elif</code> directives must appear after a
158*5e7646d2SAndroid Build Coastguard Workercorresponding <a href="#_if"><code>#if</code></a> directive.</p>
159*5e7646d2SAndroid Build Coastguard Worker
160*5e7646d2SAndroid Build Coastguard Worker<h3>See Also</h3>
161*5e7646d2SAndroid Build Coastguard Worker
162*5e7646d2SAndroid Build Coastguard Worker<p><a href='#_else'><code>#else</code></a>,
163*5e7646d2SAndroid Build Coastguard Worker<a href='#_endif'><code>#endif</code></a>,
164*5e7646d2SAndroid Build Coastguard Worker<a href='#_if'><code>#if</code></a></p>
165*5e7646d2SAndroid Build Coastguard Worker
166*5e7646d2SAndroid Build Coastguard Worker
167*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><a name='_else'>#else</a></h2>
168*5e7646d2SAndroid Build Coastguard Worker
169*5e7646d2SAndroid Build Coastguard Worker<h3>Syntax</h3>
170*5e7646d2SAndroid Build Coastguard Worker
171*5e7646d2SAndroid Build Coastguard Worker<pre>
172*5e7646d2SAndroid Build Coastguard Worker#else
173*5e7646d2SAndroid Build Coastguard Worker</pre>
174*5e7646d2SAndroid Build Coastguard Worker
175*5e7646d2SAndroid Build Coastguard Worker<h3>Examples</h3>
176*5e7646d2SAndroid Build Coastguard Worker
177*5e7646d2SAndroid Build Coastguard Worker<pre>
178*5e7646d2SAndroid Build Coastguard Worker#if HAVE_FOO
179*5e7646d2SAndroid Build Coastguard Worker...
180*5e7646d2SAndroid Build Coastguard Worker#elif (HAVE_BAR &gt;= 999)
181*5e7646d2SAndroid Build Coastguard Worker...
182*5e7646d2SAndroid Build Coastguard Worker#else
183*5e7646d2SAndroid Build Coastguard Worker...
184*5e7646d2SAndroid Build Coastguard Worker#endif
185*5e7646d2SAndroid Build Coastguard Worker</pre>
186*5e7646d2SAndroid Build Coastguard Worker
187*5e7646d2SAndroid Build Coastguard Worker<h3>Description</h3>
188*5e7646d2SAndroid Build Coastguard Worker
189*5e7646d2SAndroid Build Coastguard Worker<p>The <code>#else</code> directive allows portions of a driver information file
190*5e7646d2SAndroid Build Coastguard Workerto be used conditionally when the corresponding
191*5e7646d2SAndroid Build Coastguard Worker<a href="#_if"><code>#if</code></a> and <a href="#_elif"><code>#elif</code></a>
192*5e7646d2SAndroid Build Coastguard Workerexpressions are non-zero.</p>
193*5e7646d2SAndroid Build Coastguard Worker
194*5e7646d2SAndroid Build Coastguard Worker<h3>See Also</h3>
195*5e7646d2SAndroid Build Coastguard Worker
196*5e7646d2SAndroid Build Coastguard Worker<p><a href='#_elif'><code>#elif</code></a>,
197*5e7646d2SAndroid Build Coastguard Worker<a href='#_endif'><code>#endif</code></a>,
198*5e7646d2SAndroid Build Coastguard Worker<a href='#_if'><code>#if</code></a></p>
199*5e7646d2SAndroid Build Coastguard Worker
200*5e7646d2SAndroid Build Coastguard Worker
201*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><a name='_endif'>#endif</a></h2>
202*5e7646d2SAndroid Build Coastguard Worker
203*5e7646d2SAndroid Build Coastguard Worker<h3>Syntax</h3>
204*5e7646d2SAndroid Build Coastguard Worker
205*5e7646d2SAndroid Build Coastguard Worker<pre>
206*5e7646d2SAndroid Build Coastguard Worker#endif
207*5e7646d2SAndroid Build Coastguard Worker</pre>
208*5e7646d2SAndroid Build Coastguard Worker
209*5e7646d2SAndroid Build Coastguard Worker<h3>Examples</h3>
210*5e7646d2SAndroid Build Coastguard Worker
211*5e7646d2SAndroid Build Coastguard Worker<pre>
212*5e7646d2SAndroid Build Coastguard Worker#if HAVE_FOO
213*5e7646d2SAndroid Build Coastguard Worker...
214*5e7646d2SAndroid Build Coastguard Worker#elif (HAVE_BAR &gt;= 999)
215*5e7646d2SAndroid Build Coastguard Worker...
216*5e7646d2SAndroid Build Coastguard Worker#else
217*5e7646d2SAndroid Build Coastguard Worker...
218*5e7646d2SAndroid Build Coastguard Worker#endif
219*5e7646d2SAndroid Build Coastguard Worker</pre>
220*5e7646d2SAndroid Build Coastguard Worker
221*5e7646d2SAndroid Build Coastguard Worker<h3>Description</h3>
222*5e7646d2SAndroid Build Coastguard Worker
223*5e7646d2SAndroid Build Coastguard Worker<p>The <code>#endif</code> directive ends a conditional block of a driver
224*5e7646d2SAndroid Build Coastguard Workerinformation file. It must appear after all of the
225*5e7646d2SAndroid Build Coastguard Worker<a href="#_if"><code>#if</code></a>, <a href="#_elif"><code>#elif</code></a>,
226*5e7646d2SAndroid Build Coastguard Workerand <a href="#_else"><code>#else</code></a> directives for the current
227*5e7646d2SAndroid Build Coastguard Workerconditional block.</p>
228*5e7646d2SAndroid Build Coastguard Worker
229*5e7646d2SAndroid Build Coastguard Worker<h3>See Also</h3>
230*5e7646d2SAndroid Build Coastguard Worker
231*5e7646d2SAndroid Build Coastguard Worker<p><a href='#_elif'><code>#elif</code></a>,
232*5e7646d2SAndroid Build Coastguard Worker<a href='#_else'><code>#else</code></a>,
233*5e7646d2SAndroid Build Coastguard Worker<a href='#_if'><code>#if</code></a></p>
234*5e7646d2SAndroid Build Coastguard Worker
235*5e7646d2SAndroid Build Coastguard Worker
236*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><a name='_font'>#font</a></h2>
237*5e7646d2SAndroid Build Coastguard Worker
238*5e7646d2SAndroid Build Coastguard Worker<h3>Syntax</h3>
239*5e7646d2SAndroid Build Coastguard Worker
240*5e7646d2SAndroid Build Coastguard Worker<pre>
241*5e7646d2SAndroid Build Coastguard Worker#font <i>name encoding "version" charset status</i>
242*5e7646d2SAndroid Build Coastguard Worker</pre>
243*5e7646d2SAndroid Build Coastguard Worker
244*5e7646d2SAndroid Build Coastguard Worker<h3>Examples</h3>
245*5e7646d2SAndroid Build Coastguard Worker
246*5e7646d2SAndroid Build Coastguard Worker<pre>
247*5e7646d2SAndroid Build Coastguard Worker#font Courier Standard "(1.05)" Standard ROM
248*5e7646d2SAndroid Build Coastguard Worker#font Symbol Special "(001.005)" Special ROM
249*5e7646d2SAndroid Build Coastguard Worker#font Barcode-Foo Special "(1.0)" Special Disk
250*5e7646d2SAndroid Build Coastguard Worker#font Unicode-Foo Expert "(2.0)" Adobe-Identity ROM
251*5e7646d2SAndroid Build Coastguard Worker</pre>
252*5e7646d2SAndroid Build Coastguard Worker
253*5e7646d2SAndroid Build Coastguard Worker<h3>Description</h3>
254*5e7646d2SAndroid Build Coastguard Worker
255*5e7646d2SAndroid Build Coastguard Worker<p>The <code>#font</code> directive defines a "base font" for all
256*5e7646d2SAndroid Build Coastguard Workerprinter drivers. The name is the PostScript font name.</p>
257*5e7646d2SAndroid Build Coastguard Worker
258*5e7646d2SAndroid Build Coastguard Worker<p>The encoding is the default encoding of the font, usually
259*5e7646d2SAndroid Build Coastguard Worker<code>Standard</code>, <code>Expert</code>, or <code>Special</code>, as
260*5e7646d2SAndroid Build Coastguard Workerdefined in the Adobe PPD file specification.</p>
261*5e7646d2SAndroid Build Coastguard Worker
262*5e7646d2SAndroid Build Coastguard Worker<p>The version is the PostScript string definition that
263*5e7646d2SAndroid Build Coastguard Workercorresponds to the font version number.</p>
264*5e7646d2SAndroid Build Coastguard Worker
265*5e7646d2SAndroid Build Coastguard Worker<p>The charset defines the available characters in the font,
266*5e7646d2SAndroid Build Coastguard Workerusually <code>Standard</code> or <code>Special</code>, as defined in the
267*5e7646d2SAndroid Build Coastguard WorkerAdobe PPD file specification.</p>
268*5e7646d2SAndroid Build Coastguard Worker
269*5e7646d2SAndroid Build Coastguard Worker<p>The status is the installation status of the font and must be
270*5e7646d2SAndroid Build Coastguard Workereither the word <code>ROM</code> or <code>Disk</code>.
271*5e7646d2SAndroid Build Coastguard Worker
272*5e7646d2SAndroid Build Coastguard Worker<p>Base fonts differ from fonts defined using the <a
273*5e7646d2SAndroid Build Coastguard Workerhref='#Font'><code>Font</code></a> directive in that they are not
274*5e7646d2SAndroid Build Coastguard Workerautomatically associated with all drivers - you must use the
275*5e7646d2SAndroid Build Coastguard Workerspecial <code>Font *</code> directive to include them in a
276*5e7646d2SAndroid Build Coastguard Workerdriver.</p>
277*5e7646d2SAndroid Build Coastguard Worker
278*5e7646d2SAndroid Build Coastguard Worker<p>Currently the <code>#font</code> directive is used mainly for
279*5e7646d2SAndroid Build Coastguard Workerdefining the standard raster fonts in the
280*5e7646d2SAndroid Build Coastguard Worker<code>&lt;font.defs&gt;</code> include file.</p>
281*5e7646d2SAndroid Build Coastguard Worker
282*5e7646d2SAndroid Build Coastguard Worker<h3>See Also</h3>
283*5e7646d2SAndroid Build Coastguard Worker
284*5e7646d2SAndroid Build Coastguard Worker<p><a href='#_include'><code>#include</code></a>,
285*5e7646d2SAndroid Build Coastguard Worker<a href='#Font'><code>Font</code></a></p>
286*5e7646d2SAndroid Build Coastguard Worker
287*5e7646d2SAndroid Build Coastguard Worker
288*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><a name='_if'>#if</a></h2>
289*5e7646d2SAndroid Build Coastguard Worker
290*5e7646d2SAndroid Build Coastguard Worker<h3>Syntax</h3>
291*5e7646d2SAndroid Build Coastguard Worker
292*5e7646d2SAndroid Build Coastguard Worker<pre>
293*5e7646d2SAndroid Build Coastguard Worker#if <i>name or expression</i>
294*5e7646d2SAndroid Build Coastguard Worker</pre>
295*5e7646d2SAndroid Build Coastguard Worker
296*5e7646d2SAndroid Build Coastguard Worker<h3>Examples</h3>
297*5e7646d2SAndroid Build Coastguard Worker
298*5e7646d2SAndroid Build Coastguard Worker<pre>
299*5e7646d2SAndroid Build Coastguard Worker#if HAVE_FOO
300*5e7646d2SAndroid Build Coastguard Worker...
301*5e7646d2SAndroid Build Coastguard Worker#elif (HAVE_BAR &gt;= 999)
302*5e7646d2SAndroid Build Coastguard Worker...
303*5e7646d2SAndroid Build Coastguard Worker#else
304*5e7646d2SAndroid Build Coastguard Worker...
305*5e7646d2SAndroid Build Coastguard Worker#endif
306*5e7646d2SAndroid Build Coastguard Worker</pre>
307*5e7646d2SAndroid Build Coastguard Worker
308*5e7646d2SAndroid Build Coastguard Worker<h3>Description</h3>
309*5e7646d2SAndroid Build Coastguard Worker
310*5e7646d2SAndroid Build Coastguard Worker<p>The <code>#if</code> directive allows portions of a driver information file
311*5e7646d2SAndroid Build Coastguard Workerto be used conditionally. When followed by a name, the data that follows is
312*5e7646d2SAndroid Build Coastguard Workerused only when the name is defined, otherwise the data is ignored.
313*5e7646d2SAndroid Build Coastguard Worker<code>#if</code> directives can be nested up to 100 times.</p>
314*5e7646d2SAndroid Build Coastguard Worker
315*5e7646d2SAndroid Build Coastguard Worker<h3>See Also</h3>
316*5e7646d2SAndroid Build Coastguard Worker
317*5e7646d2SAndroid Build Coastguard Worker<p><a href='#_elif'><code>#elif</code></a>,
318*5e7646d2SAndroid Build Coastguard Worker<a href='#_else'><code>#else</code></a>,
319*5e7646d2SAndroid Build Coastguard Worker<a href='#_endif'><code>#endif</code></a></p>
320*5e7646d2SAndroid Build Coastguard Worker
321*5e7646d2SAndroid Build Coastguard Worker
322*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><a name='_include'>#include</a></h2>
323*5e7646d2SAndroid Build Coastguard Worker
324*5e7646d2SAndroid Build Coastguard Worker<h3>Syntax</h3>
325*5e7646d2SAndroid Build Coastguard Worker
326*5e7646d2SAndroid Build Coastguard Worker<pre>
327*5e7646d2SAndroid Build Coastguard Worker#include &lt;<i>filename</i>&gt;
328*5e7646d2SAndroid Build Coastguard Worker#include "<i>filename</i>"
329*5e7646d2SAndroid Build Coastguard Worker</pre>
330*5e7646d2SAndroid Build Coastguard Worker
331*5e7646d2SAndroid Build Coastguard Worker<h3>Examples</h3>
332*5e7646d2SAndroid Build Coastguard Worker
333*5e7646d2SAndroid Build Coastguard Worker<pre>
334*5e7646d2SAndroid Build Coastguard Worker#include &lt;font.defs&gt;
335*5e7646d2SAndroid Build Coastguard Worker#include "myfile.h"
336*5e7646d2SAndroid Build Coastguard Worker</pre>
337*5e7646d2SAndroid Build Coastguard Worker
338*5e7646d2SAndroid Build Coastguard Worker<h3>Description</h3>
339*5e7646d2SAndroid Build Coastguard Worker
340*5e7646d2SAndroid Build Coastguard Worker<p>The <code>#include</code> directive reads the named driver
341*5e7646d2SAndroid Build Coastguard Workerinformation file. If the filename is included inside angle
342*5e7646d2SAndroid Build Coastguard Workerbrackets (<code>&lt;filename&gt;</code>), then the PPD compiler will
343*5e7646d2SAndroid Build Coastguard Workerlook for the file in all of the include directories it knows
344*5e7646d2SAndroid Build Coastguard Workerabout. Otherwise, the file is opened in the current directory
345*5e7646d2SAndroid Build Coastguard Workerrelative to the current driver information file, and if that
346*5e7646d2SAndroid Build Coastguard Workerfails then it looks in the include directories for the file.</p>
347*5e7646d2SAndroid Build Coastguard Worker
348*5e7646d2SAndroid Build Coastguard Worker<p>The <code>#include</code> directive can be nested to as many
349*5e7646d2SAndroid Build Coastguard Workerfiles as are allowed by the host operating system, typically at
350*5e7646d2SAndroid Build Coastguard Workerleast 100 files.</p>
351*5e7646d2SAndroid Build Coastguard Worker
352*5e7646d2SAndroid Build Coastguard Worker<h3>See Also</h3>
353*5e7646d2SAndroid Build Coastguard Worker
354*5e7646d2SAndroid Build Coastguard Worker<p><a href='#_define'><code>#define</code></a>,
355*5e7646d2SAndroid Build Coastguard Worker<a href='#_font'><code>#font</code></a>,
356*5e7646d2SAndroid Build Coastguard Worker<a href='#_media'><code>#media</code></a></p>
357*5e7646d2SAndroid Build Coastguard Worker
358*5e7646d2SAndroid Build Coastguard Worker
359*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><a name='_media'>#media</a></h2>
360*5e7646d2SAndroid Build Coastguard Worker
361*5e7646d2SAndroid Build Coastguard Worker<h3>Syntax</h3>
362*5e7646d2SAndroid Build Coastguard Worker
363*5e7646d2SAndroid Build Coastguard Worker<pre>
364*5e7646d2SAndroid Build Coastguard Worker#media <i>name width length</i>
365*5e7646d2SAndroid Build Coastguard Worker#media <i>"name/text" width length</i>
366*5e7646d2SAndroid Build Coastguard Worker</pre>
367*5e7646d2SAndroid Build Coastguard Worker
368*5e7646d2SAndroid Build Coastguard Worker<h3>Examples</h3>
369*5e7646d2SAndroid Build Coastguard Worker
370*5e7646d2SAndroid Build Coastguard Worker<pre>
371*5e7646d2SAndroid Build Coastguard Worker#media "Letter/Letter - 8.5x11in" 8.5in 11in
372*5e7646d2SAndroid Build Coastguard Worker#media "A4/A4 - 210x297mm" 210mm 297mm
373*5e7646d2SAndroid Build Coastguard Worker#media "w936h1368/Super B/A3 - 13x19in" 936 1368
374*5e7646d2SAndroid Build Coastguard Worker#media Photo 4in 6in
375*5e7646d2SAndroid Build Coastguard Worker</pre>
376*5e7646d2SAndroid Build Coastguard Worker
377*5e7646d2SAndroid Build Coastguard Worker<h3>Description</h3>
378*5e7646d2SAndroid Build Coastguard Worker
379*5e7646d2SAndroid Build Coastguard Worker<p>The <code>#media</code> directive defines a named media size for
380*5e7646d2SAndroid Build Coastguard Workerinclusion in a driver. The name with optional user text defines
381*5e7646d2SAndroid Build Coastguard Workerthe name for the media size and is used with the <a
382*5e7646d2SAndroid Build Coastguard Workerhref='#MediaSize'><code>MediaSize</code></a> directive to associate
383*5e7646d2SAndroid Build Coastguard Workerthe media size with the driver. The name may contain up to 40 ASCII
384*5e7646d2SAndroid Build Coastguard Workercharacters within the range of decimal 33 to decimal 126 inclusive,
385*5e7646d2SAndroid Build Coastguard Workerexcept for the characters comma (44), slash (47) and colon (58).
386*5e7646d2SAndroid Build Coastguard WorkerThe user text, if supplied, may not exceed 80 bytes in length.</p>
387*5e7646d2SAndroid Build Coastguard Worker
388*5e7646d2SAndroid Build Coastguard Worker<p>The width and length define the dimensions of the media. Each
389*5e7646d2SAndroid Build Coastguard Workernumber is optionally followed by one of the following unit
390*5e7646d2SAndroid Build Coastguard Workersuffixes:</p>
391*5e7646d2SAndroid Build Coastguard Worker
392*5e7646d2SAndroid Build Coastguard Worker<ul>
393*5e7646d2SAndroid Build Coastguard Worker
394*5e7646d2SAndroid Build Coastguard Worker	<li><code>cm</code> - centimeters</li>
395*5e7646d2SAndroid Build Coastguard Worker
396*5e7646d2SAndroid Build Coastguard Worker	<li><code>ft</code> - feet</li>
397*5e7646d2SAndroid Build Coastguard Worker
398*5e7646d2SAndroid Build Coastguard Worker	<li><code>in</code> - inches</li>
399*5e7646d2SAndroid Build Coastguard Worker
400*5e7646d2SAndroid Build Coastguard Worker	<li><code>m</code> - meters</li>
401*5e7646d2SAndroid Build Coastguard Worker
402*5e7646d2SAndroid Build Coastguard Worker	<li><code>mm</code> - millimeters</li>
403*5e7646d2SAndroid Build Coastguard Worker
404*5e7646d2SAndroid Build Coastguard Worker	<li><code>pt</code> - points (72 points = 1 inch)</li>
405*5e7646d2SAndroid Build Coastguard Worker
406*5e7646d2SAndroid Build Coastguard Worker</ul>
407*5e7646d2SAndroid Build Coastguard Worker
408*5e7646d2SAndroid Build Coastguard Worker<p>Points are assumed if no units are specified.
409*5e7646d2SAndroid Build Coastguard Worker
410*5e7646d2SAndroid Build Coastguard Worker<h3>See Also</h3>
411*5e7646d2SAndroid Build Coastguard Worker
412*5e7646d2SAndroid Build Coastguard Worker<p><a href='#_include'><code>#include</code></a>,
413*5e7646d2SAndroid Build Coastguard Worker<a href='#CustomMedia'><code>CustomMedia</code></a>,
414*5e7646d2SAndroid Build Coastguard Worker<a href='#MediaSize'><code>MediaSize</code></a></p>
415*5e7646d2SAndroid Build Coastguard Worker
416*5e7646d2SAndroid Build Coastguard Worker
417*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><a name='_po'>#po</a></h2>
418*5e7646d2SAndroid Build Coastguard Worker
419*5e7646d2SAndroid Build Coastguard Worker<h3>Syntax</h3>
420*5e7646d2SAndroid Build Coastguard Worker
421*5e7646d2SAndroid Build Coastguard Worker<pre>
422*5e7646d2SAndroid Build Coastguard Worker#po <i>locale filename</i>
423*5e7646d2SAndroid Build Coastguard Worker</pre>
424*5e7646d2SAndroid Build Coastguard Worker
425*5e7646d2SAndroid Build Coastguard Worker<h3>Examples</h3>
426*5e7646d2SAndroid Build Coastguard Worker
427*5e7646d2SAndroid Build Coastguard Worker<pre>
428*5e7646d2SAndroid Build Coastguard Worker#po es "es.po"
429*5e7646d2SAndroid Build Coastguard Worker#po fr_CA "mydriver-fr_CA.po"
430*5e7646d2SAndroid Build Coastguard Worker</pre>
431*5e7646d2SAndroid Build Coastguard Worker
432*5e7646d2SAndroid Build Coastguard Worker<h3>Description</h3>
433*5e7646d2SAndroid Build Coastguard Worker
434*5e7646d2SAndroid Build Coastguard Worker<p>The <code>#po</code> directive defines a message catalog to use for the
435*5e7646d2SAndroid Build Coastguard Workergiven POSIX language abbreviation. Multiple <code>#po</code> directives can be
436*5e7646d2SAndroid Build Coastguard Workerspecified to list multiple catalogs. The filename can be an absolute path or
437*5e7646d2SAndroid Build Coastguard Workerrelative to the driver information file. GNU gettext and macOS .strings
438*5e7646d2SAndroid Build Coastguard Workerfiles are supported.</p>
439*5e7646d2SAndroid Build Coastguard Worker
440*5e7646d2SAndroid Build Coastguard Worker
441*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><a name='Attribute'>Attribute</a></h2>
442*5e7646d2SAndroid Build Coastguard Worker
443*5e7646d2SAndroid Build Coastguard Worker<h3>Syntax</h3>
444*5e7646d2SAndroid Build Coastguard Worker
445*5e7646d2SAndroid Build Coastguard Worker<pre>
446*5e7646d2SAndroid Build Coastguard WorkerAttribute <i>name "" value</i>
447*5e7646d2SAndroid Build Coastguard WorkerAttribute <i>name keyword value</i>
448*5e7646d2SAndroid Build Coastguard WorkerAttribute <i>name "keyword/text" value</i>
449*5e7646d2SAndroid Build Coastguard Worker</pre>
450*5e7646d2SAndroid Build Coastguard Worker
451*5e7646d2SAndroid Build Coastguard Worker<h3>Examples</h3>
452*5e7646d2SAndroid Build Coastguard Worker
453*5e7646d2SAndroid Build Coastguard Worker<pre>
454*5e7646d2SAndroid Build Coastguard WorkerAttribute cupsInkChannels "" 1
455*5e7646d2SAndroid Build Coastguard WorkerAttribute cupsAllDither 600dpi "1.0"
456*5e7646d2SAndroid Build Coastguard WorkerAttribute fooProfile "Photo/Photographic Profile" "photopro.icc"
457*5e7646d2SAndroid Build Coastguard Worker</pre>
458*5e7646d2SAndroid Build Coastguard Worker
459*5e7646d2SAndroid Build Coastguard Worker<h3>Description</h3>
460*5e7646d2SAndroid Build Coastguard Worker
461*5e7646d2SAndroid Build Coastguard Worker<p>The <code>Attribute</code> directive creates a PPD attribute. The
462*5e7646d2SAndroid Build Coastguard Workername may contain up to 40 ASCII characters within the range of decimal
463*5e7646d2SAndroid Build Coastguard Worker33 to decimal 126 inclusive, except for the characters comma (44),
464*5e7646d2SAndroid Build Coastguard Workerslash (47) and colon (58).</p>
465*5e7646d2SAndroid Build Coastguard Worker
466*5e7646d2SAndroid Build Coastguard Worker<p>The selector can be the empty string (<code>""</code>) or text of up
467*5e7646d2SAndroid Build Coastguard Workerto 80 bytes.</p>
468*5e7646d2SAndroid Build Coastguard Worker
469*5e7646d2SAndroid Build Coastguard Worker<p>The value is any string or number; the string may contain multiple
470*5e7646d2SAndroid Build Coastguard Workerlines, however no one line may exceed 255 bytes.</p>
471*5e7646d2SAndroid Build Coastguard Worker
472*5e7646d2SAndroid Build Coastguard Worker<h3>See Also</h3>
473*5e7646d2SAndroid Build Coastguard Worker
474*5e7646d2SAndroid Build Coastguard Worker<p><a href="#LocAttribute"><code>LocAttribute</code></a></p>
475*5e7646d2SAndroid Build Coastguard Worker
476*5e7646d2SAndroid Build Coastguard Worker
477*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><a name='Choice'>Choice</a></h2>
478*5e7646d2SAndroid Build Coastguard Worker
479*5e7646d2SAndroid Build Coastguard Worker<h3>Syntax</h3>
480*5e7646d2SAndroid Build Coastguard Worker
481*5e7646d2SAndroid Build Coastguard Worker<pre>
482*5e7646d2SAndroid Build Coastguard WorkerChoice <i>name "code"</i>
483*5e7646d2SAndroid Build Coastguard WorkerChoice <i>"name/text" "code"</i>
484*5e7646d2SAndroid Build Coastguard Worker</pre>
485*5e7646d2SAndroid Build Coastguard Worker
486*5e7646d2SAndroid Build Coastguard Worker<h3>Examples</h3>
487*5e7646d2SAndroid Build Coastguard Worker
488*5e7646d2SAndroid Build Coastguard Worker<pre>
489*5e7646d2SAndroid Build Coastguard WorkerChoice None "&lt;&lt;/MediaType (None)&gt;&gt;setpagedevice"
490*5e7646d2SAndroid Build Coastguard WorkerChoice "False/No" "&lt;&lt;/cupsCompression 0&gt;&gt;setpagedevice"
491*5e7646d2SAndroid Build Coastguard Worker</pre>
492*5e7646d2SAndroid Build Coastguard Worker
493*5e7646d2SAndroid Build Coastguard Worker<h3>Description</h3>
494*5e7646d2SAndroid Build Coastguard Worker
495*5e7646d2SAndroid Build Coastguard Worker<p>The <code>Choice</code> directive adds a single choice to the
496*5e7646d2SAndroid Build Coastguard Workercurrent option. The name may contain up to 40 ASCII characters within
497*5e7646d2SAndroid Build Coastguard Workerthe range of decimal 33 to decimal 126 inclusive, except for the
498*5e7646d2SAndroid Build Coastguard Workercharacters comma (44), slash (47) and colon (58).</p>
499*5e7646d2SAndroid Build Coastguard Worker
500*5e7646d2SAndroid Build Coastguard Worker<p>If provided, the text can be any string up to 80 bytes
501*5e7646d2SAndroid Build Coastguard Workerin length. If no text is provided, the name is used.</p>
502*5e7646d2SAndroid Build Coastguard Worker
503*5e7646d2SAndroid Build Coastguard Worker<p>The code is any string and may contain multiple lines,
504*5e7646d2SAndroid Build Coastguard Workerhowever no one line may exceed 255 bytes.</p>
505*5e7646d2SAndroid Build Coastguard Worker
506*5e7646d2SAndroid Build Coastguard Worker<h3>See Also</h3>
507*5e7646d2SAndroid Build Coastguard Worker
508*5e7646d2SAndroid Build Coastguard Worker<p><a href='#ColorModel'><code>ColorModel</code></a>,
509*5e7646d2SAndroid Build Coastguard Worker<a href='#Cutter'><code>Cutter</code></a>,
510*5e7646d2SAndroid Build Coastguard Worker<a href='#Darkness'><code>Darkness</code></a>,
511*5e7646d2SAndroid Build Coastguard Worker<a href='#Duplex'><code>Duplex</code></a>,
512*5e7646d2SAndroid Build Coastguard Worker<a href='#Finishing'><code>Finishing</code></a>,
513*5e7646d2SAndroid Build Coastguard Worker<a href='#Group'><code>Group</code></a>,
514*5e7646d2SAndroid Build Coastguard Worker<a href='#InputSlot'><code>InputSlot</code></a>,
515*5e7646d2SAndroid Build Coastguard Worker<a href='#Installable'><code>Installable</code></a>,
516*5e7646d2SAndroid Build Coastguard Worker<a href='#MediaType'><code>MediaType</code></a>,
517*5e7646d2SAndroid Build Coastguard Worker<a href='#Option'><code>Option</code></a>,
518*5e7646d2SAndroid Build Coastguard Worker<a href='#Resolution'><code>Resolution</code></a>,
519*5e7646d2SAndroid Build Coastguard Worker<a href='#UIConstraints'><code>UIConstraints</code></a></p>
520*5e7646d2SAndroid Build Coastguard Worker
521*5e7646d2SAndroid Build Coastguard Worker
522*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><a name='ColorDevice'>ColorDevice</a></h2>
523*5e7646d2SAndroid Build Coastguard Worker
524*5e7646d2SAndroid Build Coastguard Worker<h3>Syntax</h3>
525*5e7646d2SAndroid Build Coastguard Worker
526*5e7646d2SAndroid Build Coastguard Worker<pre>
527*5e7646d2SAndroid Build Coastguard WorkerColorDevice <i>boolean-value</i>
528*5e7646d2SAndroid Build Coastguard Worker</pre>
529*5e7646d2SAndroid Build Coastguard Worker
530*5e7646d2SAndroid Build Coastguard Worker<h3>Examples</h3>
531*5e7646d2SAndroid Build Coastguard Worker
532*5e7646d2SAndroid Build Coastguard Worker<pre>
533*5e7646d2SAndroid Build Coastguard WorkerColorDevice no
534*5e7646d2SAndroid Build Coastguard WorkerColorDevice yes
535*5e7646d2SAndroid Build Coastguard Worker</pre>
536*5e7646d2SAndroid Build Coastguard Worker
537*5e7646d2SAndroid Build Coastguard Worker<h3>Description</h3>
538*5e7646d2SAndroid Build Coastguard Worker
539*5e7646d2SAndroid Build Coastguard Worker<p>The <code>ColorDevice</code> directive tells the application if
540*5e7646d2SAndroid Build Coastguard Workerthe printer supports color. It is typically used in conjunction
541*5e7646d2SAndroid Build Coastguard Workerwith the <a href='#ColorModel'><code>ColorModel</code></a> directive
542*5e7646d2SAndroid Build Coastguard Workerto provide color printing support.</p>
543*5e7646d2SAndroid Build Coastguard Worker
544*5e7646d2SAndroid Build Coastguard Worker<h3>See Also</h3>
545*5e7646d2SAndroid Build Coastguard Worker
546*5e7646d2SAndroid Build Coastguard Worker<p><a href='#ColorModel'><code>ColorModel</code></a></p>
547*5e7646d2SAndroid Build Coastguard Worker
548*5e7646d2SAndroid Build Coastguard Worker
549*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><span class="info">Deprecated</span><a name='ColorModel'>ColorModel</a></h2>
550*5e7646d2SAndroid Build Coastguard Worker
551*5e7646d2SAndroid Build Coastguard Worker<h3>Syntax</h3>
552*5e7646d2SAndroid Build Coastguard Worker
553*5e7646d2SAndroid Build Coastguard Worker<pre>
554*5e7646d2SAndroid Build Coastguard WorkerColorModel <i>name colorspace colororder compression</i>
555*5e7646d2SAndroid Build Coastguard WorkerColorModel <i>"name/text" colorspace colororder compression</i>
556*5e7646d2SAndroid Build Coastguard Worker</pre>
557*5e7646d2SAndroid Build Coastguard Worker
558*5e7646d2SAndroid Build Coastguard Worker<h3>Examples</h3>
559*5e7646d2SAndroid Build Coastguard Worker
560*5e7646d2SAndroid Build Coastguard Worker<pre>
561*5e7646d2SAndroid Build Coastguard WorkerColorModel Gray/Grayscale w chunky 0
562*5e7646d2SAndroid Build Coastguard WorkerColorModel RGB/Color rgb chunky 0
563*5e7646d2SAndroid Build Coastguard WorkerColorModel CMYK cmyk chunky 0
564*5e7646d2SAndroid Build Coastguard Worker</pre>
565*5e7646d2SAndroid Build Coastguard Worker
566*5e7646d2SAndroid Build Coastguard Worker<h3>Description</h3>
567*5e7646d2SAndroid Build Coastguard Worker
568*5e7646d2SAndroid Build Coastguard Worker<p>The <code>ColorModel</code> directive is a convenience directive
569*5e7646d2SAndroid Build Coastguard Workerwhich creates a ColorModel option and choice for the current
570*5e7646d2SAndroid Build Coastguard Workerprinter driver. The name may contain up to 40 ASCII characters within
571*5e7646d2SAndroid Build Coastguard Workerthe range of decimal 33 to decimal 126 inclusive, except for the
572*5e7646d2SAndroid Build Coastguard Workercharacters comma (44), slash (47) and colon (58).</p>
573*5e7646d2SAndroid Build Coastguard Worker
574*5e7646d2SAndroid Build Coastguard Worker<p>If provided, the text can be any string up to 80 bytes in length.
575*5e7646d2SAndroid Build Coastguard WorkerIf no text is provided, the name is used.</p>
576*5e7646d2SAndroid Build Coastguard Worker
577*5e7646d2SAndroid Build Coastguard Worker<p>The colorspace argument is one of the standard colorspace
578*5e7646d2SAndroid Build Coastguard Workerkeywords defined later in this appendix in the section titled,
579*5e7646d2SAndroid Build Coastguard Worker"<a href='#REF_COLOR_SPACE'>Colorspace Keywords</a>".</p>
580*5e7646d2SAndroid Build Coastguard Worker
581*5e7646d2SAndroid Build Coastguard Worker<P>The colororder argument is one of the standard color order
582*5e7646d2SAndroid Build Coastguard Workerkeywords defined later in this appendix in the section titled,
583*5e7646d2SAndroid Build Coastguard Worker"<a href='#REF_COLOR_ORDER'>Color Order Keywords</a>".</p>
584*5e7646d2SAndroid Build Coastguard Worker
585*5e7646d2SAndroid Build Coastguard Worker<p>The compression argument is any number and is assigned to the
586*5e7646d2SAndroid Build Coastguard Worker<code>cupsCompression</code> attribute in the PostScript page device
587*5e7646d2SAndroid Build Coastguard Workerdictionary.</p>
588*5e7646d2SAndroid Build Coastguard Worker
589*5e7646d2SAndroid Build Coastguard Worker<h3>See Also</h3>
590*5e7646d2SAndroid Build Coastguard Worker
591*5e7646d2SAndroid Build Coastguard Worker<p><a href='#Choice'><code>Choice</code></a>,
592*5e7646d2SAndroid Build Coastguard Worker<a href='#ColorDevice'><code>ColorDevice</code></a>,
593*5e7646d2SAndroid Build Coastguard Worker<a href='#Cutter'><code>Cutter</code></a>,
594*5e7646d2SAndroid Build Coastguard Worker<a href='#Darkness'><code>Darkness</code></a>,
595*5e7646d2SAndroid Build Coastguard Worker<a href='#Duplex'><code>Duplex</code></a>,
596*5e7646d2SAndroid Build Coastguard Worker<a href='#Finishing'><code>Finishing</code></a>,
597*5e7646d2SAndroid Build Coastguard Worker<a href='#Group'><code>Group</code></a>,
598*5e7646d2SAndroid Build Coastguard Worker<a href='#InputSlot'><code>InputSlot</code></a>,
599*5e7646d2SAndroid Build Coastguard Worker<a href='#Installable'><code>Installable</code></a>,
600*5e7646d2SAndroid Build Coastguard Worker<a href='#MediaType'><code>MediaType</code></a>,
601*5e7646d2SAndroid Build Coastguard Worker<a href='#Option'><code>Option</code></a>,
602*5e7646d2SAndroid Build Coastguard Worker<a href='#Resolution'><code>Resolution</code></a>,
603*5e7646d2SAndroid Build Coastguard Worker<a href='#UIConstraints'><code>UIConstraints</code></a></p>
604*5e7646d2SAndroid Build Coastguard Worker
605*5e7646d2SAndroid Build Coastguard Worker
606*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><span class="info">Deprecated</span><a name='ColorProfile'>ColorProfile</a></h2>
607*5e7646d2SAndroid Build Coastguard Worker
608*5e7646d2SAndroid Build Coastguard Worker<h3>Syntax</h3>
609*5e7646d2SAndroid Build Coastguard Worker
610*5e7646d2SAndroid Build Coastguard Worker<pre>
611*5e7646d2SAndroid Build Coastguard WorkerColorProfile <i>resolution/mediatype gamma density matrix</i>
612*5e7646d2SAndroid Build Coastguard Worker</pre>
613*5e7646d2SAndroid Build Coastguard Worker
614*5e7646d2SAndroid Build Coastguard Worker<h3>Examples</h3>
615*5e7646d2SAndroid Build Coastguard Worker
616*5e7646d2SAndroid Build Coastguard Worker<pre>
617*5e7646d2SAndroid Build Coastguard WorkerColorProfile -/- 1.7 1.0
618*5e7646d2SAndroid Build Coastguard Worker     1.0    0.0    0.0
619*5e7646d2SAndroid Build Coastguard Worker     0.0    1.0    0.0
620*5e7646d2SAndroid Build Coastguard Worker     0.0    0.0    1.0
621*5e7646d2SAndroid Build Coastguard Worker
622*5e7646d2SAndroid Build Coastguard WorkerColorProfile 360dpi/- 1.6 1.0
623*5e7646d2SAndroid Build Coastguard Worker     1.0   -0.05  -0.3
624*5e7646d2SAndroid Build Coastguard Worker    -0.35   1.0   -0.15
625*5e7646d2SAndroid Build Coastguard Worker    -0.095 -0.238  0.95
626*5e7646d2SAndroid Build Coastguard Worker
627*5e7646d2SAndroid Build Coastguard WorkerColorProfile 720dpi/Special 1.5 1.0
628*5e7646d2SAndroid Build Coastguard Worker     1.0    0.0   -0.38
629*5e7646d2SAndroid Build Coastguard Worker    -0.4    1.0    0.0
630*5e7646d2SAndroid Build Coastguard Worker     0.0   -0.38   0.9
631*5e7646d2SAndroid Build Coastguard Worker</pre>
632*5e7646d2SAndroid Build Coastguard Worker
633*5e7646d2SAndroid Build Coastguard Worker<h3>Description</h3>
634*5e7646d2SAndroid Build Coastguard Worker
635*5e7646d2SAndroid Build Coastguard Worker<p>The <code>ColorProfile</code> directive defines a CMY
636*5e7646d2SAndroid Build Coastguard Workertransform-based color profile. The resolution and mediatype
637*5e7646d2SAndroid Build Coastguard Workerarguments specify the <code>Resolution</code> and <code>MediaType</code>
638*5e7646d2SAndroid Build Coastguard Workerchoices which use the profile; the hyphen (<code>-</code>) is used to
639*5e7646d2SAndroid Build Coastguard Workerspecify that any resolution or mediatype can be used with the
640*5e7646d2SAndroid Build Coastguard Workerprofile.</p>
641*5e7646d2SAndroid Build Coastguard Worker
642*5e7646d2SAndroid Build Coastguard Worker<p>The gamma argument specifies the gamma correction to apply to
643*5e7646d2SAndroid Build Coastguard Workerthe color values (P = p<sup>g</sup>) and is a real number
644*5e7646d2SAndroid Build Coastguard Workergreater than 0. Values larger than 1 cause a general lightening
645*5e7646d2SAndroid Build Coastguard Workerof the print while values smaller than 1 cause a general
646*5e7646d2SAndroid Build Coastguard Workerdarkening of the print. A value of 1 disables gamma
647*5e7646d2SAndroid Build Coastguard Workercorrection.</p>
648*5e7646d2SAndroid Build Coastguard Worker
649*5e7646d2SAndroid Build Coastguard Worker<p>The density argument specifies the linear density correction
650*5e7646d2SAndroid Build Coastguard Workerto apply to the color values (P = d * p<sup>g</sup>) and is a
651*5e7646d2SAndroid Build Coastguard Workerreal number greater than 0 and less than or equal to 1. A value
652*5e7646d2SAndroid Build Coastguard Worker1 of disables density correction while lower values produce
653*5e7646d2SAndroid Build Coastguard Workerproportionately lighter output.</p>
654*5e7646d2SAndroid Build Coastguard Worker
655*5e7646d2SAndroid Build Coastguard Worker<p>The matrix argument specifies a 3x3 linear transformation
656*5e7646d2SAndroid Build Coastguard Workermatrix in row-major order. The matrix is applied only to the CMY
657*5e7646d2SAndroid Build Coastguard Workercomponent of a RGB to CMYK transformation and is not used when
658*5e7646d2SAndroid Build Coastguard Workerprinting in grayscale or CMYK mode unless the printer only
659*5e7646d2SAndroid Build Coastguard Workersupports printing with 3 colors.</p>
660*5e7646d2SAndroid Build Coastguard Worker
661*5e7646d2SAndroid Build Coastguard Worker<h3>See Also</h3>
662*5e7646d2SAndroid Build Coastguard Worker
663*5e7646d2SAndroid Build Coastguard Worker<p><a href='#SimpleColorProfile'><code>SimpleColorProfile</code></a></p>
664*5e7646d2SAndroid Build Coastguard Worker
665*5e7646d2SAndroid Build Coastguard Worker
666*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><a name='Copyright'>Copyright</a></h2>
667*5e7646d2SAndroid Build Coastguard Worker
668*5e7646d2SAndroid Build Coastguard Worker<h3>Syntax</h3>
669*5e7646d2SAndroid Build Coastguard Worker
670*5e7646d2SAndroid Build Coastguard Worker<pre>
671*5e7646d2SAndroid Build Coastguard WorkerCopyright <i>"text"</i>
672*5e7646d2SAndroid Build Coastguard Worker</pre>
673*5e7646d2SAndroid Build Coastguard Worker
674*5e7646d2SAndroid Build Coastguard Worker<h3>Examples</h3>
675*5e7646d2SAndroid Build Coastguard Worker
676*5e7646d2SAndroid Build Coastguard Worker<pre>
677*5e7646d2SAndroid Build Coastguard WorkerCopyright "Copyright 2008 by Foo Enterprises"
678*5e7646d2SAndroid Build Coastguard Worker
679*5e7646d2SAndroid Build Coastguard WorkerCopyright
680*5e7646d2SAndroid Build Coastguard Worker"This software is free software; you can redistribute it and/or
681*5e7646d2SAndroid Build Coastguard Workermodify it under the terms of the GNU General Public License as
682*5e7646d2SAndroid Build Coastguard Workerpublished by the Free Software Foundation; either version 2 of
683*5e7646d2SAndroid Build Coastguard Workerthe License, or (at your option) any later version.
684*5e7646d2SAndroid Build Coastguard Worker
685*5e7646d2SAndroid Build Coastguard WorkerThis software is distributed in the hope that it will be useful,
686*5e7646d2SAndroid Build Coastguard Workerbut WITHOUT ANY WARRANTY; without even the implied warranty of
687*5e7646d2SAndroid Build Coastguard WorkerMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
688*5e7646d2SAndroid Build Coastguard WorkerGNU General Public License for more details.
689*5e7646d2SAndroid Build Coastguard Worker
690*5e7646d2SAndroid Build Coastguard WorkerYou should have received a copy of the GNU General Public
691*5e7646d2SAndroid Build Coastguard WorkerLicense along with this software; if not, write to the Free
692*5e7646d2SAndroid Build Coastguard WorkerSoftware Foundation, Inc., 59 Temple Place, Suite 330, Boston,
693*5e7646d2SAndroid Build Coastguard WorkerMA 02111 USA"
694*5e7646d2SAndroid Build Coastguard Worker</pre>
695*5e7646d2SAndroid Build Coastguard Worker
696*5e7646d2SAndroid Build Coastguard Worker<h3>Description</h3>
697*5e7646d2SAndroid Build Coastguard Worker
698*5e7646d2SAndroid Build Coastguard Worker<p>The <code>Copyright</code> directive adds text comments to the
699*5e7646d2SAndroid Build Coastguard Workertop of a PPD file, typically for use in copyright notices. The
700*5e7646d2SAndroid Build Coastguard Workertext argument can contain multiple lines of text, but no line
701*5e7646d2SAndroid Build Coastguard Workermay exceed 255 bytes.</p>
702*5e7646d2SAndroid Build Coastguard Worker
703*5e7646d2SAndroid Build Coastguard Worker
704*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><a name='CustomMedia'>CustomMedia</a></h2>
705*5e7646d2SAndroid Build Coastguard Worker
706*5e7646d2SAndroid Build Coastguard Worker<h3>Syntax</h3>
707*5e7646d2SAndroid Build Coastguard Worker
708*5e7646d2SAndroid Build Coastguard Worker<pre>
709*5e7646d2SAndroid Build Coastguard WorkerCustomMedia <i>name width length left bottom right top
710*5e7646d2SAndroid Build Coastguard Worker    "size-code" "region-code"</i>
711*5e7646d2SAndroid Build Coastguard Worker
712*5e7646d2SAndroid Build Coastguard WorkerCustomMedia <i>"name/text" width length left bottom right top
713*5e7646d2SAndroid Build Coastguard Worker    "size-code" "region-code"</i>
714*5e7646d2SAndroid Build Coastguard Worker</pre>
715*5e7646d2SAndroid Build Coastguard Worker
716*5e7646d2SAndroid Build Coastguard Worker<h3>Examples</h3>
717*5e7646d2SAndroid Build Coastguard Worker
718*5e7646d2SAndroid Build Coastguard Worker<pre>
719*5e7646d2SAndroid Build Coastguard WorkerCustomMedia Letter 8.5in 11in 0.25in 0.46in 0.25in 0.04in
720*5e7646d2SAndroid Build Coastguard Worker    "&lt;&lt;/PageSize[612 792]/ImagingBBox null/ManualFeed false&gt;&gt;
721*5e7646d2SAndroid Build Coastguard Worker     setpagedevice"
722*5e7646d2SAndroid Build Coastguard Worker    "&lt;&lt;/PageSize[612 792]/ImagingBBox null/ManualFeed true&gt;&gt;
723*5e7646d2SAndroid Build Coastguard Worker     setpagedevice"
724*5e7646d2SAndroid Build Coastguard Worker
725*5e7646d2SAndroid Build Coastguard WorkerCustomMedia "A4/A4 - 210x297mm" 210mm 297mm 12 12 12 12
726*5e7646d2SAndroid Build Coastguard Worker    "&lt;&lt;/PageSize[595 842]/ImagingBBox null&gt;&gt;setpagedevice"
727*5e7646d2SAndroid Build Coastguard Worker    "&lt;&lt;/PageSize[595 842]/ImagingBBox null&gt;&gt;setpagedevice"
728*5e7646d2SAndroid Build Coastguard Worker</pre>
729*5e7646d2SAndroid Build Coastguard Worker
730*5e7646d2SAndroid Build Coastguard Worker<h3>Description</h3>
731*5e7646d2SAndroid Build Coastguard Worker
732*5e7646d2SAndroid Build Coastguard Worker<p>The <code>CustomMedia</code> directive adds a custom media size to
733*5e7646d2SAndroid Build Coastguard Workerthe driver. The name may contain up to 40 ASCII characters within the
734*5e7646d2SAndroid Build Coastguard Workerrange of decimal 33 to decimal 126 inclusive, except for the characters
735*5e7646d2SAndroid Build Coastguard Workercomma (44), slash (47) and colon (58).</p>
736*5e7646d2SAndroid Build Coastguard Worker
737*5e7646d2SAndroid Build Coastguard Worker<p>If provided, the text can be any string up to 80 bytes in length.
738*5e7646d2SAndroid Build Coastguard WorkerIf no text is provided, the name is used.</p>
739*5e7646d2SAndroid Build Coastguard Worker
740*5e7646d2SAndroid Build Coastguard Worker<p>The width and length arguments specify the dimensions of the
741*5e7646d2SAndroid Build Coastguard Workermedia as defined for the <a href="#_media"><code>#media</code></a>
742*5e7646d2SAndroid Build Coastguard Workerdirective.</p>
743*5e7646d2SAndroid Build Coastguard Worker
744*5e7646d2SAndroid Build Coastguard Worker<p>The left, bottom, right, and top arguments specify the
745*5e7646d2SAndroid Build Coastguard Workerprintable margins of the media.</p>
746*5e7646d2SAndroid Build Coastguard Worker
747*5e7646d2SAndroid Build Coastguard Worker<p>The size-code and region-code arguments specify the
748*5e7646d2SAndroid Build Coastguard WorkerPostScript commands to run for the <code>PageSize</code> and
749*5e7646d2SAndroid Build Coastguard Worker<code>PageRegion</code> options, respectively. The commands can
750*5e7646d2SAndroid Build Coastguard Workercontain multiple lines, however no line may be more than 255
751*5e7646d2SAndroid Build Coastguard Workerbytes in length.</p>
752*5e7646d2SAndroid Build Coastguard Worker
753*5e7646d2SAndroid Build Coastguard Worker<h3>See Also</h3>
754*5e7646d2SAndroid Build Coastguard Worker
755*5e7646d2SAndroid Build Coastguard Worker<p><a href='#_media'><code>#media</code></a>,
756*5e7646d2SAndroid Build Coastguard Worker<a href='#MediaSize'><code>MediaSize</code></a></p>
757*5e7646d2SAndroid Build Coastguard Worker
758*5e7646d2SAndroid Build Coastguard Worker
759*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><a name='Cutter'>Cutter</a></h2>
760*5e7646d2SAndroid Build Coastguard Worker
761*5e7646d2SAndroid Build Coastguard Worker<h3>Syntax</h3>
762*5e7646d2SAndroid Build Coastguard Worker
763*5e7646d2SAndroid Build Coastguard Worker<pre>
764*5e7646d2SAndroid Build Coastguard WorkerCutter <i>boolean-value</i>
765*5e7646d2SAndroid Build Coastguard Worker</pre>
766*5e7646d2SAndroid Build Coastguard Worker
767*5e7646d2SAndroid Build Coastguard Worker<h3>Examples</h3>
768*5e7646d2SAndroid Build Coastguard Worker
769*5e7646d2SAndroid Build Coastguard Worker<pre>
770*5e7646d2SAndroid Build Coastguard WorkerCutter yes
771*5e7646d2SAndroid Build Coastguard WorkerCutter no
772*5e7646d2SAndroid Build Coastguard Worker</pre>
773*5e7646d2SAndroid Build Coastguard Worker
774*5e7646d2SAndroid Build Coastguard Worker<h3>Description</h3>
775*5e7646d2SAndroid Build Coastguard Worker
776*5e7646d2SAndroid Build Coastguard Worker<p>The <code>Cutter</code> directive specifies whether the printer
777*5e7646d2SAndroid Build Coastguard Workerhas a built-in media cutter. When a cutter is present, the
778*5e7646d2SAndroid Build Coastguard Workerprinter's PPD file will contain a <code>CutMedia</code> option that
779*5e7646d2SAndroid Build Coastguard Workerallows the user to control whether the media is cut at the end
780*5e7646d2SAndroid Build Coastguard Workerof the job.</p>
781*5e7646d2SAndroid Build Coastguard Worker
782*5e7646d2SAndroid Build Coastguard Worker<h3>See Also</h3>
783*5e7646d2SAndroid Build Coastguard Worker
784*5e7646d2SAndroid Build Coastguard Worker<p><a href='#Choice'><code>Choice</code></a>,
785*5e7646d2SAndroid Build Coastguard Worker<a href='#ColorModel'><code>ColorModel</code></a>,
786*5e7646d2SAndroid Build Coastguard Worker<a href='#Darkness'><code>Darkness</code></a>,
787*5e7646d2SAndroid Build Coastguard Worker<a href='#Duplex'><code>Duplex</code></a>,
788*5e7646d2SAndroid Build Coastguard Worker<a href='#Finishing'><code>Finishing</code></a>,
789*5e7646d2SAndroid Build Coastguard Worker<a href='#Group'><code>Group</code></a>,
790*5e7646d2SAndroid Build Coastguard Worker<a href='#InputSlot'><code>InputSlot</code></a>,
791*5e7646d2SAndroid Build Coastguard Worker<a href='#Installable'><code>Installable</code></a>,
792*5e7646d2SAndroid Build Coastguard Worker<a href='#MediaType'><code>MediaType</code></a>,
793*5e7646d2SAndroid Build Coastguard Worker<a href='#Option'><code>Option</code></a>,
794*5e7646d2SAndroid Build Coastguard Worker<a href='#Resolution'><code>Resolution</code></a>,
795*5e7646d2SAndroid Build Coastguard Worker<a href='#UIConstraints'><code>UIConstraints</code></a></p>
796*5e7646d2SAndroid Build Coastguard Worker
797*5e7646d2SAndroid Build Coastguard Worker
798*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><span class="info">Deprecated</span><a name='Darkness'>Darkness</a></h2>
799*5e7646d2SAndroid Build Coastguard Worker
800*5e7646d2SAndroid Build Coastguard Worker<h3>Syntax</h3>
801*5e7646d2SAndroid Build Coastguard Worker
802*5e7646d2SAndroid Build Coastguard Worker<pre>
803*5e7646d2SAndroid Build Coastguard WorkerDarkness <i>temperature name</i>
804*5e7646d2SAndroid Build Coastguard WorkerDarkness <i>temperature "name/text"</i>
805*5e7646d2SAndroid Build Coastguard Worker</pre>
806*5e7646d2SAndroid Build Coastguard Worker
807*5e7646d2SAndroid Build Coastguard Worker<h3>Examples</h3>
808*5e7646d2SAndroid Build Coastguard Worker
809*5e7646d2SAndroid Build Coastguard Worker<pre>
810*5e7646d2SAndroid Build Coastguard WorkerDarkness 0 Light
811*5e7646d2SAndroid Build Coastguard WorkerDarkness 2 "Normal/Standard"
812*5e7646d2SAndroid Build Coastguard Worker</pre>
813*5e7646d2SAndroid Build Coastguard Worker
814*5e7646d2SAndroid Build Coastguard Worker<h3>Description</h3>
815*5e7646d2SAndroid Build Coastguard Worker
816*5e7646d2SAndroid Build Coastguard Worker<p>The <code>Darkness</code> directive defines a choice for the
817*5e7646d2SAndroid Build Coastguard Worker<code>cupsDarkness</code> option which sets the
818*5e7646d2SAndroid Build Coastguard Worker<code>cupsCompression</code> attribute in the PostScript page device
819*5e7646d2SAndroid Build Coastguard Workerdictionary. It is used with the CUPS <VAR>rastertolabel</VAR>
820*5e7646d2SAndroid Build Coastguard Workersample driver to control the print head temperature and
821*5e7646d2SAndroid Build Coastguard Workertherefore the darkness of the print.</p>
822*5e7646d2SAndroid Build Coastguard Worker
823*5e7646d2SAndroid Build Coastguard Worker<p>The temperature argument specifies a temperature value for
824*5e7646d2SAndroid Build Coastguard Workerthe Dymo driver from 0 (lowest) to 3 (highest), with 2
825*5e7646d2SAndroid Build Coastguard Workerrepresenting the normal setting.</p>
826*5e7646d2SAndroid Build Coastguard Worker
827*5e7646d2SAndroid Build Coastguard Worker<p>The name may contain up to 40 ASCII characters within the range of
828*5e7646d2SAndroid Build Coastguard Workerdecimal 33 to decimal 126 inclusive, except for the characters comma
829*5e7646d2SAndroid Build Coastguard Worker(44), slash (47) and colon (58).</p>
830*5e7646d2SAndroid Build Coastguard Worker
831*5e7646d2SAndroid Build Coastguard Worker<p>If provided, the text can be any string up to 80 bytes in length.
832*5e7646d2SAndroid Build Coastguard WorkerIf no text is provided, the name is used.</p>
833*5e7646d2SAndroid Build Coastguard Worker
834*5e7646d2SAndroid Build Coastguard Worker<h3>See Also</h3>
835*5e7646d2SAndroid Build Coastguard Worker
836*5e7646d2SAndroid Build Coastguard Worker<p><a href='#Choice'><code>Choice</code></a>,
837*5e7646d2SAndroid Build Coastguard Worker<a href='#ColorModel'><code>ColorModel</code></a>,
838*5e7646d2SAndroid Build Coastguard Worker<a href='#Cutter'><code>Cutter</code></a>,
839*5e7646d2SAndroid Build Coastguard Worker<a href='#Duplex'><code>Duplex</code></a>,
840*5e7646d2SAndroid Build Coastguard Worker<a href='#Finishing'><code>Finishing</code></a>,
841*5e7646d2SAndroid Build Coastguard Worker<a href='#Group'><code>Group</code></a>,
842*5e7646d2SAndroid Build Coastguard Worker<a href='#InputSlot'><code>InputSlot</code></a>,
843*5e7646d2SAndroid Build Coastguard Worker<a href='#Installable'><code>Installable</code></a>,
844*5e7646d2SAndroid Build Coastguard Worker<a href='#MediaType'><code>MediaType</code></a>,
845*5e7646d2SAndroid Build Coastguard Worker<a href='#Option'><code>Option</code></a>,
846*5e7646d2SAndroid Build Coastguard Worker<a href='#Resolution'><code>Resolution</code></a>,
847*5e7646d2SAndroid Build Coastguard Worker<a href='#UIConstraints'><code>UIConstraints</code></a></p>
848*5e7646d2SAndroid Build Coastguard Worker
849*5e7646d2SAndroid Build Coastguard Worker
850*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><a name='DriverType'>DriverType</a></h2>
851*5e7646d2SAndroid Build Coastguard Worker
852*5e7646d2SAndroid Build Coastguard Worker<h3>Syntax</h3>
853*5e7646d2SAndroid Build Coastguard Worker
854*5e7646d2SAndroid Build Coastguard Worker<pre>
855*5e7646d2SAndroid Build Coastguard WorkerDriverType <i>type</i>
856*5e7646d2SAndroid Build Coastguard Worker</pre>
857*5e7646d2SAndroid Build Coastguard Worker
858*5e7646d2SAndroid Build Coastguard Worker<h3>Examples</h3>
859*5e7646d2SAndroid Build Coastguard Worker
860*5e7646d2SAndroid Build Coastguard Worker<pre>
861*5e7646d2SAndroid Build Coastguard WorkerDriverType custom
862*5e7646d2SAndroid Build Coastguard WorkerDriverType escp
863*5e7646d2SAndroid Build Coastguard WorkerDriverType pcl
864*5e7646d2SAndroid Build Coastguard WorkerDriverType ps
865*5e7646d2SAndroid Build Coastguard Worker</pre>
866*5e7646d2SAndroid Build Coastguard Worker
867*5e7646d2SAndroid Build Coastguard Worker<h3>Description</h3>
868*5e7646d2SAndroid Build Coastguard Worker
869*5e7646d2SAndroid Build Coastguard Worker<p>The <code>DriverType</code> directive tells the PPD compiler
870*5e7646d2SAndroid Build Coastguard Workerwhich DDK filters to include in the PPD file. The following
871*5e7646d2SAndroid Build Coastguard Workertypes are supported:</p>
872*5e7646d2SAndroid Build Coastguard Worker
873*5e7646d2SAndroid Build Coastguard Worker<ul>
874*5e7646d2SAndroid Build Coastguard Worker
875*5e7646d2SAndroid Build Coastguard Worker	<li><code>custom</code> - Use only those filters that are
876*5e7646d2SAndroid Build Coastguard Worker	defined in the driver information file</li>
877*5e7646d2SAndroid Build Coastguard Worker
878*5e7646d2SAndroid Build Coastguard Worker	<li><code>epson</code> - Use the CUPS sample Epson driver filter
879*5e7646d2SAndroid Build Coastguard Worker	<var>rastertoepson</var></li>
880*5e7646d2SAndroid Build Coastguard Worker
881*5e7646d2SAndroid Build Coastguard Worker	<li><code>escp</code> - Use the ESC/P DDK driver filters
882*5e7646d2SAndroid Build Coastguard Worker	<var>commandtoescpx</var> and
883*5e7646d2SAndroid Build Coastguard Worker	<var>rastertoescpx</var></li>
884*5e7646d2SAndroid Build Coastguard Worker
885*5e7646d2SAndroid Build Coastguard Worker	<li><code>hp</code> - Use the CUPS sample HP driver filter
886*5e7646d2SAndroid Build Coastguard Worker	<var>rastertohp</var></li>
887*5e7646d2SAndroid Build Coastguard Worker
888*5e7646d2SAndroid Build Coastguard Worker	<li><code>label</code> - Use the CUPS sample label driver filter <var>rastertolabel</var></li>
889*5e7646d2SAndroid Build Coastguard Worker
890*5e7646d2SAndroid Build Coastguard Worker	<li><code>pcl</code> - Use the HP-PCL DDK driver filters
891*5e7646d2SAndroid Build Coastguard Worker	<var>commandtopclx</var> and
892*5e7646d2SAndroid Build Coastguard Worker	<var>rastertopclx</var></li>
893*5e7646d2SAndroid Build Coastguard Worker
894*5e7646d2SAndroid Build Coastguard Worker	<li><code>ps</code> - Use no filters; this driver is for a
895*5e7646d2SAndroid Build Coastguard Worker	standard PostScript device</li>
896*5e7646d2SAndroid Build Coastguard Worker
897*5e7646d2SAndroid Build Coastguard Worker</ul>
898*5e7646d2SAndroid Build Coastguard Worker
899*5e7646d2SAndroid Build Coastguard Worker<h3>See Also</h3>
900*5e7646d2SAndroid Build Coastguard Worker
901*5e7646d2SAndroid Build Coastguard Worker<p><a href='#Filter'><code>Filter</code></a>,
902*5e7646d2SAndroid Build Coastguard Worker<a href='#ModelNumber'><code>ModelNumber</code></a></p>
903*5e7646d2SAndroid Build Coastguard Worker
904*5e7646d2SAndroid Build Coastguard Worker
905*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><a name='Duplex'>Duplex</a></h2>
906*5e7646d2SAndroid Build Coastguard Worker
907*5e7646d2SAndroid Build Coastguard Worker<h3>Syntax</h3>
908*5e7646d2SAndroid Build Coastguard Worker
909*5e7646d2SAndroid Build Coastguard Worker<pre>
910*5e7646d2SAndroid Build Coastguard WorkerDuplex <i>type</i>
911*5e7646d2SAndroid Build Coastguard Worker</pre>
912*5e7646d2SAndroid Build Coastguard Worker
913*5e7646d2SAndroid Build Coastguard Worker<h3>Examples</h3>
914*5e7646d2SAndroid Build Coastguard Worker
915*5e7646d2SAndroid Build Coastguard Worker<pre>
916*5e7646d2SAndroid Build Coastguard WorkerDuplex none
917*5e7646d2SAndroid Build Coastguard WorkerDuplex normal
918*5e7646d2SAndroid Build Coastguard WorkerDuplex flip
919*5e7646d2SAndroid Build Coastguard WorkerDuplex rotated
920*5e7646d2SAndroid Build Coastguard WorkerDuplex manualtumble
921*5e7646d2SAndroid Build Coastguard Worker</pre>
922*5e7646d2SAndroid Build Coastguard Worker
923*5e7646d2SAndroid Build Coastguard Worker<h3>Description</h3>
924*5e7646d2SAndroid Build Coastguard Worker
925*5e7646d2SAndroid Build Coastguard Worker<p>The <code>Duplex</code> directive determines whether double-sided printing
926*5e7646d2SAndroid Build Coastguard Workeris supported in the current driver. The type argument specifies the type
927*5e7646d2SAndroid Build Coastguard Workerof duplexing that is supported:</p>
928*5e7646d2SAndroid Build Coastguard Worker
929*5e7646d2SAndroid Build Coastguard Worker<ul>
930*5e7646d2SAndroid Build Coastguard Worker
931*5e7646d2SAndroid Build Coastguard Worker	<li><code>none</code> - double-sided printing is not
932*5e7646d2SAndroid Build Coastguard Worker	supported</li>
933*5e7646d2SAndroid Build Coastguard Worker
934*5e7646d2SAndroid Build Coastguard Worker	<li><code>normal</code> - double-sided printing is
935*5e7646d2SAndroid Build Coastguard Worker	supported</li>
936*5e7646d2SAndroid Build Coastguard Worker
937*5e7646d2SAndroid Build Coastguard Worker	<li><code>flip</code> - double-sided printing is supported,
938*5e7646d2SAndroid Build Coastguard Worker	but the back side image needs to be flipped vertically
939*5e7646d2SAndroid Build Coastguard Worker	(used primarily with inkjet printers)</li>
940*5e7646d2SAndroid Build Coastguard Worker
941*5e7646d2SAndroid Build Coastguard Worker	<li><code>rotated</code> - double-sided printing is supported,
942*5e7646d2SAndroid Build Coastguard Worker	but the back side image needs to be rotated 180 degrees for
943*5e7646d2SAndroid Build Coastguard Worker	DuplexNoTumble</li>
944*5e7646d2SAndroid Build Coastguard Worker
945*5e7646d2SAndroid Build Coastguard Worker	<li><code>manualtumble</code> - double-sided printing is supported,
946*5e7646d2SAndroid Build Coastguard Worker	but the back side image needs to be rotated 180 degrees for
947*5e7646d2SAndroid Build Coastguard Worker        DuplexTumble</li>
948*5e7646d2SAndroid Build Coastguard Worker
949*5e7646d2SAndroid Build Coastguard Worker</ul>
950*5e7646d2SAndroid Build Coastguard Worker
951*5e7646d2SAndroid Build Coastguard Worker<h3>See Also</h3>
952*5e7646d2SAndroid Build Coastguard Worker
953*5e7646d2SAndroid Build Coastguard Worker<p><a href='#Choice'><code>Choice</code></a>,
954*5e7646d2SAndroid Build Coastguard Worker<a href='#ColorModel'><code>ColorModel</code></a>,
955*5e7646d2SAndroid Build Coastguard Worker<a href='#Cutter'><code>Cutter</code></a>,
956*5e7646d2SAndroid Build Coastguard Worker<a href='#Darkness'><code>Darkness</code></a>,
957*5e7646d2SAndroid Build Coastguard Worker<a href='#Finishing'><code>Finishing</code></a>,
958*5e7646d2SAndroid Build Coastguard Worker<a href='#Group'><code>Group</code></a>,
959*5e7646d2SAndroid Build Coastguard Worker<a href='#InputSlot'><code>InputSlot</code></a>,
960*5e7646d2SAndroid Build Coastguard Worker<a href='#Installable'><code>Installable</code></a>,
961*5e7646d2SAndroid Build Coastguard Worker<a href='#MediaType'><code>MediaType</code></a>,
962*5e7646d2SAndroid Build Coastguard Worker<a href='#Option'><code>Option</code></a>,
963*5e7646d2SAndroid Build Coastguard Worker<a href='#Resolution'><code>Resolution</code></a>,
964*5e7646d2SAndroid Build Coastguard Worker<a href='#UIConstraints'><code>UIConstraints</code></a></p>
965*5e7646d2SAndroid Build Coastguard Worker
966*5e7646d2SAndroid Build Coastguard Worker
967*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><a name='FileName'>FileName</a></h2>
968*5e7646d2SAndroid Build Coastguard Worker
969*5e7646d2SAndroid Build Coastguard Worker<h3>Syntax</h3>
970*5e7646d2SAndroid Build Coastguard Worker
971*5e7646d2SAndroid Build Coastguard Worker<pre>
972*5e7646d2SAndroid Build Coastguard WorkerFileName <i>"filename"</i>
973*5e7646d2SAndroid Build Coastguard Worker</pre>
974*5e7646d2SAndroid Build Coastguard Worker
975*5e7646d2SAndroid Build Coastguard Worker<h3>Examples</h3>
976*5e7646d2SAndroid Build Coastguard Worker
977*5e7646d2SAndroid Build Coastguard Worker<pre>
978*5e7646d2SAndroid Build Coastguard WorkerFileName "Acme Laser Printer 2000"
979*5e7646d2SAndroid Build Coastguard WorkerFileName "Acme Ink Waster 1000"
980*5e7646d2SAndroid Build Coastguard Worker</pre>
981*5e7646d2SAndroid Build Coastguard Worker
982*5e7646d2SAndroid Build Coastguard Worker<h3>Description</h3>
983*5e7646d2SAndroid Build Coastguard Worker
984*5e7646d2SAndroid Build Coastguard Worker<p>The <code>FileName</code> attribute specifies the "long" name of the
985*5e7646d2SAndroid Build Coastguard WorkerPPD file for the current driver.</p>
986*5e7646d2SAndroid Build Coastguard Worker
987*5e7646d2SAndroid Build Coastguard Worker<h3>See Also</h3>
988*5e7646d2SAndroid Build Coastguard Worker
989*5e7646d2SAndroid Build Coastguard Worker<p><a href='#Manufacturer'><code>Manufacturer</code></a>,
990*5e7646d2SAndroid Build Coastguard Worker<a href='#ModelName'><code>ModelName</code></a>,
991*5e7646d2SAndroid Build Coastguard Worker<a href="#PCFileName"><code>PCFileName</code></a>,
992*5e7646d2SAndroid Build Coastguard Worker<a href='#Version'><code>Version</code></a></p>
993*5e7646d2SAndroid Build Coastguard Worker
994*5e7646d2SAndroid Build Coastguard Worker
995*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><a name='Filter'>Filter</a></h2>
996*5e7646d2SAndroid Build Coastguard Worker
997*5e7646d2SAndroid Build Coastguard Worker<h3>Syntax</h3>
998*5e7646d2SAndroid Build Coastguard Worker
999*5e7646d2SAndroid Build Coastguard Worker<pre>
1000*5e7646d2SAndroid Build Coastguard WorkerFilter <i>mime-type cost program</i>
1001*5e7646d2SAndroid Build Coastguard Worker</pre>
1002*5e7646d2SAndroid Build Coastguard Worker
1003*5e7646d2SAndroid Build Coastguard Worker<h3>Examples</h3>
1004*5e7646d2SAndroid Build Coastguard Worker
1005*5e7646d2SAndroid Build Coastguard Worker<pre>
1006*5e7646d2SAndroid Build Coastguard WorkerFilter application/vnd.cups-raster 50 rastertofoo
1007*5e7646d2SAndroid Build Coastguard WorkerFilter application/vnd.hp-HPGL 25 /usr/foo/filter/hpgltofoo
1008*5e7646d2SAndroid Build Coastguard Worker</pre>
1009*5e7646d2SAndroid Build Coastguard Worker
1010*5e7646d2SAndroid Build Coastguard Worker<h3>Description</h3>
1011*5e7646d2SAndroid Build Coastguard Worker
1012*5e7646d2SAndroid Build Coastguard Worker<p>The <code>Filter</code> directive adds a filter for the current
1013*5e7646d2SAndroid Build Coastguard Workerdriver. The mime-type argument is a valid MIME media type name
1014*5e7646d2SAndroid Build Coastguard Workeras defined in a CUPS <var>mime.types</var> file.</p>
1015*5e7646d2SAndroid Build Coastguard Worker
1016*5e7646d2SAndroid Build Coastguard Worker<p>The cost argument specifies the relative cost of the filter.
1017*5e7646d2SAndroid Build Coastguard WorkerIn general, use a number representing the average percentage of
1018*5e7646d2SAndroid Build Coastguard WorkerCPU time that is used when printing the specified MIME media
1019*5e7646d2SAndroid Build Coastguard Workertype.</p>
1020*5e7646d2SAndroid Build Coastguard Worker
1021*5e7646d2SAndroid Build Coastguard Worker<p>The program argument specifies the program to run; if the
1022*5e7646d2SAndroid Build Coastguard Workerprogram is not an absolute filename, then CUPS will look for the
1023*5e7646d2SAndroid Build Coastguard Workerprogram in the CUPS filter directory.</p>
1024*5e7646d2SAndroid Build Coastguard Worker
1025*5e7646d2SAndroid Build Coastguard Worker<h3>See Also</h3>
1026*5e7646d2SAndroid Build Coastguard Worker
1027*5e7646d2SAndroid Build Coastguard Worker<p><a href='#DriverType'><code>DriverType</code></a></p>
1028*5e7646d2SAndroid Build Coastguard Worker
1029*5e7646d2SAndroid Build Coastguard Worker
1030*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><span class="info">Deprecated</span><a name='Finishing'>Finishing</a></h2>
1031*5e7646d2SAndroid Build Coastguard Worker
1032*5e7646d2SAndroid Build Coastguard Worker<h3>Syntax</h3>
1033*5e7646d2SAndroid Build Coastguard Worker
1034*5e7646d2SAndroid Build Coastguard Worker<pre>
1035*5e7646d2SAndroid Build Coastguard WorkerFinishing <i>name</i>
1036*5e7646d2SAndroid Build Coastguard WorkerFinishing <i>"name/text"</i>
1037*5e7646d2SAndroid Build Coastguard Worker</pre>
1038*5e7646d2SAndroid Build Coastguard Worker
1039*5e7646d2SAndroid Build Coastguard Worker<h3>Examples</h3>
1040*5e7646d2SAndroid Build Coastguard Worker
1041*5e7646d2SAndroid Build Coastguard Worker<pre>
1042*5e7646d2SAndroid Build Coastguard WorkerFinishing None
1043*5e7646d2SAndroid Build Coastguard WorkerFinishing "Glossy/Photo Overcoat"
1044*5e7646d2SAndroid Build Coastguard Worker</pre>
1045*5e7646d2SAndroid Build Coastguard Worker
1046*5e7646d2SAndroid Build Coastguard Worker<h3>Description</h3>
1047*5e7646d2SAndroid Build Coastguard Worker
1048*5e7646d2SAndroid Build Coastguard Worker<p>The <code>Finishing</code> directive adds a choice to the
1049*5e7646d2SAndroid Build Coastguard Worker<code>cupsFinishing</code> option. The name may contain up to 40 ASCII
1050*5e7646d2SAndroid Build Coastguard Workercharacters within the range of decimal 33 to decimal 126 inclusive,
1051*5e7646d2SAndroid Build Coastguard Workerexcept for the characters comma (44), slash (47) and colon (58).</p>
1052*5e7646d2SAndroid Build Coastguard Worker
1053*5e7646d2SAndroid Build Coastguard Worker<p>If provided, the text can be any string up to 80 bytes in length.
1054*5e7646d2SAndroid Build Coastguard WorkerIf no text is provided, the name is used.</p>
1055*5e7646d2SAndroid Build Coastguard Worker
1056*5e7646d2SAndroid Build Coastguard Worker<p>The name is stored in the <code>OutputType</code> attribute in the
1057*5e7646d2SAndroid Build Coastguard WorkerPostScript page device dictionary.</p>
1058*5e7646d2SAndroid Build Coastguard Worker
1059*5e7646d2SAndroid Build Coastguard Worker<h3>See Also</h3>
1060*5e7646d2SAndroid Build Coastguard Worker
1061*5e7646d2SAndroid Build Coastguard Worker<p><a href='#Choice'><code>Choice</code></a>,
1062*5e7646d2SAndroid Build Coastguard Worker<a href='#ColorModel'><code>ColorModel</code></a>,
1063*5e7646d2SAndroid Build Coastguard Worker<a href='#Cutter'><code>Cutter</code></a>,
1064*5e7646d2SAndroid Build Coastguard Worker<a href='#Darkness'><code>Darkness</code></a>,
1065*5e7646d2SAndroid Build Coastguard Worker<a href='#Duplex'><code>Duplex</code></a>,
1066*5e7646d2SAndroid Build Coastguard Worker<a href='#Group'><code>Group</code></a>,
1067*5e7646d2SAndroid Build Coastguard Worker<a href='#InputSlot'><code>InputSlot</code></a>,
1068*5e7646d2SAndroid Build Coastguard Worker<a href='#Installable'><code>Installable</code></a>,
1069*5e7646d2SAndroid Build Coastguard Worker<a href='#MediaType'><code>MediaType</code></a>,
1070*5e7646d2SAndroid Build Coastguard Worker<a href='#Option'><code>Option</code></a>,
1071*5e7646d2SAndroid Build Coastguard Worker<a href='#Resolution'><code>Resolution</code></a>,
1072*5e7646d2SAndroid Build Coastguard Worker<a href='#UIConstraints'><code>UIConstraints</code></a></p>
1073*5e7646d2SAndroid Build Coastguard Worker
1074*5e7646d2SAndroid Build Coastguard Worker
1075*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><a name='Font'>Font</a></h2>
1076*5e7646d2SAndroid Build Coastguard Worker
1077*5e7646d2SAndroid Build Coastguard Worker<h3>Syntax</h3>
1078*5e7646d2SAndroid Build Coastguard Worker
1079*5e7646d2SAndroid Build Coastguard Worker<pre>
1080*5e7646d2SAndroid Build Coastguard WorkerFont <i>name encoding "version" charset status</i>
1081*5e7646d2SAndroid Build Coastguard WorkerFont *
1082*5e7646d2SAndroid Build Coastguard Worker</pre>
1083*5e7646d2SAndroid Build Coastguard Worker
1084*5e7646d2SAndroid Build Coastguard Worker<h3>Examples</h3>
1085*5e7646d2SAndroid Build Coastguard Worker
1086*5e7646d2SAndroid Build Coastguard Worker<pre>
1087*5e7646d2SAndroid Build Coastguard WorkerFont *
1088*5e7646d2SAndroid Build Coastguard WorkerFont Courier Standard "(1.05)" Standard ROM
1089*5e7646d2SAndroid Build Coastguard WorkerFont Symbol Special "(001.005)" Special ROM
1090*5e7646d2SAndroid Build Coastguard WorkerFont Barcode-Foo Special "(1.0)" Special Disk
1091*5e7646d2SAndroid Build Coastguard WorkerFont Unicode-Foo Expert "(2.0)" Adobe-Identity ROM
1092*5e7646d2SAndroid Build Coastguard Worker</pre>
1093*5e7646d2SAndroid Build Coastguard Worker
1094*5e7646d2SAndroid Build Coastguard Worker<h3>Description</h3>
1095*5e7646d2SAndroid Build Coastguard Worker
1096*5e7646d2SAndroid Build Coastguard Worker<p>The <code>Font</code> directive defines a "device font" for the
1097*5e7646d2SAndroid Build Coastguard Workercurrent printer driver. The name is the PostScript font name.</p>
1098*5e7646d2SAndroid Build Coastguard Worker
1099*5e7646d2SAndroid Build Coastguard Worker<p>The encoding is the default encoding of the font, usually
1100*5e7646d2SAndroid Build Coastguard Worker<code>Standard</code>, <code>Expert</code>, or <code>Special</code>, as
1101*5e7646d2SAndroid Build Coastguard Workerdefined in the Adobe PPD file specification.</p>
1102*5e7646d2SAndroid Build Coastguard Worker
1103*5e7646d2SAndroid Build Coastguard Worker<p>The version is the PostScript string definition that
1104*5e7646d2SAndroid Build Coastguard Workercorresponds to the font version number.</p>
1105*5e7646d2SAndroid Build Coastguard Worker
1106*5e7646d2SAndroid Build Coastguard Worker<p>The charset defines the available characters in the font,
1107*5e7646d2SAndroid Build Coastguard Workerusually <code>Standard</code> or <code>Special</code>, as defined in the
1108*5e7646d2SAndroid Build Coastguard WorkerAdobe PPD file specification.</p>
1109*5e7646d2SAndroid Build Coastguard Worker
1110*5e7646d2SAndroid Build Coastguard Worker<p>The status is the installation status of the font and must be
1111*5e7646d2SAndroid Build Coastguard Workereither the word <code>ROM</code> or <code>Disk</code>.</p>
1112*5e7646d2SAndroid Build Coastguard Worker
1113*5e7646d2SAndroid Build Coastguard Worker<p>Device fonts differ from fonts defined using the <a
1114*5e7646d2SAndroid Build Coastguard Workerhref='#_font'><code>#font</code></a> directive in that they are
1115*5e7646d2SAndroid Build Coastguard Workerautomatically associated with the current driver. Fonts defined
1116*5e7646d2SAndroid Build Coastguard Workerusing <code>#font</code> may be imported into the current driver
1117*5e7646d2SAndroid Build Coastguard Workerusing the <code>Font *</code> form of this directive.</p>
1118*5e7646d2SAndroid Build Coastguard Worker
1119*5e7646d2SAndroid Build Coastguard Worker<h3>See Also</h3>
1120*5e7646d2SAndroid Build Coastguard Worker
1121*5e7646d2SAndroid Build Coastguard Worker<p><a href='#_font'><code>#font</code></a></p>
1122*5e7646d2SAndroid Build Coastguard Worker
1123*5e7646d2SAndroid Build Coastguard Worker
1124*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><a name='Group'>Group</a></h2>
1125*5e7646d2SAndroid Build Coastguard Worker
1126*5e7646d2SAndroid Build Coastguard Worker<h3>Syntax</h3>
1127*5e7646d2SAndroid Build Coastguard Worker
1128*5e7646d2SAndroid Build Coastguard Worker<pre>
1129*5e7646d2SAndroid Build Coastguard WorkerGroup <i>name</i>
1130*5e7646d2SAndroid Build Coastguard WorkerGroup <i>"name/text"</i>
1131*5e7646d2SAndroid Build Coastguard Worker</pre>
1132*5e7646d2SAndroid Build Coastguard Worker
1133*5e7646d2SAndroid Build Coastguard Worker<h3>Examples</h3>
1134*5e7646d2SAndroid Build Coastguard Worker
1135*5e7646d2SAndroid Build Coastguard Worker<pre>
1136*5e7646d2SAndroid Build Coastguard WorkerGroup General
1137*5e7646d2SAndroid Build Coastguard WorkerGroup "InstallableOptions/Options Installed"
1138*5e7646d2SAndroid Build Coastguard WorkerGroup "Special/Vendor Options"
1139*5e7646d2SAndroid Build Coastguard Worker</pre>
1140*5e7646d2SAndroid Build Coastguard Worker
1141*5e7646d2SAndroid Build Coastguard Worker<h3>Description</h3>
1142*5e7646d2SAndroid Build Coastguard Worker
1143*5e7646d2SAndroid Build Coastguard Worker<p>The <code>Group</code> directive specifies the group for new
1144*5e7646d2SAndroid Build Coastguard Worker<code>Option</code> directives. The name may contain up to 40 ASCII
1145*5e7646d2SAndroid Build Coastguard Workercharacters within the range of decimal 33 to decimal 126 inclusive,
1146*5e7646d2SAndroid Build Coastguard Workerexcept for the characters comma (44), slash (47) and colon (58).</p>
1147*5e7646d2SAndroid Build Coastguard Worker
1148*5e7646d2SAndroid Build Coastguard Worker<p>If provided, the text can be any string up to 40 bytes in length.
1149*5e7646d2SAndroid Build Coastguard WorkerIf no text is provided, the name is used.</p>
1150*5e7646d2SAndroid Build Coastguard Worker
1151*5e7646d2SAndroid Build Coastguard Worker<p>The names <code>General</code> and <code>InstallableOptions</code>
1152*5e7646d2SAndroid Build Coastguard Workerare predefined for the standard Adobe UI keywords and for installable
1153*5e7646d2SAndroid Build Coastguard Workeroptions, respectively.</p>
1154*5e7646d2SAndroid Build Coastguard Worker
1155*5e7646d2SAndroid Build Coastguard Worker<center><table width='80%' border='1' bgcolor='#cccccc' cellpadding='5' cellspacing='0'>
1156*5e7646d2SAndroid Build Coastguard Worker<tr>
1157*5e7646d2SAndroid Build Coastguard Worker	<td align='justify'><b>Note:</b>
1158*5e7646d2SAndroid Build Coastguard Worker
1159*5e7646d2SAndroid Build Coastguard Worker	<p>Because of certain API binary compatibility issues,
1160*5e7646d2SAndroid Build Coastguard Worker	CUPS limits the length of PPD group translation strings
1161*5e7646d2SAndroid Build Coastguard Worker	(text) to 40 bytes, while the PPD specification
1162*5e7646d2SAndroid Build Coastguard Worker	allows for up to 80 bytes.</p>
1163*5e7646d2SAndroid Build Coastguard Worker
1164*5e7646d2SAndroid Build Coastguard Worker	</td>
1165*5e7646d2SAndroid Build Coastguard Worker</tr>
1166*5e7646d2SAndroid Build Coastguard Worker</table></center>
1167*5e7646d2SAndroid Build Coastguard Worker
1168*5e7646d2SAndroid Build Coastguard Worker<h3>See Also</h3>
1169*5e7646d2SAndroid Build Coastguard Worker
1170*5e7646d2SAndroid Build Coastguard Worker<p><a href='#Choice'><code>Choice</code></a>,
1171*5e7646d2SAndroid Build Coastguard Worker<a href='#ColorModel'><code>ColorModel</code></a>,
1172*5e7646d2SAndroid Build Coastguard Worker<a href='#Cutter'><code>Cutter</code></a>,
1173*5e7646d2SAndroid Build Coastguard Worker<a href='#Darkness'><code>Darkness</code></a>,
1174*5e7646d2SAndroid Build Coastguard Worker<a href='#Duplex'><code>Duplex</code></a>,
1175*5e7646d2SAndroid Build Coastguard Worker<a href='#Finishing'><code>Finishing</code></a>,
1176*5e7646d2SAndroid Build Coastguard Worker<a href='#InputSlot'><code>InputSlot</code></a>,
1177*5e7646d2SAndroid Build Coastguard Worker<a href='#Installable'><code>Installable</code></a>,
1178*5e7646d2SAndroid Build Coastguard Worker<a href='#MediaType'><code>MediaType</code></a>,
1179*5e7646d2SAndroid Build Coastguard Worker<a href='#Option'><code>Option</code></a>,
1180*5e7646d2SAndroid Build Coastguard Worker<a href='#Resolution'><code>Resolution</code></a>,
1181*5e7646d2SAndroid Build Coastguard Worker<a href='#UIConstraints'><code>UIConstraints</code></a></p>
1182*5e7646d2SAndroid Build Coastguard Worker
1183*5e7646d2SAndroid Build Coastguard Worker
1184*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><a name='HWMargins'>HWMargins</a></h2>
1185*5e7646d2SAndroid Build Coastguard Worker
1186*5e7646d2SAndroid Build Coastguard Worker<h3>Syntax</h3>
1187*5e7646d2SAndroid Build Coastguard Worker
1188*5e7646d2SAndroid Build Coastguard Worker<pre>
1189*5e7646d2SAndroid Build Coastguard WorkerHWMargins <i>left bottom right top</i>
1190*5e7646d2SAndroid Build Coastguard Worker</pre>
1191*5e7646d2SAndroid Build Coastguard Worker
1192*5e7646d2SAndroid Build Coastguard Worker<h3>Examples</h3>
1193*5e7646d2SAndroid Build Coastguard Worker
1194*5e7646d2SAndroid Build Coastguard Worker<pre>
1195*5e7646d2SAndroid Build Coastguard WorkerHWMargins 18 36 18 36
1196*5e7646d2SAndroid Build Coastguard WorkerHWMargins 0.25in 0.5in 0.25in 0.5in
1197*5e7646d2SAndroid Build Coastguard WorkerHWMargins 0.6cm 1.2cm 0.6cm 1.2cm
1198*5e7646d2SAndroid Build Coastguard Worker</pre>
1199*5e7646d2SAndroid Build Coastguard Worker
1200*5e7646d2SAndroid Build Coastguard Worker<h3>Description</h3>
1201*5e7646d2SAndroid Build Coastguard Worker
1202*5e7646d2SAndroid Build Coastguard Worker<p>The <code>HWMargins</code> directive specifies the current
1203*5e7646d2SAndroid Build Coastguard Workermargins for <a href='#MediaSize'><code>MediaSize</code></a> that
1204*5e7646d2SAndroid Build Coastguard Workerfollow. The left, bottom, right, and top margin values specify
1205*5e7646d2SAndroid Build Coastguard Workerthe printable margins.</p>
1206*5e7646d2SAndroid Build Coastguard Worker
1207*5e7646d2SAndroid Build Coastguard Worker<h3>See Also</h3>
1208*5e7646d2SAndroid Build Coastguard Worker
1209*5e7646d2SAndroid Build Coastguard Worker<p><a href='#MediaSize'><code>MediaSize</code></a></p>
1210*5e7646d2SAndroid Build Coastguard Worker
1211*5e7646d2SAndroid Build Coastguard Worker
1212*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><a name='InputSlot'>InputSlot</a></h2>
1213*5e7646d2SAndroid Build Coastguard Worker
1214*5e7646d2SAndroid Build Coastguard Worker<h3>Syntax</h3>
1215*5e7646d2SAndroid Build Coastguard Worker
1216*5e7646d2SAndroid Build Coastguard Worker<pre>
1217*5e7646d2SAndroid Build Coastguard WorkerInputSlot <i>position name</i>
1218*5e7646d2SAndroid Build Coastguard WorkerInputSlot <i>position "name/text"</i>
1219*5e7646d2SAndroid Build Coastguard Worker</pre>
1220*5e7646d2SAndroid Build Coastguard Worker
1221*5e7646d2SAndroid Build Coastguard Worker<h3>Examples</h3>
1222*5e7646d2SAndroid Build Coastguard Worker
1223*5e7646d2SAndroid Build Coastguard Worker<pre>
1224*5e7646d2SAndroid Build Coastguard WorkerInputSlot 0 Auto
1225*5e7646d2SAndroid Build Coastguard WorkerInputSlot 1 "Upper/Tray 1"
1226*5e7646d2SAndroid Build Coastguard Worker</pre>
1227*5e7646d2SAndroid Build Coastguard Worker
1228*5e7646d2SAndroid Build Coastguard Worker<h3>Description</h3>
1229*5e7646d2SAndroid Build Coastguard Worker
1230*5e7646d2SAndroid Build Coastguard Worker<p>The <code>InputSlot</code> directive adds a new choice to the
1231*5e7646d2SAndroid Build Coastguard Worker<code>InputSlot</code> option. The position argument is a number
1232*5e7646d2SAndroid Build Coastguard Workerfrom 0 to 2<sup>32</sup>-1 specifying the value that is placed
1233*5e7646d2SAndroid Build Coastguard Workerin the <code>MediaPosition</code> attribute in the PostScript page
1234*5e7646d2SAndroid Build Coastguard Workerdevice dictionary.</p>
1235*5e7646d2SAndroid Build Coastguard Worker
1236*5e7646d2SAndroid Build Coastguard Worker<p>The name may contain up to 40 ASCII characters within the range of
1237*5e7646d2SAndroid Build Coastguard Workerdecimal 33 to decimal 126 inclusive, except for the characters comma
1238*5e7646d2SAndroid Build Coastguard Worker(44), slash (47) and colon (58).</p>
1239*5e7646d2SAndroid Build Coastguard Worker
1240*5e7646d2SAndroid Build Coastguard Worker<p>If provided, the text can be any string up to 80 bytes in length.
1241*5e7646d2SAndroid Build Coastguard WorkerIf no text is provided, the name is used.</p>
1242*5e7646d2SAndroid Build Coastguard Worker
1243*5e7646d2SAndroid Build Coastguard Worker<h3>See Also</h3>
1244*5e7646d2SAndroid Build Coastguard Worker
1245*5e7646d2SAndroid Build Coastguard Worker<p><a href='#Choice'><code>Choice</code></a>,
1246*5e7646d2SAndroid Build Coastguard Worker<a href='#ColorModel'><code>ColorModel</code></a>,
1247*5e7646d2SAndroid Build Coastguard Worker<a href='#Cutter'><code>Cutter</code></a>,
1248*5e7646d2SAndroid Build Coastguard Worker<a href='#Darkness'><code>Darkness</code></a>,
1249*5e7646d2SAndroid Build Coastguard Worker<a href='#Duplex'><code>Duplex</code></a>,
1250*5e7646d2SAndroid Build Coastguard Worker<a href='#Finishing'><code>Finishing</code></a>,
1251*5e7646d2SAndroid Build Coastguard Worker<a href='#Group'><code>Group</code></a>,
1252*5e7646d2SAndroid Build Coastguard Worker<a href='#Installable'><code>Installable</code></a>,
1253*5e7646d2SAndroid Build Coastguard Worker<a href='#MediaType'><code>MediaType</code></a>,
1254*5e7646d2SAndroid Build Coastguard Worker<a href='#Option'><code>Option</code></a>,
1255*5e7646d2SAndroid Build Coastguard Worker<a href='#Resolution'><code>Resolution</code></a>,
1256*5e7646d2SAndroid Build Coastguard Worker<a href='#UIConstraints'><code>UIConstraints</code></a></p>
1257*5e7646d2SAndroid Build Coastguard Worker
1258*5e7646d2SAndroid Build Coastguard Worker
1259*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><a name='Installable'>Installable</a></h2>
1260*5e7646d2SAndroid Build Coastguard Worker
1261*5e7646d2SAndroid Build Coastguard Worker<h3>Syntax</h3>
1262*5e7646d2SAndroid Build Coastguard Worker
1263*5e7646d2SAndroid Build Coastguard Worker<pre>
1264*5e7646d2SAndroid Build Coastguard WorkerInstallable <i>name</i>
1265*5e7646d2SAndroid Build Coastguard WorkerInstallable <i>"name/text"</i>
1266*5e7646d2SAndroid Build Coastguard Worker</pre>
1267*5e7646d2SAndroid Build Coastguard Worker
1268*5e7646d2SAndroid Build Coastguard Worker<h3>Examples</h3>
1269*5e7646d2SAndroid Build Coastguard Worker
1270*5e7646d2SAndroid Build Coastguard Worker<pre>
1271*5e7646d2SAndroid Build Coastguard WorkerInstallable EnvTray
1272*5e7646d2SAndroid Build Coastguard WorkerInstallable "Option1/Duplexer Installed"
1273*5e7646d2SAndroid Build Coastguard Worker</pre>
1274*5e7646d2SAndroid Build Coastguard Worker
1275*5e7646d2SAndroid Build Coastguard Worker<h3>Description</h3>
1276*5e7646d2SAndroid Build Coastguard Worker
1277*5e7646d2SAndroid Build Coastguard Worker<p>The <code>Installable</code> directive adds a new boolean option
1278*5e7646d2SAndroid Build Coastguard Workerto the <code>InstallableOptions</code> group with a default value of
1279*5e7646d2SAndroid Build Coastguard Worker<code>False</code>. The name may contain up to 40 ASCII characters
1280*5e7646d2SAndroid Build Coastguard Workerwithin the range of decimal 33 to decimal 126 inclusive, except for
1281*5e7646d2SAndroid Build Coastguard Workerthe characters comma (44), slash (47) and colon (58).</p>
1282*5e7646d2SAndroid Build Coastguard Worker
1283*5e7646d2SAndroid Build Coastguard Worker<p>If provided, the text can be any string up to 80 bytes in length.
1284*5e7646d2SAndroid Build Coastguard WorkerIf no text is provided, the name is used.</p>
1285*5e7646d2SAndroid Build Coastguard Worker
1286*5e7646d2SAndroid Build Coastguard Worker
1287*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><a name='LocAttribute'>LocAttribute</a></h2>
1288*5e7646d2SAndroid Build Coastguard Worker
1289*5e7646d2SAndroid Build Coastguard Worker<h3>Syntax</h3>
1290*5e7646d2SAndroid Build Coastguard Worker
1291*5e7646d2SAndroid Build Coastguard Worker<pre>
1292*5e7646d2SAndroid Build Coastguard WorkerLocAttribute <i>name "keyword/text" value</i>
1293*5e7646d2SAndroid Build Coastguard Worker</pre>
1294*5e7646d2SAndroid Build Coastguard Worker
1295*5e7646d2SAndroid Build Coastguard Worker<h3>Examples</h3>
1296*5e7646d2SAndroid Build Coastguard Worker
1297*5e7646d2SAndroid Build Coastguard Worker<pre>
1298*5e7646d2SAndroid Build Coastguard WorkerLocAttribute fooProfile "Photo/Photographic Profile" "photopro.icc"
1299*5e7646d2SAndroid Build Coastguard Worker</pre>
1300*5e7646d2SAndroid Build Coastguard Worker
1301*5e7646d2SAndroid Build Coastguard Worker<h3>Description</h3>
1302*5e7646d2SAndroid Build Coastguard Worker
1303*5e7646d2SAndroid Build Coastguard Worker<p>The <code>LocAttribute</code> directive creates a localized PPD
1304*5e7646d2SAndroid Build Coastguard Workerattribute. The name may contain up to 40 ASCII characters within the
1305*5e7646d2SAndroid Build Coastguard Workerrange of decimal 33 to decimal 126 inclusive, except for the characters
1306*5e7646d2SAndroid Build Coastguard Workercomma (44), slash (47) and colon (58).</p>
1307*5e7646d2SAndroid Build Coastguard Worker
1308*5e7646d2SAndroid Build Coastguard Worker<p>The selector can be the empty string (<code>""</code>) or text of up
1309*5e7646d2SAndroid Build Coastguard Workerto 80 bytes.</p>
1310*5e7646d2SAndroid Build Coastguard Worker
1311*5e7646d2SAndroid Build Coastguard Worker<p>The value is any string or number; the string may contain multiple
1312*5e7646d2SAndroid Build Coastguard Workerlines, however no one line may exceed 255 bytes.</p>
1313*5e7646d2SAndroid Build Coastguard Worker
1314*5e7646d2SAndroid Build Coastguard Worker<h3>See Also</h3>
1315*5e7646d2SAndroid Build Coastguard Worker
1316*5e7646d2SAndroid Build Coastguard Worker<p><a href="#Attribute"><code>Attribute</code></a></p>
1317*5e7646d2SAndroid Build Coastguard Worker
1318*5e7646d2SAndroid Build Coastguard Worker
1319*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><a name='ManualCopies'>ManualCopies</a></h2>
1320*5e7646d2SAndroid Build Coastguard Worker
1321*5e7646d2SAndroid Build Coastguard Worker<h3>Syntax</h3>
1322*5e7646d2SAndroid Build Coastguard Worker
1323*5e7646d2SAndroid Build Coastguard Worker<pre>
1324*5e7646d2SAndroid Build Coastguard WorkerManualCopies <i>boolean-value</i>
1325*5e7646d2SAndroid Build Coastguard Worker</pre>
1326*5e7646d2SAndroid Build Coastguard Worker
1327*5e7646d2SAndroid Build Coastguard Worker<h3>Examples</h3>
1328*5e7646d2SAndroid Build Coastguard Worker
1329*5e7646d2SAndroid Build Coastguard Worker<pre>
1330*5e7646d2SAndroid Build Coastguard WorkerManualCopies no
1331*5e7646d2SAndroid Build Coastguard WorkerManualCopies yes
1332*5e7646d2SAndroid Build Coastguard Worker</pre>
1333*5e7646d2SAndroid Build Coastguard Worker
1334*5e7646d2SAndroid Build Coastguard Worker<h3>Description</h3>
1335*5e7646d2SAndroid Build Coastguard Worker
1336*5e7646d2SAndroid Build Coastguard Worker<p>The <code>ManualCopies</code> directive specifies whether copies
1337*5e7646d2SAndroid Build Coastguard Workerneed to be produced by the RIP filters. The default is
1338*5e7646d2SAndroid Build Coastguard Worker<code>no</code>.</p>
1339*5e7646d2SAndroid Build Coastguard Worker
1340*5e7646d2SAndroid Build Coastguard Worker<h3>See Also</h3>
1341*5e7646d2SAndroid Build Coastguard Worker
1342*5e7646d2SAndroid Build Coastguard Worker<p><a href='#Choice'><code>Choice</code></a>,
1343*5e7646d2SAndroid Build Coastguard Worker<a href='#ColorModel'><code>ColorModel</code></a>,
1344*5e7646d2SAndroid Build Coastguard Worker<a href='#Cutter'><code>Cutter</code></a>,
1345*5e7646d2SAndroid Build Coastguard Worker<a href='#Darkness'><code>Darkness</code></a>,
1346*5e7646d2SAndroid Build Coastguard Worker<a href='#Duplex'><code>Duplex</code></a>,
1347*5e7646d2SAndroid Build Coastguard Worker<a href='#Finishing'><code>Finishing</code></a>,
1348*5e7646d2SAndroid Build Coastguard Worker<a href='#Group'><code>Group</code></a>,
1349*5e7646d2SAndroid Build Coastguard Worker<a href='#InputSlot'><code>InputSlot</code></a>,
1350*5e7646d2SAndroid Build Coastguard Worker<a href='#MediaType'><code>MediaType</code></a>,
1351*5e7646d2SAndroid Build Coastguard Worker<a href='#Option'><code>Option</code></a>,
1352*5e7646d2SAndroid Build Coastguard Worker<a href='#Resolution'><code>Resolution</code></a>,
1353*5e7646d2SAndroid Build Coastguard Worker<a href='#UIConstraints'><code>UIConstraints</code></a></p>
1354*5e7646d2SAndroid Build Coastguard Worker
1355*5e7646d2SAndroid Build Coastguard Worker
1356*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><a name='Manufacturer'>Manufacturer</a></h2>
1357*5e7646d2SAndroid Build Coastguard Worker
1358*5e7646d2SAndroid Build Coastguard Worker<h3>Syntax</h3>
1359*5e7646d2SAndroid Build Coastguard Worker
1360*5e7646d2SAndroid Build Coastguard Worker<pre>
1361*5e7646d2SAndroid Build Coastguard WorkerManufacturer <i>"name"</i>
1362*5e7646d2SAndroid Build Coastguard Worker</pre>
1363*5e7646d2SAndroid Build Coastguard Worker
1364*5e7646d2SAndroid Build Coastguard Worker<h3>Examples</h3>
1365*5e7646d2SAndroid Build Coastguard Worker
1366*5e7646d2SAndroid Build Coastguard Worker<pre>
1367*5e7646d2SAndroid Build Coastguard WorkerManufacturer "Foo"
1368*5e7646d2SAndroid Build Coastguard WorkerManufacturer "HP"
1369*5e7646d2SAndroid Build Coastguard Worker</pre>
1370*5e7646d2SAndroid Build Coastguard Worker
1371*5e7646d2SAndroid Build Coastguard Worker<h3>Description</h3>
1372*5e7646d2SAndroid Build Coastguard Worker
1373*5e7646d2SAndroid Build Coastguard Worker<p>The <code>Manufacturer</code> directive specifies the
1374*5e7646d2SAndroid Build Coastguard Workermanufacturer name for the current driver. The name argument must
1375*5e7646d2SAndroid Build Coastguard Workerconform to the manufacturer name requirements in the Adobe PPD
1376*5e7646d2SAndroid Build Coastguard Workerfile specification.</p>
1377*5e7646d2SAndroid Build Coastguard Worker
1378*5e7646d2SAndroid Build Coastguard Worker<h3>See Also</h3>
1379*5e7646d2SAndroid Build Coastguard Worker
1380*5e7646d2SAndroid Build Coastguard Worker<p><a href="#FileName"><code>FileName</code></a>,
1381*5e7646d2SAndroid Build Coastguard Worker<a href='#ModelName'><code>ModelName</code></a>,
1382*5e7646d2SAndroid Build Coastguard Worker<a href='#PCFileName'><code>PCFileName</code></a>,
1383*5e7646d2SAndroid Build Coastguard Worker<a href='#Version'><code>Version</code></a></p>
1384*5e7646d2SAndroid Build Coastguard Worker
1385*5e7646d2SAndroid Build Coastguard Worker
1386*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><a name='MaxSize'>MaxSize</a></h2>
1387*5e7646d2SAndroid Build Coastguard Worker
1388*5e7646d2SAndroid Build Coastguard Worker<h3>Syntax</h3>
1389*5e7646d2SAndroid Build Coastguard Worker
1390*5e7646d2SAndroid Build Coastguard Worker<pre>
1391*5e7646d2SAndroid Build Coastguard WorkerMaxSize <i>width length</i>
1392*5e7646d2SAndroid Build Coastguard Worker</pre>
1393*5e7646d2SAndroid Build Coastguard Worker
1394*5e7646d2SAndroid Build Coastguard Worker<h3>Examples</h3>
1395*5e7646d2SAndroid Build Coastguard Worker
1396*5e7646d2SAndroid Build Coastguard Worker<pre>
1397*5e7646d2SAndroid Build Coastguard WorkerMaxSize 36in 100ft
1398*5e7646d2SAndroid Build Coastguard WorkerMaxSize 300cm 30m
1399*5e7646d2SAndroid Build Coastguard Worker</pre>
1400*5e7646d2SAndroid Build Coastguard Worker
1401*5e7646d2SAndroid Build Coastguard Worker<h3>Description</h3>
1402*5e7646d2SAndroid Build Coastguard Worker
1403*5e7646d2SAndroid Build Coastguard Worker<p>The <code>MaxSize</code> directive specifies the maximum width
1404*5e7646d2SAndroid Build Coastguard Workerand length that is supported for custom page sizes.</p>
1405*5e7646d2SAndroid Build Coastguard Worker
1406*5e7646d2SAndroid Build Coastguard Worker<h3>See Also</h3>
1407*5e7646d2SAndroid Build Coastguard Worker
1408*5e7646d2SAndroid Build Coastguard Worker<p><a href='#MinSize'><code>MinSize</code></a>,
1409*5e7646d2SAndroid Build Coastguard Worker<a href='#VariablePaperSize'><code>VariablePaperSize</code></a></p>
1410*5e7646d2SAndroid Build Coastguard Worker
1411*5e7646d2SAndroid Build Coastguard Worker
1412*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><a name='MediaSize'>MediaSize</a></h2>
1413*5e7646d2SAndroid Build Coastguard Worker
1414*5e7646d2SAndroid Build Coastguard Worker<h3>Syntax</h3>
1415*5e7646d2SAndroid Build Coastguard Worker
1416*5e7646d2SAndroid Build Coastguard Worker<pre>
1417*5e7646d2SAndroid Build Coastguard WorkerMediaSize <i>name</i>
1418*5e7646d2SAndroid Build Coastguard Worker</pre>
1419*5e7646d2SAndroid Build Coastguard Worker
1420*5e7646d2SAndroid Build Coastguard Worker<h3>Examples</h3>
1421*5e7646d2SAndroid Build Coastguard Worker
1422*5e7646d2SAndroid Build Coastguard Worker<pre>
1423*5e7646d2SAndroid Build Coastguard WorkerMediaSize Letter
1424*5e7646d2SAndroid Build Coastguard WorkerMediaSize A4
1425*5e7646d2SAndroid Build Coastguard Worker</pre>
1426*5e7646d2SAndroid Build Coastguard Worker
1427*5e7646d2SAndroid Build Coastguard Worker<h3>Description</h3>
1428*5e7646d2SAndroid Build Coastguard Worker
1429*5e7646d2SAndroid Build Coastguard Worker<p>The <code>MediaSize</code> directive adds the named size to the
1430*5e7646d2SAndroid Build Coastguard Workercurrent printer driver using the current margins defined with
1431*5e7646d2SAndroid Build Coastguard Workerthe <a href="#HWMargins"><code>HWMargins</code></a> directive. The
1432*5e7646d2SAndroid Build Coastguard Workername argument must match a media size defined using the <a
1433*5e7646d2SAndroid Build Coastguard Workerhref="#_media"><code>#media</code></a> directive.</p>
1434*5e7646d2SAndroid Build Coastguard Worker
1435*5e7646d2SAndroid Build Coastguard Worker<h3>See Also</h3>
1436*5e7646d2SAndroid Build Coastguard Worker
1437*5e7646d2SAndroid Build Coastguard Worker<p><a href='#_media'><code>#media</code></a>,
1438*5e7646d2SAndroid Build Coastguard Worker<a href='#HWMargins'><code>HWMargins</code></a></p>
1439*5e7646d2SAndroid Build Coastguard Worker
1440*5e7646d2SAndroid Build Coastguard Worker
1441*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><a name='MediaType'>MediaType</a></h2>
1442*5e7646d2SAndroid Build Coastguard Worker
1443*5e7646d2SAndroid Build Coastguard Worker<h3>Syntax</h3>
1444*5e7646d2SAndroid Build Coastguard Worker
1445*5e7646d2SAndroid Build Coastguard Worker<pre>
1446*5e7646d2SAndroid Build Coastguard WorkerMediaType <i>type name</i>
1447*5e7646d2SAndroid Build Coastguard WorkerMediaType <i>type "name/text"</i>
1448*5e7646d2SAndroid Build Coastguard Worker</pre>
1449*5e7646d2SAndroid Build Coastguard Worker
1450*5e7646d2SAndroid Build Coastguard Worker<h3>Examples</h3>
1451*5e7646d2SAndroid Build Coastguard Worker
1452*5e7646d2SAndroid Build Coastguard Worker<pre>
1453*5e7646d2SAndroid Build Coastguard WorkerMediaType 0 Auto
1454*5e7646d2SAndroid Build Coastguard WorkerMediaType 1 "Plain/Plain Paper"
1455*5e7646d2SAndroid Build Coastguard Worker</pre>
1456*5e7646d2SAndroid Build Coastguard Worker
1457*5e7646d2SAndroid Build Coastguard Worker<h3>Description</h3>
1458*5e7646d2SAndroid Build Coastguard Worker
1459*5e7646d2SAndroid Build Coastguard Worker<p>The <code>MediaType</code> directive adds a new choice to the
1460*5e7646d2SAndroid Build Coastguard Worker<code>MediaType</code> option. The type argument is a number
1461*5e7646d2SAndroid Build Coastguard Workerfrom 0 to 2<sup>32</sup>-1 specifying the value that is placed
1462*5e7646d2SAndroid Build Coastguard Workerin the <code>cupsMediaType</code> attribute in the PostScript page
1463*5e7646d2SAndroid Build Coastguard Workerdevice dictionary.</p>
1464*5e7646d2SAndroid Build Coastguard Worker
1465*5e7646d2SAndroid Build Coastguard Worker<p>The name may contain up to 40 ASCII characters within the range of
1466*5e7646d2SAndroid Build Coastguard Workerdecimal 33 to decimal 126 inclusive, except for the characters comma
1467*5e7646d2SAndroid Build Coastguard Worker(44), slash (47) and colon (58).</p>
1468*5e7646d2SAndroid Build Coastguard Worker
1469*5e7646d2SAndroid Build Coastguard Worker<p>If provided, the text can be any string up to 80 bytes in length.
1470*5e7646d2SAndroid Build Coastguard WorkerIf no text is provided, the name is used.</p>
1471*5e7646d2SAndroid Build Coastguard Worker
1472*5e7646d2SAndroid Build Coastguard Worker<p>The name is placed in the <code>MediaType</code> attribute in the
1473*5e7646d2SAndroid Build Coastguard WorkerPostScript page device dictionary.</p>
1474*5e7646d2SAndroid Build Coastguard Worker
1475*5e7646d2SAndroid Build Coastguard Worker<h3>See Also</h3>
1476*5e7646d2SAndroid Build Coastguard Worker
1477*5e7646d2SAndroid Build Coastguard Worker<p><a href='#Choice'><code>Choice</code></a>,
1478*5e7646d2SAndroid Build Coastguard Worker<a href='#ColorModel'><code>ColorModel</code></a>,
1479*5e7646d2SAndroid Build Coastguard Worker<a href='#Cutter'><code>Cutter</code></a>,
1480*5e7646d2SAndroid Build Coastguard Worker<a href='#Darkness'><code>Darkness</code></a>,
1481*5e7646d2SAndroid Build Coastguard Worker<a href='#Duplex'><code>Duplex</code></a>,
1482*5e7646d2SAndroid Build Coastguard Worker<a href='#Finishing'><code>Finishing</code></a>,
1483*5e7646d2SAndroid Build Coastguard Worker<a href='#Group'><code>Group</code></a>,
1484*5e7646d2SAndroid Build Coastguard Worker<a href='#InputSlot'><code>InputSlot</code></a>,
1485*5e7646d2SAndroid Build Coastguard Worker<a href='#Installable'><code>Installable</code></a>,
1486*5e7646d2SAndroid Build Coastguard Worker<a href='#Option'><code>Option</code></a>,
1487*5e7646d2SAndroid Build Coastguard Worker<a href='#Resolution'><code>Resolution</code></a>,
1488*5e7646d2SAndroid Build Coastguard Worker<a href='#UIConstraints'><code>UIConstraints</code></a></p>
1489*5e7646d2SAndroid Build Coastguard Worker
1490*5e7646d2SAndroid Build Coastguard Worker
1491*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><a name='MinSize'>MinSize</a></h2>
1492*5e7646d2SAndroid Build Coastguard Worker
1493*5e7646d2SAndroid Build Coastguard Worker<h3>Syntax</h3>
1494*5e7646d2SAndroid Build Coastguard Worker
1495*5e7646d2SAndroid Build Coastguard Worker<pre>
1496*5e7646d2SAndroid Build Coastguard WorkerMinSize <i>width length</i>
1497*5e7646d2SAndroid Build Coastguard Worker</pre>
1498*5e7646d2SAndroid Build Coastguard Worker
1499*5e7646d2SAndroid Build Coastguard Worker<h3>Examples</h3>
1500*5e7646d2SAndroid Build Coastguard Worker
1501*5e7646d2SAndroid Build Coastguard Worker<pre>
1502*5e7646d2SAndroid Build Coastguard WorkerMinSize 4in 8in
1503*5e7646d2SAndroid Build Coastguard WorkerMinSize 10cm 20cm
1504*5e7646d2SAndroid Build Coastguard Worker</pre>
1505*5e7646d2SAndroid Build Coastguard Worker
1506*5e7646d2SAndroid Build Coastguard Worker<h3>Description</h3>
1507*5e7646d2SAndroid Build Coastguard Worker
1508*5e7646d2SAndroid Build Coastguard Worker<p>The <code>MinSize</code> directive specifies the minimum width
1509*5e7646d2SAndroid Build Coastguard Workerand length that is supported for custom page sizes.</p>
1510*5e7646d2SAndroid Build Coastguard Worker
1511*5e7646d2SAndroid Build Coastguard Worker<h3>See Also</h3>
1512*5e7646d2SAndroid Build Coastguard Worker
1513*5e7646d2SAndroid Build Coastguard Worker<p><a href='#MaxSize'><code>MaxSize</code></a>,
1514*5e7646d2SAndroid Build Coastguard Worker<a href='#VariablePaperSize'><code>VariablePaperSize</code></a></p>
1515*5e7646d2SAndroid Build Coastguard Worker
1516*5e7646d2SAndroid Build Coastguard Worker
1517*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><a name='ModelName'>ModelName</a></h2>
1518*5e7646d2SAndroid Build Coastguard Worker
1519*5e7646d2SAndroid Build Coastguard Worker<h3>Syntax</h3>
1520*5e7646d2SAndroid Build Coastguard Worker
1521*5e7646d2SAndroid Build Coastguard Worker<pre>
1522*5e7646d2SAndroid Build Coastguard WorkerModelName <i>"name"</i>
1523*5e7646d2SAndroid Build Coastguard Worker</pre>
1524*5e7646d2SAndroid Build Coastguard Worker
1525*5e7646d2SAndroid Build Coastguard Worker<h3>Examples</h3>
1526*5e7646d2SAndroid Build Coastguard Worker
1527*5e7646d2SAndroid Build Coastguard Worker<pre>
1528*5e7646d2SAndroid Build Coastguard WorkerModelName "Foo Laser Printer 2000"
1529*5e7646d2SAndroid Build Coastguard WorkerModelName "Colorific 123"
1530*5e7646d2SAndroid Build Coastguard Worker</pre>
1531*5e7646d2SAndroid Build Coastguard Worker
1532*5e7646d2SAndroid Build Coastguard Worker<h3>Description</h3>
1533*5e7646d2SAndroid Build Coastguard Worker
1534*5e7646d2SAndroid Build Coastguard Worker<p>The <code>ModelName</code> directive sets the printer name for
1535*5e7646d2SAndroid Build Coastguard Workerthe <code>ModelName</code>, <code>NickName</code>, and
1536*5e7646d2SAndroid Build Coastguard Worker<code>ShortNickName</code> attributes for the printer driver. The
1537*5e7646d2SAndroid Build Coastguard Workername is any string of letters, numbers, spaces, and the
1538*5e7646d2SAndroid Build Coastguard Workercharacters ".", "/", "-", and "+" and should not begin with the
1539*5e7646d2SAndroid Build Coastguard Workermanufacturer name since the PPD compiler will add this
1540*5e7646d2SAndroid Build Coastguard Workerautomatically for you. The maximum length of the name string is
1541*5e7646d2SAndroid Build Coastguard Worker31 bytes to conform to the Adobe limits on the length of
1542*5e7646d2SAndroid Build Coastguard Worker<code>ShortNickName</code>.</p>
1543*5e7646d2SAndroid Build Coastguard Worker
1544*5e7646d2SAndroid Build Coastguard Worker<h3>See Also</h3>
1545*5e7646d2SAndroid Build Coastguard Worker
1546*5e7646d2SAndroid Build Coastguard Worker<p><a href="#FileName"><code>FileName</code></a>,
1547*5e7646d2SAndroid Build Coastguard Worker<a href='#Manufacturer'><code>Manufacturer</code></a>,
1548*5e7646d2SAndroid Build Coastguard Worker<a href='#PCFileName'><code>PCFileName</code></a>,
1549*5e7646d2SAndroid Build Coastguard Worker<a href='#Version'><code>Version</code></a></p>
1550*5e7646d2SAndroid Build Coastguard Worker
1551*5e7646d2SAndroid Build Coastguard Worker
1552*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><a name='ModelNumber'>ModelNumber</a></h2>
1553*5e7646d2SAndroid Build Coastguard Worker
1554*5e7646d2SAndroid Build Coastguard Worker<h3>Syntax</h3>
1555*5e7646d2SAndroid Build Coastguard Worker
1556*5e7646d2SAndroid Build Coastguard Worker<pre>
1557*5e7646d2SAndroid Build Coastguard WorkerModelNumber <i>expression</i>
1558*5e7646d2SAndroid Build Coastguard Worker</pre>
1559*5e7646d2SAndroid Build Coastguard Worker
1560*5e7646d2SAndroid Build Coastguard Worker<h3>Examples</h3>
1561*5e7646d2SAndroid Build Coastguard Worker
1562*5e7646d2SAndroid Build Coastguard Worker<pre>
1563*5e7646d2SAndroid Build Coastguard WorkerModelNumber 123
1564*5e7646d2SAndroid Build Coastguard WorkerModelNumber ($PCL_PAPER_SIZE $PCL_PJL)
1565*5e7646d2SAndroid Build Coastguard Worker</pre>
1566*5e7646d2SAndroid Build Coastguard Worker
1567*5e7646d2SAndroid Build Coastguard Worker<h3>Description</h3>
1568*5e7646d2SAndroid Build Coastguard Worker
1569*5e7646d2SAndroid Build Coastguard Worker<p>The <code>ModelNumber</code> directive sets the
1570*5e7646d2SAndroid Build Coastguard Worker<code>cupsModelNumber</code> attribute for the printer driver, which
1571*5e7646d2SAndroid Build Coastguard Workeris often used by the printer driver filter to tailor its output
1572*5e7646d2SAndroid Build Coastguard Workerfor the current device. The number is any integer or bitwise OR
1573*5e7646d2SAndroid Build Coastguard Workerof integers and constants that is appropriate for the printer
1574*5e7646d2SAndroid Build Coastguard Workerdriver filters.<p>
1575*5e7646d2SAndroid Build Coastguard Worker
1576*5e7646d2SAndroid Build Coastguard Worker<p>A complete list of printer driver model number constants is
1577*5e7646d2SAndroid Build Coastguard Workeravailable later in this appendix in the section titled, "<a
1578*5e7646d2SAndroid Build Coastguard Workerhref='#REF_MODEL_NUMBER'>Printer Driver ModelNumber
1579*5e7646d2SAndroid Build Coastguard WorkerConstants</a>".</p>
1580*5e7646d2SAndroid Build Coastguard Worker
1581*5e7646d2SAndroid Build Coastguard Worker<h3>See Also</h3>
1582*5e7646d2SAndroid Build Coastguard Worker
1583*5e7646d2SAndroid Build Coastguard Worker<p><a href='#DriverType'><code>DriverType</code></a>,
1584*5e7646d2SAndroid Build Coastguard Worker<a href='#Filter'><code>Filter</code></a></p>
1585*5e7646d2SAndroid Build Coastguard Worker
1586*5e7646d2SAndroid Build Coastguard Worker
1587*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><a name='Option'>Option</a></h2>
1588*5e7646d2SAndroid Build Coastguard Worker
1589*5e7646d2SAndroid Build Coastguard Worker<h3>Syntax</h3>
1590*5e7646d2SAndroid Build Coastguard Worker
1591*5e7646d2SAndroid Build Coastguard Worker<pre>
1592*5e7646d2SAndroid Build Coastguard WorkerOption <i>name type section order</i>
1593*5e7646d2SAndroid Build Coastguard WorkerOption <i>"name/text" type section order</i>
1594*5e7646d2SAndroid Build Coastguard Worker</pre>
1595*5e7646d2SAndroid Build Coastguard Worker
1596*5e7646d2SAndroid Build Coastguard Worker<h3>Examples</h3>
1597*5e7646d2SAndroid Build Coastguard Worker
1598*5e7646d2SAndroid Build Coastguard Worker<pre>
1599*5e7646d2SAndroid Build Coastguard WorkerOption Punch Boolean AnySetup 10
1600*5e7646d2SAndroid Build Coastguard WorkerOption "fooFinish/Finishing Option" PickOne DocumentSetup 10
1601*5e7646d2SAndroid Build Coastguard Worker</pre>
1602*5e7646d2SAndroid Build Coastguard Worker
1603*5e7646d2SAndroid Build Coastguard Worker<h3>Description</h3>
1604*5e7646d2SAndroid Build Coastguard Worker
1605*5e7646d2SAndroid Build Coastguard Worker<p>The <code>Option</code> directive creates a new option in the
1606*5e7646d2SAndroid Build Coastguard Workercurrent group, by default the <code>General</code> group. The name
1607*5e7646d2SAndroid Build Coastguard Workermay contain up to 40 ASCII characters within the range of decimal 33
1608*5e7646d2SAndroid Build Coastguard Workerto decimal 126 inclusive, except for the characters comma (44), slash
1609*5e7646d2SAndroid Build Coastguard Worker(47) and colon (58).</p>
1610*5e7646d2SAndroid Build Coastguard Worker
1611*5e7646d2SAndroid Build Coastguard Worker<p>If provided, the text can be any string up to 80 bytes in length.
1612*5e7646d2SAndroid Build Coastguard WorkerIf no text is provided, the name is used.</p>
1613*5e7646d2SAndroid Build Coastguard Worker
1614*5e7646d2SAndroid Build Coastguard Worker<p>The type argument is one of the following keywords:</p>
1615*5e7646d2SAndroid Build Coastguard Worker
1616*5e7646d2SAndroid Build Coastguard Worker<ul>
1617*5e7646d2SAndroid Build Coastguard Worker
1618*5e7646d2SAndroid Build Coastguard Worker	<li><code>Boolean</code> - a true/false option</li>
1619*5e7646d2SAndroid Build Coastguard Worker
1620*5e7646d2SAndroid Build Coastguard Worker	<li><code>PickOne</code> - allows the user to pick one
1621*5e7646d2SAndroid Build Coastguard Worker	choice from a list</li>
1622*5e7646d2SAndroid Build Coastguard Worker
1623*5e7646d2SAndroid Build Coastguard Worker	<li><code>PickMany</code> - allows the user to pick zero or
1624*5e7646d2SAndroid Build Coastguard Worker	more choices from a list</li>
1625*5e7646d2SAndroid Build Coastguard Worker
1626*5e7646d2SAndroid Build Coastguard Worker</ul>
1627*5e7646d2SAndroid Build Coastguard Worker
1628*5e7646d2SAndroid Build Coastguard Worker<p>The section argument is one of the following keywords:</p>
1629*5e7646d2SAndroid Build Coastguard Worker
1630*5e7646d2SAndroid Build Coastguard Worker<ul>
1631*5e7646d2SAndroid Build Coastguard Worker
1632*5e7646d2SAndroid Build Coastguard Worker	<li><code>AnySetup</code> - The option can be placed in
1633*5e7646d2SAndroid Build Coastguard Worker	either the DocumentSetup or PageSetup sections of the
1634*5e7646d2SAndroid Build Coastguard Worker	PostScript document</li>
1635*5e7646d2SAndroid Build Coastguard Worker
1636*5e7646d2SAndroid Build Coastguard Worker	<li><code>DocumentSetup</code> - The option must be placed
1637*5e7646d2SAndroid Build Coastguard Worker	in the DocumentSetup section of the PostScript document;
1638*5e7646d2SAndroid Build Coastguard Worker	this does not allow the option to be overridden on
1639*5e7646d2SAndroid Build Coastguard Worker	individual pages</li>
1640*5e7646d2SAndroid Build Coastguard Worker
1641*5e7646d2SAndroid Build Coastguard Worker	<li><code>ExitServer</code> - The option must be placed in a
1642*5e7646d2SAndroid Build Coastguard Worker	separate initialization job prior to the document (not
1643*5e7646d2SAndroid Build Coastguard Worker	used for raster printer drivers)</li>
1644*5e7646d2SAndroid Build Coastguard Worker
1645*5e7646d2SAndroid Build Coastguard Worker	<li><code>JCLSetup</code> - The option contains job control
1646*5e7646d2SAndroid Build Coastguard Worker	language commands and must be sent prior to the document
1647*5e7646d2SAndroid Build Coastguard Worker	using the <code>JCLBegin</code> and
1648*5e7646d2SAndroid Build Coastguard Worker	<code>JCLToPSInterpreter</code> attributes (not used for
1649*5e7646d2SAndroid Build Coastguard Worker	raster printer drivers)</li>
1650*5e7646d2SAndroid Build Coastguard Worker
1651*5e7646d2SAndroid Build Coastguard Worker	<li><code>PageSetup</code> - The option must be placed at the
1652*5e7646d2SAndroid Build Coastguard Worker	beginning of each page in the PostScript document</li>
1653*5e7646d2SAndroid Build Coastguard Worker
1654*5e7646d2SAndroid Build Coastguard Worker	<li><code>Prolog</code> - The option must be placed in the
1655*5e7646d2SAndroid Build Coastguard Worker	prolog section of the PostScript document; this is
1656*5e7646d2SAndroid Build Coastguard Worker	typically used to add special comments for high-end
1657*5e7646d2SAndroid Build Coastguard Worker	typesetters, but can also be used to add CUPS PostScript
1658*5e7646d2SAndroid Build Coastguard Worker	job ticket comments.</li>
1659*5e7646d2SAndroid Build Coastguard Worker
1660*5e7646d2SAndroid Build Coastguard Worker</ul>
1661*5e7646d2SAndroid Build Coastguard Worker
1662*5e7646d2SAndroid Build Coastguard Worker<p>The order argument is a real number greater than or equal to
1663*5e7646d2SAndroid Build Coastguard Worker0.0 and is used to sort the printer commands from many options
1664*5e7646d2SAndroid Build Coastguard Workerbefore sending them to the printer or RIP filter.</p>
1665*5e7646d2SAndroid Build Coastguard Worker
1666*5e7646d2SAndroid Build Coastguard Worker<h3>See Also</h3>
1667*5e7646d2SAndroid Build Coastguard Worker
1668*5e7646d2SAndroid Build Coastguard Worker<p><a href='#Choice'><code>Choice</code></a>,
1669*5e7646d2SAndroid Build Coastguard Worker<a href='#ColorModel'><code>ColorModel</code></a>,
1670*5e7646d2SAndroid Build Coastguard Worker<a href='#Cutter'><code>Cutter</code></a>,
1671*5e7646d2SAndroid Build Coastguard Worker<a href='#Darkness'><code>Darkness</code></a>,
1672*5e7646d2SAndroid Build Coastguard Worker<a href='#Duplex'><code>Duplex</code></a>,
1673*5e7646d2SAndroid Build Coastguard Worker<a href='#Finishing'><code>Finishing</code></a>,
1674*5e7646d2SAndroid Build Coastguard Worker<a href='#Group'><code>Group</code></a>,
1675*5e7646d2SAndroid Build Coastguard Worker<a href='#InputSlot'><code>InputSlot</code></a>,
1676*5e7646d2SAndroid Build Coastguard Worker<a href='#Installable'><code>Installable</code></a>,
1677*5e7646d2SAndroid Build Coastguard Worker<a href='#MediaType'><code>MediaType</code></a>,
1678*5e7646d2SAndroid Build Coastguard Worker<a href='#Resolution'><code>Resolution</code></a>,
1679*5e7646d2SAndroid Build Coastguard Worker<a href='#UIConstraints'><code>UIConstraints</code></a></p>
1680*5e7646d2SAndroid Build Coastguard Worker
1681*5e7646d2SAndroid Build Coastguard Worker
1682*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><a name='PCFileName'>PCFileName</a></h2>
1683*5e7646d2SAndroid Build Coastguard Worker
1684*5e7646d2SAndroid Build Coastguard Worker<h3>Syntax</h3>
1685*5e7646d2SAndroid Build Coastguard Worker
1686*5e7646d2SAndroid Build Coastguard Worker<pre>
1687*5e7646d2SAndroid Build Coastguard WorkerPCFileName <i>"filename.ppd"</i>
1688*5e7646d2SAndroid Build Coastguard Worker</pre>
1689*5e7646d2SAndroid Build Coastguard Worker
1690*5e7646d2SAndroid Build Coastguard Worker<h3>Examples</h3>
1691*5e7646d2SAndroid Build Coastguard Worker
1692*5e7646d2SAndroid Build Coastguard Worker<pre>
1693*5e7646d2SAndroid Build Coastguard WorkerPCFileName "foljt2k1.ppd"
1694*5e7646d2SAndroid Build Coastguard WorkerPCFileName "deskjet.ppd"
1695*5e7646d2SAndroid Build Coastguard Worker</pre>
1696*5e7646d2SAndroid Build Coastguard Worker
1697*5e7646d2SAndroid Build Coastguard Worker<h3>Description</h3>
1698*5e7646d2SAndroid Build Coastguard Worker
1699*5e7646d2SAndroid Build Coastguard Worker<p>The <code>PCFileName</code> attribute specifies the name of the
1700*5e7646d2SAndroid Build Coastguard WorkerPPD file for the current driver. The filename argument must
1701*5e7646d2SAndroid Build Coastguard Workerconform to the Adobe PPD file specification and can be no more
1702*5e7646d2SAndroid Build Coastguard Workerthan 8 filename characters plus the extension ".ppd".</p>
1703*5e7646d2SAndroid Build Coastguard Worker
1704*5e7646d2SAndroid Build Coastguard Worker<h3>See Also</h3>
1705*5e7646d2SAndroid Build Coastguard Worker
1706*5e7646d2SAndroid Build Coastguard Worker<p><a href="#FileName"><code>FileName</code></a>,
1707*5e7646d2SAndroid Build Coastguard Worker<a href='#Manufacturer'><code>Manufacturer</code></a>,
1708*5e7646d2SAndroid Build Coastguard Worker<a href='#ModelName'><code>ModelName</code></a>,
1709*5e7646d2SAndroid Build Coastguard Worker<a href='#Version'><code>Version</code></a></p>
1710*5e7646d2SAndroid Build Coastguard Worker
1711*5e7646d2SAndroid Build Coastguard Worker
1712*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><span class="info">Deprecated</span><a name='Resolution'>Resolution</a></h2>
1713*5e7646d2SAndroid Build Coastguard Worker
1714*5e7646d2SAndroid Build Coastguard Worker<h3>Syntax</h3>
1715*5e7646d2SAndroid Build Coastguard Worker
1716*5e7646d2SAndroid Build Coastguard Worker<pre>
1717*5e7646d2SAndroid Build Coastguard WorkerResolution <i>colorspace bits-per-color row-count row-feed row-step name</i>
1718*5e7646d2SAndroid Build Coastguard WorkerResolution <i>colorspace bits-per-color row-count row-feed row-step "name/text"</i>
1719*5e7646d2SAndroid Build Coastguard Worker</pre>
1720*5e7646d2SAndroid Build Coastguard Worker
1721*5e7646d2SAndroid Build Coastguard Worker<h3>Examples</h3>
1722*5e7646d2SAndroid Build Coastguard Worker
1723*5e7646d2SAndroid Build Coastguard Worker<pre>
1724*5e7646d2SAndroid Build Coastguard WorkerResolution - 8 0 0 0 300dpi
1725*5e7646d2SAndroid Build Coastguard WorkerResolution k 8 0 0 0 "600x300dpi/600 DPI Grayscale"
1726*5e7646d2SAndroid Build Coastguard Worker</pre>
1727*5e7646d2SAndroid Build Coastguard Worker
1728*5e7646d2SAndroid Build Coastguard Worker<h3>Description</h3>
1729*5e7646d2SAndroid Build Coastguard Worker
1730*5e7646d2SAndroid Build Coastguard Worker<p>The <code>Resolution</code> directive creates a new
1731*5e7646d2SAndroid Build Coastguard Worker<code>Resolution</code> option choice which sets the
1732*5e7646d2SAndroid Build Coastguard Worker<code>HWResolution</code>, <code>cupsBitsPerColor</code>,
1733*5e7646d2SAndroid Build Coastguard Worker<code>cupsRowCount</code>, <code>cupsRowFeed</code>,
1734*5e7646d2SAndroid Build Coastguard Worker<code>cupsRowStep</code>, and optionally the <code>cupsColorSpace</code>
1735*5e7646d2SAndroid Build Coastguard Workerpage device dictionary attributes. The colorspace argument
1736*5e7646d2SAndroid Build Coastguard Workerspecifies a colorspace to use for the specified resolution and
1737*5e7646d2SAndroid Build Coastguard Workercan be the hyphen (<code>-</code>) character to make no change to
1738*5e7646d2SAndroid Build Coastguard Workerthe selected color model or any keyword listed in the section
1739*5e7646d2SAndroid Build Coastguard Workertitled, "<a href='#REF_COLOR_SPACE'>Colorspace Keywords</a>", to
1740*5e7646d2SAndroid Build Coastguard Workerforce the named colorspace.</p>
1741*5e7646d2SAndroid Build Coastguard Worker
1742*5e7646d2SAndroid Build Coastguard Worker<p>The bits-per-color argument specifies the number of bits per
1743*5e7646d2SAndroid Build Coastguard Workercolor to generate when RIP'ing a job. The values 1, 2, 4, and 8
1744*5e7646d2SAndroid Build Coastguard Workerare currently supported by CUPS.</p>
1745*5e7646d2SAndroid Build Coastguard Worker
1746*5e7646d2SAndroid Build Coastguard Worker<p>The row-count, row-feed, and row-step argument specify the
1747*5e7646d2SAndroid Build Coastguard Workerdriver-dependent values for the <code>cupsRowCount</code>,
1748*5e7646d2SAndroid Build Coastguard Worker<code>cupsRowFeed</code>, and <code>cupsRowStep</code> attributes,
1749*5e7646d2SAndroid Build Coastguard Workerrespectively. Most drivers leave these attributes set to 0, but
1750*5e7646d2SAndroid Build Coastguard Workerany number from 0 to 2<sup>32</sup>-1 is allowed.</p>
1751*5e7646d2SAndroid Build Coastguard Worker
1752*5e7646d2SAndroid Build Coastguard Worker<p>The name argument must conform to the resolution naming
1753*5e7646d2SAndroid Build Coastguard Workerconventions in the Adobe PPD file specification, either
1754*5e7646d2SAndroid Build Coastguard Worker<code>HHHdpi</code> for symmetric resolutions or <code>HHHxVVVdpi</code>
1755*5e7646d2SAndroid Build Coastguard Workerfor asymmetric resolutions. The <code>HHH</code> and <code>VVV</code> in
1756*5e7646d2SAndroid Build Coastguard Workerthe examples represent the horizontal and vertical resolutions
1757*5e7646d2SAndroid Build Coastguard Workerwhich must be positive integer values.</p>
1758*5e7646d2SAndroid Build Coastguard Worker
1759*5e7646d2SAndroid Build Coastguard Worker<p>If provided, the text can be any string up to 80 bytes in length.
1760*5e7646d2SAndroid Build Coastguard WorkerIf no text is provided, the name is used.</p>
1761*5e7646d2SAndroid Build Coastguard Worker
1762*5e7646d2SAndroid Build Coastguard Worker<h3>See Also</h3>
1763*5e7646d2SAndroid Build Coastguard Worker
1764*5e7646d2SAndroid Build Coastguard Worker<p><a href='#Choice'><code>Choice</code></a>,
1765*5e7646d2SAndroid Build Coastguard Worker<a href='#ColorModel'><code>ColorModel</code></a>,
1766*5e7646d2SAndroid Build Coastguard Worker<a href='#Cutter'><code>Cutter</code></a>,
1767*5e7646d2SAndroid Build Coastguard Worker<a href='#Darkness'><code>Darkness</code></a>,
1768*5e7646d2SAndroid Build Coastguard Worker<a href='#Duplex'><code>Duplex</code></a>,
1769*5e7646d2SAndroid Build Coastguard Worker<a href='#Finishing'><code>Finishing</code></a>,
1770*5e7646d2SAndroid Build Coastguard Worker<a href='#Group'><code>Group</code></a>,
1771*5e7646d2SAndroid Build Coastguard Worker<a href='#InputSlot'><code>InputSlot</code></a>,
1772*5e7646d2SAndroid Build Coastguard Worker<a href='#Installable'><code>Installable</code></a>,
1773*5e7646d2SAndroid Build Coastguard Worker<a href='#MediaType'><code>MediaType</code></a>,
1774*5e7646d2SAndroid Build Coastguard Worker<a href='#Option'><code>Option</code></a>,
1775*5e7646d2SAndroid Build Coastguard Worker<a href='#UIConstraints'><code>UIConstraints</code></a></p>
1776*5e7646d2SAndroid Build Coastguard Worker
1777*5e7646d2SAndroid Build Coastguard Worker
1778*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><span class="info">Deprecated</span><a name='SimpleColorProfile'>SimpleColorProfile</a></h2>
1779*5e7646d2SAndroid Build Coastguard Worker
1780*5e7646d2SAndroid Build Coastguard Worker<h3>Syntax</h3>
1781*5e7646d2SAndroid Build Coastguard Worker
1782*5e7646d2SAndroid Build Coastguard Worker<pre>
1783*5e7646d2SAndroid Build Coastguard WorkerSimpleColorProfile <i>resolution/mediatype density
1784*5e7646d2SAndroid Build Coastguard Worker    yellow-density red-density gamma
1785*5e7646d2SAndroid Build Coastguard Worker    red-adjust green-adjust blue-adjust</i>
1786*5e7646d2SAndroid Build Coastguard Worker</pre>
1787*5e7646d2SAndroid Build Coastguard Worker
1788*5e7646d2SAndroid Build Coastguard Worker<h3>Examples</h3>
1789*5e7646d2SAndroid Build Coastguard Worker
1790*5e7646d2SAndroid Build Coastguard Worker<pre>
1791*5e7646d2SAndroid Build Coastguard WorkerSimpleColorProfile -/- 100 100 200 1.0 0 0 0
1792*5e7646d2SAndroid Build Coastguard Worker
1793*5e7646d2SAndroid Build Coastguard WorkerSimpleColorProfile 360dpi/- 100 95 150 1.2 5 10 15
1794*5e7646d2SAndroid Build Coastguard Worker
1795*5e7646d2SAndroid Build Coastguard WorkerSimpleColorProfile 720dpi/Glossy 100 90 120 1.5 -5 5 10
1796*5e7646d2SAndroid Build Coastguard Worker</pre>
1797*5e7646d2SAndroid Build Coastguard Worker
1798*5e7646d2SAndroid Build Coastguard Worker<h3>Description</h3>
1799*5e7646d2SAndroid Build Coastguard Worker
1800*5e7646d2SAndroid Build Coastguard Worker<p>The <code>SimpleColorProfile</code> directive creates a
1801*5e7646d2SAndroid Build Coastguard Workermatrix-based <a href="#ColorProfile"><code>ColorProfile</code></a>.
1802*5e7646d2SAndroid Build Coastguard WorkerThe resolution and mediatype arguments specify the
1803*5e7646d2SAndroid Build Coastguard Worker<code>Resolution</code> and <code>MediaType</code> choices which use the
1804*5e7646d2SAndroid Build Coastguard Workerprofile; the hyphen (<code>-</code>) is used to specify that any
1805*5e7646d2SAndroid Build Coastguard Workerresolution or mediatype can be used with the profile.</p>
1806*5e7646d2SAndroid Build Coastguard Worker
1807*5e7646d2SAndroid Build Coastguard Worker<p>The density argument specifies the linear density correction
1808*5e7646d2SAndroid Build Coastguard Workerto apply to the color values (P = d * 0.01 * p<sup>g</sup>) and
1809*5e7646d2SAndroid Build Coastguard Workeris an integer greater than 0 and less than or equal to 100. A
1810*5e7646d2SAndroid Build Coastguard Workervalue 100 of disables density correction while lower values
1811*5e7646d2SAndroid Build Coastguard Workerproduce proportionately lighter output. The density value
1812*5e7646d2SAndroid Build Coastguard Workeradjusts all color channels equally in all color modes.</p>
1813*5e7646d2SAndroid Build Coastguard Worker
1814*5e7646d2SAndroid Build Coastguard Worker<p>The yellow-density argument specifies the density of the
1815*5e7646d2SAndroid Build Coastguard Workeryellow channel when printing in grayscale or RGB mode and is an
1816*5e7646d2SAndroid Build Coastguard Workerinteger greater than 0 and less then or equal to 100. A value of
1817*5e7646d2SAndroid Build Coastguard Worker100 disables yellow density correction while lower values
1818*5e7646d2SAndroid Build Coastguard Workerproduce proportionately lighter output.</p>
1819*5e7646d2SAndroid Build Coastguard Worker
1820*5e7646d2SAndroid Build Coastguard Worker<P>The red-density argument specifies the two-color density
1821*5e7646d2SAndroid Build Coastguard Workerlimit (e.g. C + M, C + Y, M + Y) when printing in grayscale or
1822*5e7646d2SAndroid Build Coastguard WorkerRGB mode and is an integer greater than 0 and less then or equal
1823*5e7646d2SAndroid Build Coastguard Workerto 200. A value of 200 disables two-color density correction
1824*5e7646d2SAndroid Build Coastguard Workerwhile lower values produce proportionately lighter output.</p>
1825*5e7646d2SAndroid Build Coastguard Worker
1826*5e7646d2SAndroid Build Coastguard Worker<p>The gamma argument specifies the gamma correction to apply to
1827*5e7646d2SAndroid Build Coastguard Workerthe color values (P = p<sup>g</sup>) and is a real number
1828*5e7646d2SAndroid Build Coastguard Workergreater than 0. Values larger than 1 cause a general lightening
1829*5e7646d2SAndroid Build Coastguard Workerof the print while values smaller than 1 cause a general
1830*5e7646d2SAndroid Build Coastguard Workerdarkening of the print. A value of 1 disables gamma
1831*5e7646d2SAndroid Build Coastguard Workercorrection.</p>
1832*5e7646d2SAndroid Build Coastguard Worker
1833*5e7646d2SAndroid Build Coastguard Worker<p>The red-adjust, green-adjust, blue-adjust arguments specify
1834*5e7646d2SAndroid Build Coastguard Workerthe percentage of color to add or remove. Positive red-adjust
1835*5e7646d2SAndroid Build Coastguard Workervalues add magenta and negative values add yellow. Positive
1836*5e7646d2SAndroid Build Coastguard Workergreen-adjust values add cyan and negative values add yellow.
1837*5e7646d2SAndroid Build Coastguard WorkerPositive blue-adjust values add cyan and negative values add
1838*5e7646d2SAndroid Build Coastguard Workermagenta. Values of 0 disable color adjustments.</p>
1839*5e7646d2SAndroid Build Coastguard Worker
1840*5e7646d2SAndroid Build Coastguard Worker<h3>See Also</h3>
1841*5e7646d2SAndroid Build Coastguard Worker
1842*5e7646d2SAndroid Build Coastguard Worker<p><a href='#ColorProfile'><code>ColorProfile</code></a></p>
1843*5e7646d2SAndroid Build Coastguard Worker
1844*5e7646d2SAndroid Build Coastguard Worker
1845*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><a name='Throughput'>Throughput</a></h2>
1846*5e7646d2SAndroid Build Coastguard Worker
1847*5e7646d2SAndroid Build Coastguard Worker<h3>Syntax</h3>
1848*5e7646d2SAndroid Build Coastguard Worker
1849*5e7646d2SAndroid Build Coastguard Worker<pre>
1850*5e7646d2SAndroid Build Coastguard WorkerThroughput <i>pages-per-minute</i>
1851*5e7646d2SAndroid Build Coastguard Worker</pre>
1852*5e7646d2SAndroid Build Coastguard Worker
1853*5e7646d2SAndroid Build Coastguard Worker<h3>Examples</h3>
1854*5e7646d2SAndroid Build Coastguard Worker
1855*5e7646d2SAndroid Build Coastguard Worker<pre>
1856*5e7646d2SAndroid Build Coastguard WorkerThroughput 1
1857*5e7646d2SAndroid Build Coastguard WorkerThroughput 10
1858*5e7646d2SAndroid Build Coastguard Worker</pre>
1859*5e7646d2SAndroid Build Coastguard Worker
1860*5e7646d2SAndroid Build Coastguard Worker<h3>Description</h3>
1861*5e7646d2SAndroid Build Coastguard Worker
1862*5e7646d2SAndroid Build Coastguard Worker<p>The <code>Throughput</code> directive sets the <code>Throughput</code>
1863*5e7646d2SAndroid Build Coastguard Workerattribute for the current printer driver. The pages-per-minute
1864*5e7646d2SAndroid Build Coastguard Workerargument is a positive integer representing the peak number of
1865*5e7646d2SAndroid Build Coastguard Workerpages per minute that the printer is capable of producing. Use a
1866*5e7646d2SAndroid Build Coastguard Workervalue of 1 for printers that produce less than 1 page per
1867*5e7646d2SAndroid Build Coastguard Workerminute.</p>
1868*5e7646d2SAndroid Build Coastguard Worker
1869*5e7646d2SAndroid Build Coastguard Worker
1870*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><a name='UIConstraints'>UIConstraints</a></h2>
1871*5e7646d2SAndroid Build Coastguard Worker
1872*5e7646d2SAndroid Build Coastguard Worker<h3>Syntax</h3>
1873*5e7646d2SAndroid Build Coastguard Worker
1874*5e7646d2SAndroid Build Coastguard Worker<pre>
1875*5e7646d2SAndroid Build Coastguard WorkerUIConstraints <i>"*Option1 *Option2"</i>
1876*5e7646d2SAndroid Build Coastguard WorkerUIConstraints <i>"*Option1 Choice1 *Option2"</i>
1877*5e7646d2SAndroid Build Coastguard WorkerUIConstraints <i>"*Option1 *Option2 Choice2"</i>
1878*5e7646d2SAndroid Build Coastguard WorkerUIConstraints <i>"*Option1 Choice1 *Option2 Choice2"</i>
1879*5e7646d2SAndroid Build Coastguard Worker</pre>
1880*5e7646d2SAndroid Build Coastguard Worker
1881*5e7646d2SAndroid Build Coastguard Worker<h3>Examples</h3>
1882*5e7646d2SAndroid Build Coastguard Worker
1883*5e7646d2SAndroid Build Coastguard Worker<pre>
1884*5e7646d2SAndroid Build Coastguard WorkerUIConstraints "*Finishing *MediaType"
1885*5e7646d2SAndroid Build Coastguard WorkerUIConstraints "*Option1 False *Duplex"
1886*5e7646d2SAndroid Build Coastguard WorkerUIConstraints "*Duplex *MediaType Transparency"
1887*5e7646d2SAndroid Build Coastguard WorkerUIConstraints "*Resolution 600dpi *ColorModel RGB"
1888*5e7646d2SAndroid Build Coastguard Worker</pre>
1889*5e7646d2SAndroid Build Coastguard Worker
1890*5e7646d2SAndroid Build Coastguard Worker<h3>Description</h3>
1891*5e7646d2SAndroid Build Coastguard Worker
1892*5e7646d2SAndroid Build Coastguard Worker<p>The <code>UIConstraints</code> directive adds a constraint
1893*5e7646d2SAndroid Build Coastguard Workerbetween two options. Constraints inform the application when a
1894*5e7646d2SAndroid Build Coastguard Workeruser has chosen incompatible options. Each option name is
1895*5e7646d2SAndroid Build Coastguard Workerpreceded by the asterisk (<code>*</code>). If no choice is given for
1896*5e7646d2SAndroid Build Coastguard Workeran option, then all choices <i>except</i> <code>False</code> and
1897*5e7646d2SAndroid Build Coastguard Worker<code>None</code> will conflict with the other option and choice(s).
1898*5e7646d2SAndroid Build Coastguard WorkerSince the PPD compiler automatically adds reciprocal constraints
1899*5e7646d2SAndroid Build Coastguard Worker(option A conflicts with option B, so therefore option B
1900*5e7646d2SAndroid Build Coastguard Workerconflicts with option A), you need only specify the constraint
1901*5e7646d2SAndroid Build Coastguard Workeronce.</p>
1902*5e7646d2SAndroid Build Coastguard Worker
1903*5e7646d2SAndroid Build Coastguard Worker<h3>See Also</h3>
1904*5e7646d2SAndroid Build Coastguard Worker
1905*5e7646d2SAndroid Build Coastguard Worker<p><a href='#Choice'><code>Choice</code></a>,
1906*5e7646d2SAndroid Build Coastguard Worker<a href='#ColorModel'><code>ColorModel</code></a>,
1907*5e7646d2SAndroid Build Coastguard Worker<a href='#Cutter'><code>Cutter</code></a>,
1908*5e7646d2SAndroid Build Coastguard Worker<a href='#Darkness'><code>Darkness</code></a>,
1909*5e7646d2SAndroid Build Coastguard Worker<a href='#Duplex'><code>Duplex</code></a>,
1910*5e7646d2SAndroid Build Coastguard Worker<a href='#Finishing'><code>Finishing</code></a>,
1911*5e7646d2SAndroid Build Coastguard Worker<a href='#Group'><code>Group</code></a>,
1912*5e7646d2SAndroid Build Coastguard Worker<a href='#InputSlot'><code>InputSlot</code></a>,
1913*5e7646d2SAndroid Build Coastguard Worker<a href='#Installable'><code>Installable</code></a>,
1914*5e7646d2SAndroid Build Coastguard Worker<a href='#MediaType'><code>MediaType</code></a>,
1915*5e7646d2SAndroid Build Coastguard Worker<a href='#Option'><code>Option</code></a>,
1916*5e7646d2SAndroid Build Coastguard Worker<a href='#Resolution'><code>Resolution</code></a></p>
1917*5e7646d2SAndroid Build Coastguard Worker
1918*5e7646d2SAndroid Build Coastguard Worker
1919*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><a name='VariablePaperSize'>VariablePaperSize</a></h2>
1920*5e7646d2SAndroid Build Coastguard Worker
1921*5e7646d2SAndroid Build Coastguard Worker<h3>Syntax</h3>
1922*5e7646d2SAndroid Build Coastguard Worker
1923*5e7646d2SAndroid Build Coastguard Worker<pre>
1924*5e7646d2SAndroid Build Coastguard WorkerVariablePaperSize <i>boolean-value</i>
1925*5e7646d2SAndroid Build Coastguard Worker</pre>
1926*5e7646d2SAndroid Build Coastguard Worker
1927*5e7646d2SAndroid Build Coastguard Worker<h3>Examples</h3>
1928*5e7646d2SAndroid Build Coastguard Worker
1929*5e7646d2SAndroid Build Coastguard Worker<pre>
1930*5e7646d2SAndroid Build Coastguard WorkerVariablePaperSize yes
1931*5e7646d2SAndroid Build Coastguard WorkerVariablePaperSize no
1932*5e7646d2SAndroid Build Coastguard Worker</pre>
1933*5e7646d2SAndroid Build Coastguard Worker
1934*5e7646d2SAndroid Build Coastguard Worker<h3>Description</h3>
1935*5e7646d2SAndroid Build Coastguard Worker
1936*5e7646d2SAndroid Build Coastguard Worker<p>The <code>VariablePaperSize</code> directive specifies whether
1937*5e7646d2SAndroid Build Coastguard Workerthe current printer supports variable (custom) page sizes. When
1938*5e7646d2SAndroid Build Coastguard Worker<code>yes</code> is specified, the PPD compiler will include the
1939*5e7646d2SAndroid Build Coastguard Workerstandard PPD attributes required to support custom page
1940*5e7646d2SAndroid Build Coastguard Workersizes.</p>
1941*5e7646d2SAndroid Build Coastguard Worker
1942*5e7646d2SAndroid Build Coastguard Worker<h3>See Also</h3>
1943*5e7646d2SAndroid Build Coastguard Worker
1944*5e7646d2SAndroid Build Coastguard Worker<p><a href='#MaxSize'><code>MaxSize</code></a>,
1945*5e7646d2SAndroid Build Coastguard Worker<a href='#MinSize'><code>MinSize</code></a></p>
1946*5e7646d2SAndroid Build Coastguard Worker
1947*5e7646d2SAndroid Build Coastguard Worker
1948*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><a name='Version'>Version</a></h2>
1949*5e7646d2SAndroid Build Coastguard Worker
1950*5e7646d2SAndroid Build Coastguard Worker<h3>Syntax</h3>
1951*5e7646d2SAndroid Build Coastguard Worker
1952*5e7646d2SAndroid Build Coastguard Worker<pre>
1953*5e7646d2SAndroid Build Coastguard WorkerVersion <i>number</i>
1954*5e7646d2SAndroid Build Coastguard Worker</pre>
1955*5e7646d2SAndroid Build Coastguard Worker
1956*5e7646d2SAndroid Build Coastguard Worker<h3>Examples</h3>
1957*5e7646d2SAndroid Build Coastguard Worker
1958*5e7646d2SAndroid Build Coastguard Worker<pre>
1959*5e7646d2SAndroid Build Coastguard WorkerVersion 1.0
1960*5e7646d2SAndroid Build Coastguard WorkerVersion 3.7
1961*5e7646d2SAndroid Build Coastguard Worker</pre>
1962*5e7646d2SAndroid Build Coastguard Worker
1963*5e7646d2SAndroid Build Coastguard Worker<h3>Description</h3>
1964*5e7646d2SAndroid Build Coastguard Worker
1965*5e7646d2SAndroid Build Coastguard Worker<p>The <code>Version</code> directive sets the <code>FileVersion</code>
1966*5e7646d2SAndroid Build Coastguard Workerattribute in the PPD file and is also used for the
1967*5e7646d2SAndroid Build Coastguard Worker<code>NickName</code> attribute. The number argument is a positive
1968*5e7646d2SAndroid Build Coastguard Workerreal number.</p>
1969*5e7646d2SAndroid Build Coastguard Worker
1970*5e7646d2SAndroid Build Coastguard Worker<h3>See Also</h3>
1971*5e7646d2SAndroid Build Coastguard Worker
1972*5e7646d2SAndroid Build Coastguard Worker<p><a href='#Manufacturer'><code>Manufacturer</code></a>,
1973*5e7646d2SAndroid Build Coastguard Worker<a href='#ModelName'><code>ModelName</code></a>,
1974*5e7646d2SAndroid Build Coastguard Worker<a href='#PCFileName'><code>PCFileName</code></a></p>
1975*5e7646d2SAndroid Build Coastguard Worker
1976*5e7646d2SAndroid Build Coastguard Worker
1977*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><a name='REF_INCLUDE'>Standard Include Files</h2>
1978*5e7646d2SAndroid Build Coastguard Worker
1979*5e7646d2SAndroid Build Coastguard Worker<p><a href='#TABLEB-1'>Table B-1</a> shows the standard include
1980*5e7646d2SAndroid Build Coastguard Workerfiles which are provided with the DDK.</p>
1981*5e7646d2SAndroid Build Coastguard Worker
1982*5e7646d2SAndroid Build Coastguard Worker<center><table border='1' cellpadding='5' cellspacing='0' width='80%'>
1983*5e7646d2SAndroid Build Coastguard Worker<caption align='bottom'><a name='TABLEB-1'><i>Table B-1,
1984*5e7646d2SAndroid Build Coastguard WorkerStandard Include Files</i></a></caption>
1985*5e7646d2SAndroid Build Coastguard Worker<tr bgcolor='#cccccc'>
1986*5e7646d2SAndroid Build Coastguard Worker	<th>Include File</th>
1987*5e7646d2SAndroid Build Coastguard Worker	<th>Description</th>
1988*5e7646d2SAndroid Build Coastguard Worker</tr>
1989*5e7646d2SAndroid Build Coastguard Worker<tr>
1990*5e7646d2SAndroid Build Coastguard Worker	<td valign='top'><code>&lt;font.defs&gt;</code></td>
1991*5e7646d2SAndroid Build Coastguard Worker	<td align='justify' valign='top'>Defines all of the
1992*5e7646d2SAndroid Build Coastguard Worker	standard fonts which are included with ESP Ghostscript
1993*5e7646d2SAndroid Build Coastguard Worker	and the Apple PDF RIP.</td>
1994*5e7646d2SAndroid Build Coastguard Worker</tr>
1995*5e7646d2SAndroid Build Coastguard Worker<tr>
1996*5e7646d2SAndroid Build Coastguard Worker	<td valign='top'><code>&lt;epson.h&gt;</code></td>
1997*5e7646d2SAndroid Build Coastguard Worker	<td align='justify' valign='top'>Defines all of the
1998*5e7646d2SAndroid Build Coastguard Worker	CUPS ESC/P sample driver constants.</td>
1999*5e7646d2SAndroid Build Coastguard Worker</tr>
2000*5e7646d2SAndroid Build Coastguard Worker<tr>
2001*5e7646d2SAndroid Build Coastguard Worker	<td valign='top'><code>&lt;escp.h&gt;</code></td>
2002*5e7646d2SAndroid Build Coastguard Worker	<td align='justify' valign='top'>Defines all of the
2003*5e7646d2SAndroid Build Coastguard Worker	DDK ESC/P driver constants.</td>
2004*5e7646d2SAndroid Build Coastguard Worker</tr>
2005*5e7646d2SAndroid Build Coastguard Worker<tr>
2006*5e7646d2SAndroid Build Coastguard Worker	<td valign='top'><code>&lt;hp.h&gt;</code></td>
2007*5e7646d2SAndroid Build Coastguard Worker	<td align='justify' valign='top'>Defines all of the
2008*5e7646d2SAndroid Build Coastguard Worker	CUPS HP-PCL sample driver constants.</td>
2009*5e7646d2SAndroid Build Coastguard Worker</tr>
2010*5e7646d2SAndroid Build Coastguard Worker<tr>
2011*5e7646d2SAndroid Build Coastguard Worker	<td valign='top'><code>&lt;label.h&gt;</code></td>
2012*5e7646d2SAndroid Build Coastguard Worker	<td align='justify' valign='top'>Defines all of the
2013*5e7646d2SAndroid Build Coastguard Worker	CUPS label sample driver constants.</td>
2014*5e7646d2SAndroid Build Coastguard Worker</tr>
2015*5e7646d2SAndroid Build Coastguard Worker<tr>
2016*5e7646d2SAndroid Build Coastguard Worker	<td valign='top'><code>&lt;media.defs&gt;</code></td>
2017*5e7646d2SAndroid Build Coastguard Worker	<td align='justify' valign='top'>Defines all of the
2018*5e7646d2SAndroid Build Coastguard Worker	standard media sizes listed in Appendix B of the Adobe
2019*5e7646d2SAndroid Build Coastguard Worker	PostScript Printer Description File Format
2020*5e7646d2SAndroid Build Coastguard Worker	Specification.</td>
2021*5e7646d2SAndroid Build Coastguard Worker</tr>
2022*5e7646d2SAndroid Build Coastguard Worker<tr>
2023*5e7646d2SAndroid Build Coastguard Worker	<td valign='top'><code>&lt;pcl.h&gt;</code></td>
2024*5e7646d2SAndroid Build Coastguard Worker	<td align='justify' valign='top'>Defines all of the
2025*5e7646d2SAndroid Build Coastguard Worker	DDK HP-PCL driver constants.</td>
2026*5e7646d2SAndroid Build Coastguard Worker</tr>
2027*5e7646d2SAndroid Build Coastguard Worker<tr>
2028*5e7646d2SAndroid Build Coastguard Worker	<td valign='top'><code>&lt;raster.defs&gt;</code></td>
2029*5e7646d2SAndroid Build Coastguard Worker	<td align='justify' valign='top'>Defines all of the CUPS
2030*5e7646d2SAndroid Build Coastguard Worker	raster format constants.</td>
2031*5e7646d2SAndroid Build Coastguard Worker</tr>
2032*5e7646d2SAndroid Build Coastguard Worker</table></center>
2033*5e7646d2SAndroid Build Coastguard Worker
2034*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><a name='REF_MODEL_NUMBER'>Printer Driver ModelNumber Constants</a></h2>
2035*5e7646d2SAndroid Build Coastguard Worker
2036*5e7646d2SAndroid Build Coastguard Worker<p>The CUPS DDK and sample drivers use the
2037*5e7646d2SAndroid Build Coastguard Worker<code>cupsModelNumber</code> attribute in the PPD file to tailor
2038*5e7646d2SAndroid Build Coastguard Workertheir output to the printer. The following sections describe the
2039*5e7646d2SAndroid Build Coastguard Workerconstants for each driver.</p>
2040*5e7646d2SAndroid Build Coastguard Worker
2041*5e7646d2SAndroid Build Coastguard Worker<h3><a name='REF_MODEL_EPSON'>The CUPS ESC/P Sample Driver (epson)</a></h3>
2042*5e7646d2SAndroid Build Coastguard Worker
2043*5e7646d2SAndroid Build Coastguard Worker<p>The <code>epson</code> driver supports Epson and Okidata
2044*5e7646d2SAndroid Build Coastguard Workerdot-matrix, Epson Stylus Color, and Epson Stylus Photo printers.
2045*5e7646d2SAndroid Build Coastguard Worker<a href='#TABLEB-2'>Table B-2</a> lists the constants for the <a
2046*5e7646d2SAndroid Build Coastguard Workerhref='#ModelNumber'><code>ModelNumber</code></a> directive.
2047*5e7646d2SAndroid Build Coastguard Worker<code>ModelNumber</code> values should be inserted by referencing
2048*5e7646d2SAndroid Build Coastguard Workeronly one of these constants.</p>
2049*5e7646d2SAndroid Build Coastguard Worker
2050*5e7646d2SAndroid Build Coastguard Worker<!-- NEED 20 -->
2051*5e7646d2SAndroid Build Coastguard Worker<center><table border='1' cellpadding='5' cellspacing='0' width='80%'>
2052*5e7646d2SAndroid Build Coastguard Worker<caption align='bottom'><a name='TABLEB-2'><i>Table B-2, <code>epson</code> driver
2053*5e7646d2SAndroid Build Coastguard Workerconstants</i></a></caption>
2054*5e7646d2SAndroid Build Coastguard Worker<tr bgcolor='#cccccc'>
2055*5e7646d2SAndroid Build Coastguard Worker	<th>Constant</th>
2056*5e7646d2SAndroid Build Coastguard Worker	<th>Description</th>
2057*5e7646d2SAndroid Build Coastguard Worker</tr>
2058*5e7646d2SAndroid Build Coastguard Worker<tr>
2059*5e7646d2SAndroid Build Coastguard Worker	<td valign='top'><code>EPSON_9PIN</code></td>
2060*5e7646d2SAndroid Build Coastguard Worker	<td align='justify' valign='top'>Epson and Okidata 9-pin
2061*5e7646d2SAndroid Build Coastguard Worker	dot-matrix printers</td>
2062*5e7646d2SAndroid Build Coastguard Worker</tr>
2063*5e7646d2SAndroid Build Coastguard Worker<tr>
2064*5e7646d2SAndroid Build Coastguard Worker	<td valign='top'><code>EPSON_24PIN</code></td>
2065*5e7646d2SAndroid Build Coastguard Worker	<td align='justify' valign='top'>Epson and Okidata 24-pin
2066*5e7646d2SAndroid Build Coastguard Worker	dot-matrix printers</td>
2067*5e7646d2SAndroid Build Coastguard Worker</tr>
2068*5e7646d2SAndroid Build Coastguard Worker<tr>
2069*5e7646d2SAndroid Build Coastguard Worker	<td valign='top'><code>EPSON_COLOR</code></td>
2070*5e7646d2SAndroid Build Coastguard Worker	<td align='justify' valign='top'>Older Epson Stylus Color
2071*5e7646d2SAndroid Build Coastguard Worker	printers that use the <code>ESC .</code> graphics command</td>
2072*5e7646d2SAndroid Build Coastguard Worker</tr>
2073*5e7646d2SAndroid Build Coastguard Worker<tr>
2074*5e7646d2SAndroid Build Coastguard Worker	<td valign='top'><code>EPSON_PHOTO</code></td>
2075*5e7646d2SAndroid Build Coastguard Worker	<td align='justify' valign='top'>Older Epson Stylus Photo
2076*5e7646d2SAndroid Build Coastguard Worker	printers that use the <code>ESC .</code> graphics command</td>
2077*5e7646d2SAndroid Build Coastguard Worker</tr>
2078*5e7646d2SAndroid Build Coastguard Worker<tr>
2079*5e7646d2SAndroid Build Coastguard Worker	<td valign='top'><code>EPSON_ICOLOR</code></td>
2080*5e7646d2SAndroid Build Coastguard Worker	<td align='justify' valign='top'>Newer Epson Stylus Color
2081*5e7646d2SAndroid Build Coastguard Worker	printers that use the <code>ESC i</code> graphics command</td>
2082*5e7646d2SAndroid Build Coastguard Worker</tr>
2083*5e7646d2SAndroid Build Coastguard Worker<tr>
2084*5e7646d2SAndroid Build Coastguard Worker	<td valign='top'><code>EPSON_IPHOTO</code></td>
2085*5e7646d2SAndroid Build Coastguard Worker	<td align='justify' valign='top'>Newer Epson Stylus Photo
2086*5e7646d2SAndroid Build Coastguard Worker	printers that use the <code>ESC i</code> graphics command</td>
2087*5e7646d2SAndroid Build Coastguard Worker</tr>
2088*5e7646d2SAndroid Build Coastguard Worker</table></center>
2089*5e7646d2SAndroid Build Coastguard Worker
2090*5e7646d2SAndroid Build Coastguard Worker<h3><a name='REF_MODEL_HP'>The CUPS HP-PCL Sample Driver (hp)</a></h3>
2091*5e7646d2SAndroid Build Coastguard Worker
2092*5e7646d2SAndroid Build Coastguard Worker<p>The <code>hp</code> driver supports HP LaserJet and DeskJet
2093*5e7646d2SAndroid Build Coastguard Workerprinters. <a href='#TABLEB-3'>Table B-3</a> lists the constants
2094*5e7646d2SAndroid Build Coastguard Workerfor the <a href='#ModelNumber'><code>ModelNumber</code></a>
2095*5e7646d2SAndroid Build Coastguard Workerdirective. <code>ModelNumber</code> values should be inserted by
2096*5e7646d2SAndroid Build Coastguard Workerreferencing only one of these constants.</p>
2097*5e7646d2SAndroid Build Coastguard Worker
2098*5e7646d2SAndroid Build Coastguard Worker<center><table border='1' cellpadding='5' cellspacing='0' width='80%'>
2099*5e7646d2SAndroid Build Coastguard Worker<caption align='bottom'><a name='TABLEB-3'><i>Table B-3, <code>hp</code> driver
2100*5e7646d2SAndroid Build Coastguard Workerconstants</i></a></caption>
2101*5e7646d2SAndroid Build Coastguard Worker<tr bgcolor='#cccccc'>
2102*5e7646d2SAndroid Build Coastguard Worker	<th>Constant</th>
2103*5e7646d2SAndroid Build Coastguard Worker	<th>Description</th>
2104*5e7646d2SAndroid Build Coastguard Worker</tr>
2105*5e7646d2SAndroid Build Coastguard Worker<tr>
2106*5e7646d2SAndroid Build Coastguard Worker	<td valign='top'><code>HP_LASERJET</code></td>
2107*5e7646d2SAndroid Build Coastguard Worker	<td align='justify' valign='top'>HP LaserJet printers supporting
2108*5e7646d2SAndroid Build Coastguard Worker	PCL 3, 4, or 5</td>
2109*5e7646d2SAndroid Build Coastguard Worker</tr>
2110*5e7646d2SAndroid Build Coastguard Worker<tr>
2111*5e7646d2SAndroid Build Coastguard Worker	<td valign='top'><code>HP_DESKJET</code></td>
2112*5e7646d2SAndroid Build Coastguard Worker	<td align='justify' valign='top'>HP DeskJet printers
2113*5e7646d2SAndroid Build Coastguard Worker	supporting PCL 3 and using the simple color graphics
2114*5e7646d2SAndroid Build Coastguard Worker	command (<code>ESC * r # U</code>)</td>
2115*5e7646d2SAndroid Build Coastguard Worker</tr>
2116*5e7646d2SAndroid Build Coastguard Worker<tr>
2117*5e7646d2SAndroid Build Coastguard Worker	<td valign='top'><code>HP_DESKJET2</code></td>
2118*5e7646d2SAndroid Build Coastguard Worker	<td align='justify' valign='top'>HP DeskJet printers
2119*5e7646d2SAndroid Build Coastguard Worker	supporting PCL3GUI and using the configure raster graphics
2120*5e7646d2SAndroid Build Coastguard Worker	command (<code>ESC * g # W</code>)</td>
2121*5e7646d2SAndroid Build Coastguard Worker</tr>
2122*5e7646d2SAndroid Build Coastguard Worker</table></center>
2123*5e7646d2SAndroid Build Coastguard Worker
2124*5e7646d2SAndroid Build Coastguard Worker<h3><a name='REF_MODEL_LABEL'>The CUPS Label Sample Driver (label)</a></h3>
2125*5e7646d2SAndroid Build Coastguard Worker
2126*5e7646d2SAndroid Build Coastguard Worker<p>The <code>label</code> 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>
2127*5e7646d2SAndroid Build Coastguard Workerlists the constants for the <a
2128*5e7646d2SAndroid Build Coastguard Workerhref='#ModelNumber'><code>ModelNumber</code></a> directive.
2129*5e7646d2SAndroid Build Coastguard Worker<code>ModelNumber</code> values should be inserted by referencing
2130*5e7646d2SAndroid Build Coastguard Workeronly one of these constants.</p>
2131*5e7646d2SAndroid Build Coastguard Worker
2132*5e7646d2SAndroid Build Coastguard Worker<center><table border='1' cellpadding='5' cellspacing='0' width='80%'>
2133*5e7646d2SAndroid Build Coastguard Worker<caption align='bottom'><a name='TABLEB-4'><i>Table B-4, <code>label</code> driver
2134*5e7646d2SAndroid Build Coastguard Workerconstants</i></a></caption>
2135*5e7646d2SAndroid Build Coastguard Worker<tr bgcolor='#cccccc'>
2136*5e7646d2SAndroid Build Coastguard Worker	<th>Constant</th>
2137*5e7646d2SAndroid Build Coastguard Worker	<th>Description</th>
2138*5e7646d2SAndroid Build Coastguard Worker</tr>
2139*5e7646d2SAndroid Build Coastguard Worker<tr>
2140*5e7646d2SAndroid Build Coastguard Worker	<td valign='top'><code>DYMO_3x0</code></td>
2141*5e7646d2SAndroid Build Coastguard Worker	<td align='justify' valign='top'>Format output for the
2142*5e7646d2SAndroid Build Coastguard Worker	Dymo Labelwriter 300, 330, or 330 Turbo.</td>
2143*5e7646d2SAndroid Build Coastguard Worker</tr>
2144*5e7646d2SAndroid Build Coastguard Worker<tr>
2145*5e7646d2SAndroid Build Coastguard Worker	<td valign='top'><code>INTELLITECH_PCL</code></td>
2146*5e7646d2SAndroid Build Coastguard Worker	<td align='justify' valign='top'>Format output for the Intellitech PCL printers.</td>
2147*5e7646d2SAndroid Build Coastguard Worker</tr>
2148*5e7646d2SAndroid Build Coastguard Worker<tr>
2149*5e7646d2SAndroid Build Coastguard Worker	<td valign='top'><code>ZEBRA_CPCL</code></td>
2150*5e7646d2SAndroid Build Coastguard Worker	<td align='justify' valign='top'>Format output for the Zebra CPCL printers.</td>
2151*5e7646d2SAndroid Build Coastguard Worker</tr>
2152*5e7646d2SAndroid Build Coastguard Worker<tr>
2153*5e7646d2SAndroid Build Coastguard Worker	<td valign='top'><code>ZEBRA_EPL_LINE</code></td>
2154*5e7646d2SAndroid Build Coastguard Worker	<td align='justify' valign='top'>Format output for the Zebra EPL line mode (EPL 1) printers.</td>
2155*5e7646d2SAndroid Build Coastguard Worker</tr>
2156*5e7646d2SAndroid Build Coastguard Worker<tr>
2157*5e7646d2SAndroid Build Coastguard Worker	<td valign='top'><code>ZEBRA_EPL_PAGE</code></td>
2158*5e7646d2SAndroid Build Coastguard Worker	<td align='justify' valign='top'>Format output for the Zebra EPL page mode (EPL 2) printers.</td>
2159*5e7646d2SAndroid Build Coastguard Worker</tr>
2160*5e7646d2SAndroid Build Coastguard Worker<tr>
2161*5e7646d2SAndroid Build Coastguard Worker	<td valign='top'><code>ZEBRA_ZPL</code></td>
2162*5e7646d2SAndroid Build Coastguard Worker	<td align='justify' valign='top'>Format output for the Zebra ZPL printers.</td>
2163*5e7646d2SAndroid Build Coastguard Worker</tr>
2164*5e7646d2SAndroid Build Coastguard Worker</table></center>
2165*5e7646d2SAndroid Build Coastguard Worker
2166*5e7646d2SAndroid Build Coastguard Worker<h3><a name='REF_MODEL_ESCP'>The DDK ESC/P Driver (escp)</a></h3>
2167*5e7646d2SAndroid Build Coastguard Worker
2168*5e7646d2SAndroid Build Coastguard Worker<p>The <code>escp</code> driver supports all Epson inkjet printers.
2169*5e7646d2SAndroid Build Coastguard Worker<a href='#TABLEB-6'>Table B-6</a> lists the constants for the <a
2170*5e7646d2SAndroid Build Coastguard Workerhref='#ModelNumber'><code>ModelNumber</code></a> directive.
2171*5e7646d2SAndroid Build Coastguard Worker<code>ModelNumber</code> values should be specified as the bitwise
2172*5e7646d2SAndroid Build Coastguard WorkerOR of one or more of these constants.</p>
2173*5e7646d2SAndroid Build Coastguard Worker
2174*5e7646d2SAndroid Build Coastguard Worker<center><table border='1' cellpadding='5' cellspacing='0' width='80%'>
2175*5e7646d2SAndroid Build Coastguard Worker<caption align='bottom'><a name='TABLEB-6'><i>Table B-6, <code>escp</code> driver
2176*5e7646d2SAndroid Build Coastguard Workerconstants</i></a></caption>
2177*5e7646d2SAndroid Build Coastguard Worker<tr bgcolor='#cccccc'>
2178*5e7646d2SAndroid Build Coastguard Worker	<th>Constant</th>
2179*5e7646d2SAndroid Build Coastguard Worker	<th>Description</th>
2180*5e7646d2SAndroid Build Coastguard Worker</tr>
2181*5e7646d2SAndroid Build Coastguard Worker<tr>
2182*5e7646d2SAndroid Build Coastguard Worker	<td valign='top'><code>ESCP_MICROWEAVE</code></td>
2183*5e7646d2SAndroid Build Coastguard Worker	<td align='justify' valign='top'>Use microweave command?</td>
2184*5e7646d2SAndroid Build Coastguard Worker</tr>
2185*5e7646d2SAndroid Build Coastguard Worker<tr>
2186*5e7646d2SAndroid Build Coastguard Worker	<td valign='top'><code>ESCP_STAGGER</code></td>
2187*5e7646d2SAndroid Build Coastguard Worker	<td align='justify' valign='top'>Are color jets staggered?</td>
2188*5e7646d2SAndroid Build Coastguard Worker</tr>
2189*5e7646d2SAndroid Build Coastguard Worker<tr>
2190*5e7646d2SAndroid Build Coastguard Worker	<td valign='top'><code>ESCP_ESCK</code></td>
2191*5e7646d2SAndroid Build Coastguard Worker	<td align='justify' valign='top'>Use print mode command?</td>
2192*5e7646d2SAndroid Build Coastguard Worker</tr>
2193*5e7646d2SAndroid Build Coastguard Worker<tr>
2194*5e7646d2SAndroid Build Coastguard Worker	<td valign='top'><code>ESCP_EXT_UNITS</code></td>
2195*5e7646d2SAndroid Build Coastguard Worker	<td align='justify' valign='top'>Use extended unit commands?</td>
2196*5e7646d2SAndroid Build Coastguard Worker</tr>
2197*5e7646d2SAndroid Build Coastguard Worker<tr>
2198*5e7646d2SAndroid Build Coastguard Worker	<td valign='top'><code>ESCP_EXT_MARGINS</code></td>
2199*5e7646d2SAndroid Build Coastguard Worker	<td align='justify' valign='top'>Use extended margin command?</td>
2200*5e7646d2SAndroid Build Coastguard Worker</tr>
2201*5e7646d2SAndroid Build Coastguard Worker<tr>
2202*5e7646d2SAndroid Build Coastguard Worker	<td valign='top'><code>ESCP_USB</code></td>
2203*5e7646d2SAndroid Build Coastguard Worker	<td align='justify' valign='top'>Send USB packet mode escape</td>
2204*5e7646d2SAndroid Build Coastguard Worker</tr>
2205*5e7646d2SAndroid Build Coastguard Worker<tr>
2206*5e7646d2SAndroid Build Coastguard Worker	<td valign='top'><code>ESCP_PAGE_SIZE</code></td>
2207*5e7646d2SAndroid Build Coastguard Worker	<td align='justify' valign='top'>Use page size command</td>
2208*5e7646d2SAndroid Build Coastguard Worker</tr>
2209*5e7646d2SAndroid Build Coastguard Worker<tr>
2210*5e7646d2SAndroid Build Coastguard Worker	<td valign='top'><code>ESCP_RASTER_ESCI</code></td>
2211*5e7646d2SAndroid Build Coastguard Worker	<td align='justify' valign='top'>Use <code>ESC i</code> graphics command</td>
2212*5e7646d2SAndroid Build Coastguard Worker</tr>
2213*5e7646d2SAndroid Build Coastguard Worker<tr>
2214*5e7646d2SAndroid Build Coastguard Worker	<td valign='top'><code>ESCP_REMOTE</code></td>
2215*5e7646d2SAndroid Build Coastguard Worker	<td align='justify' valign='top'>Use remote mode commands</td>
2216*5e7646d2SAndroid Build Coastguard Worker</tr>
2217*5e7646d2SAndroid Build Coastguard Worker<tr>
2218*5e7646d2SAndroid Build Coastguard Worker	<td valign='top'><code>ESCP_REMOTE_AC</code></td>
2219*5e7646d2SAndroid Build Coastguard Worker	<td align='justify' valign='top'>Use auto-cutter command</td>
2220*5e7646d2SAndroid Build Coastguard Worker</tr>
2221*5e7646d2SAndroid Build Coastguard Worker<tr>
2222*5e7646d2SAndroid Build Coastguard Worker	<td valign='top'><code>ESCP_REMOTE_CO</code></td>
2223*5e7646d2SAndroid Build Coastguard Worker	<td align='justify' valign='top'>Use cutter-operation command</td>
2224*5e7646d2SAndroid Build Coastguard Worker</tr>
2225*5e7646d2SAndroid Build Coastguard Worker<tr>
2226*5e7646d2SAndroid Build Coastguard Worker	<td valign='top'><code>ESCP_REMOTE_EX</code></td>
2227*5e7646d2SAndroid Build Coastguard Worker	<td align='justify' valign='top'>Use media-position command</td>
2228*5e7646d2SAndroid Build Coastguard Worker</tr>
2229*5e7646d2SAndroid Build Coastguard Worker<tr>
2230*5e7646d2SAndroid Build Coastguard Worker	<td valign='top'><code>ESCP_REMOTE_MS</code></td>
2231*5e7646d2SAndroid Build Coastguard Worker	<td align='justify' valign='top'>Use media-size command</td>
2232*5e7646d2SAndroid Build Coastguard Worker</tr>
2233*5e7646d2SAndroid Build Coastguard Worker<tr>
2234*5e7646d2SAndroid Build Coastguard Worker	<td valign='top'><code>ESCP_REMOTE_MT</code></td>
2235*5e7646d2SAndroid Build Coastguard Worker	<td align='justify' valign='top'>Use media-type command</td>
2236*5e7646d2SAndroid Build Coastguard Worker</tr>
2237*5e7646d2SAndroid Build Coastguard Worker<tr>
2238*5e7646d2SAndroid Build Coastguard Worker	<td valign='top'><code>ESCP_REMOTE_PC</code></td>
2239*5e7646d2SAndroid Build Coastguard Worker	<td align='justify' valign='top'>Use paper-check command</td>
2240*5e7646d2SAndroid Build Coastguard Worker</tr>
2241*5e7646d2SAndroid Build Coastguard Worker<tr>
2242*5e7646d2SAndroid Build Coastguard Worker	<td valign='top'><code>ESCP_REMOTE_PH</code></td>
2243*5e7646d2SAndroid Build Coastguard Worker	<td align='justify' valign='top'>Use paper-thickness command</td>
2244*5e7646d2SAndroid Build Coastguard Worker</tr>
2245*5e7646d2SAndroid Build Coastguard Worker<tr>
2246*5e7646d2SAndroid Build Coastguard Worker	<td valign='top'><code>ESCP_REMOTE_PP</code></td>
2247*5e7646d2SAndroid Build Coastguard Worker	<td align='justify' valign='top'>Use paper-path command</td>
2248*5e7646d2SAndroid Build Coastguard Worker</tr>
2249*5e7646d2SAndroid Build Coastguard Worker<tr>
2250*5e7646d2SAndroid Build Coastguard Worker	<td valign='top'><code>ESCP_REMOTE_SN0</code></td>
2251*5e7646d2SAndroid Build Coastguard Worker	<td align='justify' valign='top'>Use feed-sequence-0 command</td>
2252*5e7646d2SAndroid Build Coastguard Worker</tr>
2253*5e7646d2SAndroid Build Coastguard Worker<tr>
2254*5e7646d2SAndroid Build Coastguard Worker	<td valign='top'><code>ESCP_REMOTE_SN1</code></td>
2255*5e7646d2SAndroid Build Coastguard Worker	<td align='justify' valign='top'>Use platten-gap command</td>
2256*5e7646d2SAndroid Build Coastguard Worker</tr>
2257*5e7646d2SAndroid Build Coastguard Worker<tr>
2258*5e7646d2SAndroid Build Coastguard Worker	<td valign='top'><code>ESCP_REMOTE_SN2</code></td>
2259*5e7646d2SAndroid Build Coastguard Worker	<td align='justify' valign='top'>Use feed-sequence-2 command</td>
2260*5e7646d2SAndroid Build Coastguard Worker</tr>
2261*5e7646d2SAndroid Build Coastguard Worker<tr>
2262*5e7646d2SAndroid Build Coastguard Worker	<td valign='top'><code>ESCP_REMOTE_SN6</code></td>
2263*5e7646d2SAndroid Build Coastguard Worker	<td align='justify' valign='top'>Use eject-delay command</td>
2264*5e7646d2SAndroid Build Coastguard Worker</tr>
2265*5e7646d2SAndroid Build Coastguard Worker<tr>
2266*5e7646d2SAndroid Build Coastguard Worker	<td valign='top'><code>ESCP_REMOTE_FP</code></td>
2267*5e7646d2SAndroid Build Coastguard Worker	<td align='justify' valign='top'>Use print-position command</td>
2268*5e7646d2SAndroid Build Coastguard Worker</tr>
2269*5e7646d2SAndroid Build Coastguard Worker</table></center>
2270*5e7646d2SAndroid Build Coastguard Worker
2271*5e7646d2SAndroid Build Coastguard Worker<h3><a name='REF_MODEL_PCL'>The DDK HP-PCL Driver (pcl)</a></h3>
2272*5e7646d2SAndroid Build Coastguard Worker
2273*5e7646d2SAndroid Build Coastguard Worker<p>The <code>pcl</code> driver supports all HP LaserJet, DeskJet,
2274*5e7646d2SAndroid Build Coastguard Workerand DesignJet printers. <a href='#TABLEB-5'>Table B-5</a> lists
2275*5e7646d2SAndroid Build Coastguard Workerthe constants for the <a
2276*5e7646d2SAndroid Build Coastguard Workerhref='#ModelNumber'><code>ModelNumber</code></a> directive.
2277*5e7646d2SAndroid Build Coastguard Worker<code>ModelNumber</code> values should be specified as the bitwise
2278*5e7646d2SAndroid Build Coastguard WorkerOR of one or more of these constants.</p>
2279*5e7646d2SAndroid Build Coastguard Worker
2280*5e7646d2SAndroid Build Coastguard Worker<center><table border='1' cellpadding='5' cellspacing='0' width='80%'>
2281*5e7646d2SAndroid Build Coastguard Worker<caption align='bottom'><a name='TABLEB-5'><i>Table B-5, <code>pcl</code> driver
2282*5e7646d2SAndroid Build Coastguard Workerconstants</i></a></caption>
2283*5e7646d2SAndroid Build Coastguard Worker<tr bgcolor='#cccccc'>
2284*5e7646d2SAndroid Build Coastguard Worker	<th>Constant</th>
2285*5e7646d2SAndroid Build Coastguard Worker	<th>Description</th>
2286*5e7646d2SAndroid Build Coastguard Worker</tr>
2287*5e7646d2SAndroid Build Coastguard Worker<tr>
2288*5e7646d2SAndroid Build Coastguard Worker	<td valign='top'><code>PCL_PAPER_SIZE</code></td>
2289*5e7646d2SAndroid Build Coastguard Worker	<td align='justify' valign='top'>Use paper size command (<code>ESC &amp; l # A</code>)</td>
2290*5e7646d2SAndroid Build Coastguard Worker</tr>
2291*5e7646d2SAndroid Build Coastguard Worker<tr>
2292*5e7646d2SAndroid Build Coastguard Worker	<td valign='top'><code>PCL_INKJET</code></td>
2293*5e7646d2SAndroid Build Coastguard Worker	<td align='justify' valign='top'>Use inkjet commands</td>
2294*5e7646d2SAndroid Build Coastguard Worker</tr>
2295*5e7646d2SAndroid Build Coastguard Worker<tr>
2296*5e7646d2SAndroid Build Coastguard Worker	<td valign='top'><code>PCL_RASTER_END_COLOR</code></td>
2297*5e7646d2SAndroid Build Coastguard Worker	<td align='justify' valign='top'>Use new end-raster command (<code>ESC * r C</code>)</td>
2298*5e7646d2SAndroid Build Coastguard Worker</tr>
2299*5e7646d2SAndroid Build Coastguard Worker<tr>
2300*5e7646d2SAndroid Build Coastguard Worker	<td valign='top'><code>PCL_RASTER_CID</code></td>
2301*5e7646d2SAndroid Build Coastguard Worker	<td align='justify' valign='top'>Use configure-image-data command (<code>ESC * v # W</code>)</td>
2302*5e7646d2SAndroid Build Coastguard Worker</tr>
2303*5e7646d2SAndroid Build Coastguard Worker<tr>
2304*5e7646d2SAndroid Build Coastguard Worker	<td valign='top'><code>PCL_RASTER_CRD</code></td>
2305*5e7646d2SAndroid Build Coastguard Worker	<td align='justify' valign='top'>Use configure-raster-data command (<code>ESC * g # W</code>)</td>
2306*5e7646d2SAndroid Build Coastguard Worker</tr>
2307*5e7646d2SAndroid Build Coastguard Worker<tr>
2308*5e7646d2SAndroid Build Coastguard Worker	<td valign='top'><code>PCL_RASTER_SIMPLE</code></td>
2309*5e7646d2SAndroid Build Coastguard Worker	<td align='justify' valign='top'>Use simple-raster-color command (<code>ESC * r # U</code>)</td>
2310*5e7646d2SAndroid Build Coastguard Worker</tr>
2311*5e7646d2SAndroid Build Coastguard Worker<tr>
2312*5e7646d2SAndroid Build Coastguard Worker	<td valign='top'><code>PCL_RASTER_RGB24</code></td>
2313*5e7646d2SAndroid Build Coastguard Worker	<td align='justify' valign='top'>Use 24-bit RGB mode</td>
2314*5e7646d2SAndroid Build Coastguard Worker</tr>
2315*5e7646d2SAndroid Build Coastguard Worker<tr>
2316*5e7646d2SAndroid Build Coastguard Worker	<td valign='top'><code>PCL_PJL</code></td>
2317*5e7646d2SAndroid Build Coastguard Worker	<td align='justify' valign='top'>Use PJL commands</td>
2318*5e7646d2SAndroid Build Coastguard Worker</tr>
2319*5e7646d2SAndroid Build Coastguard Worker<tr>
2320*5e7646d2SAndroid Build Coastguard Worker	<td valign='top'><code>PCL_PJL_PAPERWIDTH</code></td>
2321*5e7646d2SAndroid Build Coastguard Worker	<td align='justify' valign='top'>Use PJL PAPERWIDTH/LENGTH commands</td>
2322*5e7646d2SAndroid Build Coastguard Worker</tr>
2323*5e7646d2SAndroid Build Coastguard Worker<tr>
2324*5e7646d2SAndroid Build Coastguard Worker	<td valign='top'><code>PCL_PJL_HPGL2</code></td>
2325*5e7646d2SAndroid Build Coastguard Worker	<td align='justify' valign='top'>Use PJL ENTER HPGL2 command</td>
2326*5e7646d2SAndroid Build Coastguard Worker</tr>
2327*5e7646d2SAndroid Build Coastguard Worker<tr>
2328*5e7646d2SAndroid Build Coastguard Worker	<td valign='top'><code>PCL_PJL_PCL3GUI</code></td>
2329*5e7646d2SAndroid Build Coastguard Worker	<td align='justify' valign='top'>Use PJL ENTER PCL3GUI command</td>
2330*5e7646d2SAndroid Build Coastguard Worker</tr>
2331*5e7646d2SAndroid Build Coastguard Worker<tr>
2332*5e7646d2SAndroid Build Coastguard Worker	<td valign='top'><code>PCL_PJL_RESOLUTION</code></td>
2333*5e7646d2SAndroid Build Coastguard Worker	<td align='justify' valign='top'>Use PJL SET RESOLUTION command</td>
2334*5e7646d2SAndroid Build Coastguard Worker</tr>
2335*5e7646d2SAndroid Build Coastguard Worker</table></center>
2336*5e7646d2SAndroid Build Coastguard Worker
2337*5e7646d2SAndroid Build Coastguard Worker<H2><A NAME="REF_COLOR">Color Keywords</A></H2>
2338*5e7646d2SAndroid Build Coastguard Worker
2339*5e7646d2SAndroid Build Coastguard Worker<p>The PPD compiler defines two types of color keywords:
2340*5e7646d2SAndroid Build Coastguard Workercolorspace and color order. The following sections list the
2341*5e7646d2SAndroid Build Coastguard Workersupported keywords for each type.</p>
2342*5e7646d2SAndroid Build Coastguard Worker
2343*5e7646d2SAndroid Build Coastguard Worker<H3><A NAME="REF_COLOR_SPACE">Colorspace Keywords</A></H3>
2344*5e7646d2SAndroid Build Coastguard Worker
2345*5e7646d2SAndroid Build Coastguard Worker<P>The following colorspace keywords are recognized:</P>
2346*5e7646d2SAndroid Build Coastguard Worker
2347*5e7646d2SAndroid Build Coastguard Worker<UL>
2348*5e7646d2SAndroid Build Coastguard Worker
2349*5e7646d2SAndroid Build Coastguard Worker	<LI><TT>cielab</TT> - CIE Lab <A HREF="#REF_COLOR_APPLE2">**</A></LI>
2350*5e7646d2SAndroid Build Coastguard Worker
2351*5e7646d2SAndroid Build Coastguard Worker	<LI><TT>ciexyz</TT> - CIE XYZ <A HREF="#REF_COLOR_APPLE2">**</A></LI>
2352*5e7646d2SAndroid Build Coastguard Worker
2353*5e7646d2SAndroid Build Coastguard Worker	<LI><TT>cmy</TT> - Cyan, magenta, yellow</LI>
2354*5e7646d2SAndroid Build Coastguard Worker
2355*5e7646d2SAndroid Build Coastguard Worker	<LI><TT>cmyk</TT> - Cyan, magenta, yellow, black</LI>
2356*5e7646d2SAndroid Build Coastguard Worker
2357*5e7646d2SAndroid Build Coastguard Worker	<LI><TT>gmck</TT> - Gold, magenta, yellow, black <A HREF="#REF_COLOR_APPLE2">**</A></LI>
2358*5e7646d2SAndroid Build Coastguard Worker
2359*5e7646d2SAndroid Build Coastguard Worker	<LI><TT>gmcs</TT> - Gold, magenta, yellow, silver <A HREF="#REF_COLOR_APPLE2">**</A></LI>
2360*5e7646d2SAndroid Build Coastguard Worker
2361*5e7646d2SAndroid Build Coastguard Worker	<LI><TT>gold</TT> - Gold foil <A HREF="#REF_COLOR_APPLE2">**</A></LI>
2362*5e7646d2SAndroid Build Coastguard Worker
2363*5e7646d2SAndroid Build Coastguard Worker	<LI><TT>icc1</TT> - ICC-based, 1 color <A HREF="#REF_COLOR_APPLE2">**</A></LI>
2364*5e7646d2SAndroid Build Coastguard Worker
2365*5e7646d2SAndroid Build Coastguard Worker	<LI><TT>icc2</TT> - ICC-based, 2 colors <A HREF="#REF_COLOR_APPLE2">**</A></LI>
2366*5e7646d2SAndroid Build Coastguard Worker
2367*5e7646d2SAndroid Build Coastguard Worker	<LI><TT>icc3</TT> - ICC-based, 3 colors <A HREF="#REF_COLOR_APPLE2">**</A></LI>
2368*5e7646d2SAndroid Build Coastguard Worker
2369*5e7646d2SAndroid Build Coastguard Worker	<LI><TT>icc4</TT> - ICC-based, 4 colors <A HREF="#REF_COLOR_APPLE2">**</A></LI>
2370*5e7646d2SAndroid Build Coastguard Worker
2371*5e7646d2SAndroid Build Coastguard Worker	<LI><TT>icc5</TT> - ICC-based, 5 colors <A HREF="#REF_COLOR_APPLE2">**</A></LI>
2372*5e7646d2SAndroid Build Coastguard Worker
2373*5e7646d2SAndroid Build Coastguard Worker	<LI><TT>icc6</TT> - ICC-based, 6 colors <A HREF="#REF_COLOR_APPLE2">**</A></LI>
2374*5e7646d2SAndroid Build Coastguard Worker
2375*5e7646d2SAndroid Build Coastguard Worker	<LI><TT>icc7</TT> - ICC-based, 7 colors <A HREF="#REF_COLOR_APPLE2">**</A></LI>
2376*5e7646d2SAndroid Build Coastguard Worker
2377*5e7646d2SAndroid Build Coastguard Worker	<LI><TT>icc8</TT> - ICC-based, 8 colors <A HREF="#REF_COLOR_APPLE2">**</A></LI>
2378*5e7646d2SAndroid Build Coastguard Worker
2379*5e7646d2SAndroid Build Coastguard Worker	<LI><TT>icc9</TT> - ICC-based, 9 colors <A HREF="#REF_COLOR_APPLE2">**</A></LI>
2380*5e7646d2SAndroid Build Coastguard Worker
2381*5e7646d2SAndroid Build Coastguard Worker	<LI><TT>icca</TT> - ICC-based, 10 colors <A HREF="#REF_COLOR_APPLE2">**</A></LI>
2382*5e7646d2SAndroid Build Coastguard Worker
2383*5e7646d2SAndroid Build Coastguard Worker	<LI><TT>iccb</TT> - ICC-based, 11 colors <A HREF="#REF_COLOR_APPLE2">**</A></LI>
2384*5e7646d2SAndroid Build Coastguard Worker
2385*5e7646d2SAndroid Build Coastguard Worker	<LI><TT>iccc</TT> - ICC-based, 12 colors <A HREF="#REF_COLOR_APPLE2">**</A></LI>
2386*5e7646d2SAndroid Build Coastguard Worker
2387*5e7646d2SAndroid Build Coastguard Worker	<LI><TT>iccd</TT> - ICC-based, 13 colors <A HREF="#REF_COLOR_APPLE2">**</A></LI>
2388*5e7646d2SAndroid Build Coastguard Worker
2389*5e7646d2SAndroid Build Coastguard Worker	<LI><TT>icce</TT> - ICC-based, 14 colors <A HREF="#REF_COLOR_APPLE2">**</A></LI>
2390*5e7646d2SAndroid Build Coastguard Worker
2391*5e7646d2SAndroid Build Coastguard Worker	<LI><TT>iccf</TT> - ICC-based, 15 colors <A HREF="#REF_COLOR_APPLE2">**</A></LI>
2392*5e7646d2SAndroid Build Coastguard Worker
2393*5e7646d2SAndroid Build Coastguard Worker	<LI><TT>k</TT> - Black</LI>
2394*5e7646d2SAndroid Build Coastguard Worker
2395*5e7646d2SAndroid Build Coastguard Worker	<LI><TT>kcmy</TT> - Black, cyan, magenta, yellow <A HREF="#REF_COLOR_APPLE">*</A></LI>
2396*5e7646d2SAndroid Build Coastguard Worker
2397*5e7646d2SAndroid Build Coastguard Worker	<LI><TT>kcmycm</TT> - Black, cyan, magenta, yellow, light-cyan, light-magenta <A HREF="#REF_COLOR_APPLE">*</A></LI>
2398*5e7646d2SAndroid Build Coastguard Worker
2399*5e7646d2SAndroid Build Coastguard Worker	<LI><TT>rgb</TT> - Red, green, blue</LI>
2400*5e7646d2SAndroid Build Coastguard Worker
2401*5e7646d2SAndroid Build Coastguard Worker	<LI><TT>rgba</TT> - Red, green, blue, alpha</LI>
2402*5e7646d2SAndroid Build Coastguard Worker
2403*5e7646d2SAndroid Build Coastguard Worker	<LI><TT>rgbw</TT> - Red, green, blue, luminance <A HREF="#REF_COLOR_APPLE">*</A></LI>
2404*5e7646d2SAndroid Build Coastguard Worker
2405*5e7646d2SAndroid Build Coastguard Worker	<LI><TT>silver</TT> - Silver foil <A HREF="#REF_COLOR_APPLE2">**</A></LI>
2406*5e7646d2SAndroid Build Coastguard Worker
2407*5e7646d2SAndroid Build Coastguard Worker	<LI><TT>w</TT> - Luminance</LI>
2408*5e7646d2SAndroid Build Coastguard Worker
2409*5e7646d2SAndroid Build Coastguard Worker	<LI><TT>white</TT> - White ink (as black) <A HREF="#REF_COLOR_APPLE2">**</A></LI>
2410*5e7646d2SAndroid Build Coastguard Worker
2411*5e7646d2SAndroid Build Coastguard Worker	<LI><TT>ymc</TT> - Yellow, magenta, cyan <A HREF="#REF_COLOR_APPLE">*</A></LI>
2412*5e7646d2SAndroid Build Coastguard Worker
2413*5e7646d2SAndroid Build Coastguard Worker	<LI><TT>ymck</TT> - Yellow, magenta, cyan, black <A HREF="#REF_COLOR_APPLE">*</A>
2414*5e7646d2SAndroid Build Coastguard Worker
2415*5e7646d2SAndroid Build Coastguard Worker	<BR>&nbsp;
2416*5e7646d2SAndroid Build Coastguard Worker
2417*5e7646d2SAndroid Build Coastguard Worker	<BR><A NAME="REF_COLOR_APPLE">*</A> = This colorspace is not supported on macOS prior to 10.4.
2418*5e7646d2SAndroid Build Coastguard Worker	<BR><A NAME="REF_COLOR_APPLE2">**</A> = This colorspace is not supported on macOS.</LI>
2419*5e7646d2SAndroid Build Coastguard Worker
2420*5e7646d2SAndroid Build Coastguard Worker</UL>
2421*5e7646d2SAndroid Build Coastguard Worker
2422*5e7646d2SAndroid Build Coastguard Worker<H3><A NAME="REF_COLOR_ORDER">Color Order Keywords</A></H3>
2423*5e7646d2SAndroid Build Coastguard Worker
2424*5e7646d2SAndroid Build Coastguard Worker<P>The following color order keywords are recognized:</P>
2425*5e7646d2SAndroid Build Coastguard Worker
2426*5e7646d2SAndroid Build Coastguard Worker<UL>
2427*5e7646d2SAndroid Build Coastguard Worker
2428*5e7646d2SAndroid Build Coastguard Worker	<LI><TT>chunked</TT> or <TT>chunky</TT> - Color values
2429*5e7646d2SAndroid Build Coastguard Worker	are passed together on a line as RGB RGB RGB RGB</LI>
2430*5e7646d2SAndroid Build Coastguard Worker
2431*5e7646d2SAndroid Build Coastguard Worker	<LI><TT>banded</TT> - Color values are passed separately
2432*5e7646d2SAndroid Build Coastguard Worker	on a line as RRRR GGGG BBBB <A
2433*5e7646d2SAndroid Build Coastguard Worker	HREF="#REF_COLOR_APPLE2">*</A></LI>
2434*5e7646d2SAndroid Build Coastguard Worker
2435*5e7646d2SAndroid Build Coastguard Worker	<LI><TT>planar</TT> - Color values are passed separately
2436*5e7646d2SAndroid Build Coastguard Worker	on a page as RRRR RRRR RRRR ... GGGG GGGG GGGG ... BBBB
2437*5e7646d2SAndroid Build Coastguard Worker	BBBB BBBB <A HREF="#REF_COLOR_APPLE2">*</A>
2438*5e7646d2SAndroid Build Coastguard Worker
2439*5e7646d2SAndroid Build Coastguard Worker	<BR>&nbsp;
2440*5e7646d2SAndroid Build Coastguard Worker
2441*5e7646d2SAndroid Build Coastguard Worker	<BR><A NAME="REF_COLOR_APPLE2">*</A> = This color order
2442*5e7646d2SAndroid Build Coastguard Worker	is not supported by the current Apple RIP filters and
2443*5e7646d2SAndroid Build Coastguard Worker	should not be used when developing printer drivers for
2444*5e7646d2SAndroid Build Coastguard Worker	macOS.</LI>
2445*5e7646d2SAndroid Build Coastguard Worker
2446*5e7646d2SAndroid Build Coastguard Worker</UL>
2447*5e7646d2SAndroid Build Coastguard Worker
2448*5e7646d2SAndroid Build Coastguard Worker</BODY>
2449*5e7646d2SAndroid Build Coastguard Worker</HTML>
2450