]> git.ipfire.org Git - thirdparty/cups.git/blame - man/ppdcfile.man
Merge changes from CUPS 1.4svn-r7696.
[thirdparty/cups.git] / man / ppdcfile.man
CommitLineData
ac884b6a 1.\"
75bd9771 2.\" "$Id: ppdcfile.man 7607 2008-05-21 01:06:23Z mike $"
ac884b6a 3.\"
bdd6c45b 4.\" ppdcfile man page for the Common UNIX Printing System.
ac884b6a 5.\"
bdd6c45b 6.\" Copyright 2007-2008 by Apple Inc.
ac884b6a
MS
7.\" Copyright 1997-2007 by Easy Software Products.
8.\"
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/".
14.\"
bdd6c45b 15.TH ppdcfile 5 "Common UNIX Printing System" "20 May 2008" "Apple Inc."
ac884b6a
MS
16.SH NAME
17ppdcfile \- cups ppd compiler source file format
18.SH DESCRIPTION
19The CUPS PPD compiler reads meta files that contain descriptions
20of one or more PPD files to be generated by \fIppdc\fR. This man
21page provides a quick reference to the supported keywords and
bdd6c45b 22should be used in conjuction with the Common UNIX Printing System
ac884b6a
MS
23Developers Manual.
24.PP
25The source file format is plain ASCII text that can be edited
26using your favorite text editor. Comments are supported using
27the C (/* ... */) and C++ (// ...) comment mechanisms.
28.PP
29Printer driver information can be grouped and shared using
30curley braces ({ ... }); PPD files are written when a close
31brace or end-of-file is seen and a PCFileName directive has been
32defined.
33.PP
34Directives may be placed anywhere on a line and are followed by
35one or more values. The following is a list of the available
36directives and the values they accept:
37.TP 5
38\fB#define\fR name value
39.TP 5
bdd6c45b
MS
40\fB#elif\fR {name | value}
41.TP 5
42\fB#else\fR
43.TP 5
44\fB#endif\fR
45.TP 5
ac884b6a
MS
46\fB#font\fR name encoding "version" charset status
47.TP 5
bdd6c45b
MS
48\fB#if\fR {name | value}
49.TP 5
ac884b6a
MS
50\fB#include\fR <filename>
51.TP 5
52\fB#include\fR "filename"
53.TP 5
54\fB#media\fR name width length
55.TP 5
56\fB#media\fR "name/text" width length
57.TP 5
58\fB#po\fR locale "filename.po"
59.TP 5
60\fBAttribute\fR name "" value
61.TP 5
62\fBAttribute\fR name keyword value
63.TP 5
64\fBAttribute\fR name "keyword/text" value
65.TP 5
66\fBChoice\fR name "code"
67.TP 5
68\fBChoice\fR "name/text" "code"
69.TP 5
70\fBColorDevice\fR boolean-value
71.TP 5
72\fBColorModel\fR name colorspace colororder compression
73.TP 5
74\fBColorModel\fR "name/text" colorspace colororder compression
75.TP 5
76\fBColorProfile\fR resolution/mediatype gamma density matrix
77.TP 5
78\fBCopyright\fR "text"
79.TP 5
80\fBCustomMedia\fR name width length left bottom right top "size-code" "region-code"
81.TP 5
82\fBCustomMedia\fR "name/text" width length left bottom right top "size-code" "region-code"
83.TP 5
84\fBCutter\fR boolean-value
85.TP 5
86\fBDarkness\fR temperature name
87.TP 5
88\fBDarkness\fR temperature "name/text"
89.TP 5
90\fBDriverType\fR type
91.TP 5
92\fBDuplex\fR type
93.TP 5
94\fBFilter\fR mime-type cost program
95.TP 5
96\fBFinishing\fR name
97.TP 5
98\fBFinishing\fR "name/text"
99.TP 5
100\fBFont\fR *
101.TP 5
102\fBFont\fR name encoding "version" charset status
103.TP 5
104\fBGroup\fR name
105.TP 5
106\fBGroup\fR "name/text"
107.TP 5
108\fBHWMargins\fR left bottom right top
109.TP 5
110\fBInputSlot\fR position name
111.TP 5
112\fBInputSlot\fR position "name/text"
113.TP 5
114\fBInstallable\fR name
115.TP 5
116\fBInstallable\fR "name/text"
117.TP 5
bdd6c45b
MS
118\fBLocAttribute\fR name "keyword/text" value
119.TP 5
ac884b6a
MS
120\fBManualCopies\fR boolean-value
121.TP 5
122\fBManufacturer\fR "name"
123.TP 5
124\fBMaxSize\fR width length
125.TP 5
126\fBMediaSize\fR name
127.TP 5
128\fBMediaType\fR type name
129.TP 5
130\fBMediaType\fR type "name/text"
131.TP 5
132\fBMinSize\fR width length
133.TP 5
134\fBModelName\fR "name"
135.TP 5
136\fBModelNumber\fR number
137.TP 5
138\fBOption\fR name type section order
139.TP 5
140\fBOption\fR "name/text" type section order
141.TP 5
142\fBPCFileName\fR "filename.ppd"
143.TP 5
144\fBResolution\fR colorspace bits-per-color row-count row-feed row-step name
145.TP 5
146\fBResolution\fR colorspace bits-per-color row-count row-feed row-step "name/text"
147.TP 5
148\fBSimpleColorProfile\fR resolution/mediatype density yellow-density red-density gamma red-adjust green-adjust blue-adjust
149.TP 5
150\fBThroughput\fR pages-per-minute
151.TP 5
152\fBUIConstraints\fR "*Option1 *Option2"
153.TP 5
154\fBUIConstraints\fR "*Option1 Choice1 *Option2"
155.TP 5
156\fBUIConstraints\fR "*Option1 *Option2 Choice2"
157.TP 5
158\fBUIConstraints\fR "*Option1 Choice1 *Option2 Choice2"
159.TP 5
160\fBVariablePaperSize\fR boolean-value
161.TP 5
162\fBVersion\fR number
163.SH SEE ALSO
bdd6c45b 164ppdc(1), ppdhtml(1), ppdi(1), ppdmerge(1), ppdpo(1)
ac884b6a 165.br
bdd6c45b 166http://localhost:631/help
ac884b6a 167.SH COPYRIGHT
bdd6c45b 168Copyright 2007-2008 by Apple Inc.
ac884b6a 169.\"
75bd9771 170.\" End of "$Id: ppdcfile.man 7607 2008-05-21 01:06:23Z mike $".
ac884b6a 171.\"