1ppdcfile(5)                       Apple Inc.                       ppdcfile(5)
2
3
4

NAME

6       ppdcfile - cups ppd compiler source file format
7

DESCRIPTION

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 CUPS Driver Development Kit 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       #font name encoding "version" charset status
29
30       #include <filename>
31
32       #include "filename"
33
34       #media name width length
35
36       #media "name/text" width length
37
38       #po locale "filename.po"
39
40       Attribute name "" value
41
42       Attribute name keyword value
43
44       Attribute name "keyword/text" value
45
46       Choice name "code"
47
48       Choice "name/text" "code"
49
50       ColorDevice boolean-value
51
52       ColorModel name colorspace colororder compression
53
54       ColorModel "name/text" colorspace colororder compression
55
56       ColorProfile resolution/mediatype gamma density matrix
57
58       Copyright "text"
59
60       CustomMedia  name  width  length  left  bottom  right  top  "size-code"
61       "region-code"
62
63       CustomMedia  "name/text" width length left bottom right top "size-code"
64       "region-code"
65
66       Cutter boolean-value
67
68       Darkness temperature name
69
70       Darkness temperature "name/text"
71
72       DriverType type
73
74       Duplex type
75
76       Filter mime-type cost program
77
78       Finishing name
79
80       Finishing "name/text"
81
82       Font *
83
84       Font name encoding "version" charset status
85
86       Group name
87
88       Group "name/text"
89
90       HWMargins left bottom right top
91
92       InputSlot position name
93
94       InputSlot position "name/text"
95
96       Installable name
97
98       Installable "name/text"
99
100       ManualCopies boolean-value
101
102       Manufacturer "name"
103
104       MaxSize width length
105
106       MediaSize name
107
108       MediaType type name
109
110       MediaType type "name/text"
111
112       MinSize width length
113
114       ModelName "name"
115
116       ModelNumber number
117
118       Option name type section order
119
120       Option "name/text" type section order
121
122       PCFileName "filename.ppd"
123
124       Resolution colorspace bits-per-color row-count row-feed row-step name
125
126       Resolution  colorspace  bits-per-color  row-count   row-feed   row-step
127       "name/text"
128
129       SimpleColorProfile resolution/mediatype density yellow-density red-den‐
130       sity gamma red-adjust green-adjust blue-adjust
131
132       Throughput pages-per-minute
133
134       UIConstraints "*Option1 *Option2"
135
136       UIConstraints "*Option1 Choice1 *Option2"
137
138       UIConstraints "*Option1 *Option2 Choice2"
139
140       UIConstraints "*Option1 Choice1 *Option2 Choice2"
141
142       VariablePaperSize boolean-value
143
144       Version number
145

SEE ALSO

147       cupsprofile(1), ppdc(1), ppdhtml(1),  ppdi(1),  ppdmerge(1),  ppdpo(1),
148       CUPS Driver Developer Kit Manual,
149       http://localhost:631/help/ref-ppdc.html
150
152       Copyright 2007 by Apple Inc.
153
154
155
15614 February 2007          CUPS Driver Development Kit              ppdcfile(5)
Impressum