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