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