2 .\" "$Id: ppdcfile.man 343 2007-07-13 19:52:48Z mike $"
4 .\" ppdcfile man page for the CUPS Driver Development Kit.
6 .\" Copyright 2007 by Apple Inc.
7 .\" Copyright 1997-2007 by Easy Software Products.
9 .\" These coded instructions, statements, and computer programs are the
10 .\" property of Apple Inc. and are protected by Federal copyright
11 .\" law. Distribution and use rights are outlined in the file "LICENSE.txt"
12 .\" which should have been included with this file. If this file is
13 .\" file is missing or damaged, see the license at "http://www.cups.org/".
15 .TH ppdcfile 5 "CUPS Driver Development Kit" "14 February 2007" "Apple Inc."
17 ppdcfile \- cups ppd compiler source file format
19 The CUPS PPD compiler reads meta files that contain descriptions
20 of one or more PPD files to be generated by \fIppdc\fR. This man
21 page provides a quick reference to the supported keywords and
22 should be used in conjuction with the CUPS Driver Development Kit
25 The source file format is plain ASCII text that can be edited
26 using your favorite text editor. Comments are supported using
27 the C (/* ... */) and C++ (// ...) comment mechanisms.
29 Printer driver information can be grouped and shared using
30 curley braces ({ ... }); PPD files are written when a close
31 brace or end-of-file is seen and a PCFileName directive has been
34 Directives may be placed anywhere on a line and are followed by
35 one or more values. The following is a list of the available
36 directives and the values they accept:
38 \fB#define\fR name value
40 \fB#font\fR name encoding "version" charset status
42 \fB#include\fR <filename>
44 \fB#include\fR "filename"
46 \fB#media\fR name width length
48 \fB#media\fR "name/text" width length
50 \fB#po\fR locale "filename.po"
52 \fBAttribute\fR name "" value
54 \fBAttribute\fR name keyword value
56 \fBAttribute\fR name "keyword/text" value
58 \fBChoice\fR name "code"
60 \fBChoice\fR "name/text" "code"
62 \fBColorDevice\fR boolean-value
64 \fBColorModel\fR name colorspace colororder compression
66 \fBColorModel\fR "name/text" colorspace colororder compression
68 \fBColorProfile\fR resolution/mediatype gamma density matrix
70 \fBCopyright\fR "text"
72 \fBCustomMedia\fR name width length left bottom right top "size-code" "region-code"
74 \fBCustomMedia\fR "name/text" width length left bottom right top "size-code" "region-code"
76 \fBCutter\fR boolean-value
78 \fBDarkness\fR temperature name
80 \fBDarkness\fR temperature "name/text"
86 \fBFilter\fR mime-type cost program
90 \fBFinishing\fR "name/text"
94 \fBFont\fR name encoding "version" charset status
98 \fBGroup\fR "name/text"
100 \fBHWMargins\fR left bottom right top
102 \fBInputSlot\fR position name
104 \fBInputSlot\fR position "name/text"
106 \fBInstallable\fR name
108 \fBInstallable\fR "name/text"
110 \fBManualCopies\fR boolean-value
112 \fBManufacturer\fR "name"
114 \fBMaxSize\fR width length
118 \fBMediaType\fR type name
120 \fBMediaType\fR type "name/text"
122 \fBMinSize\fR width length
124 \fBModelName\fR "name"
126 \fBModelNumber\fR number
128 \fBOption\fR name type section order
130 \fBOption\fR "name/text" type section order
132 \fBPCFileName\fR "filename.ppd"
134 \fBResolution\fR colorspace bits-per-color row-count row-feed row-step name
136 \fBResolution\fR colorspace bits-per-color row-count row-feed row-step "name/text"
138 \fBSimpleColorProfile\fR resolution/mediatype density yellow-density red-density gamma red-adjust green-adjust blue-adjust
140 \fBThroughput\fR pages-per-minute
142 \fBUIConstraints\fR "*Option1 *Option2"
144 \fBUIConstraints\fR "*Option1 Choice1 *Option2"
146 \fBUIConstraints\fR "*Option1 *Option2 Choice2"
148 \fBUIConstraints\fR "*Option1 Choice1 *Option2 Choice2"
150 \fBVariablePaperSize\fR boolean-value
154 cupsprofile(1), ppdc(1), ppdhtml(1), ppdi(1), ppdmerge(1), ppdpo(1),
155 CUPS Driver Developer Kit Manual,
157 http://localhost:631/help/ref-ppdc.html
159 Copyright 2007 by Apple Inc.
161 .\" End of "$Id: ppdcfile.man 343 2007-07-13 19:52:48Z mike $".