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