]> git.ipfire.org Git - thirdparty/cups.git/blame - man/ppdcfile.man
Update .gitignore to ignore compressed man pages.
[thirdparty/cups.git] / man / ppdcfile.man
CommitLineData
ac884b6a 1.\"
53480915 2.\" ppdcfile man page for CUPS.
ac884b6a 3.\"
8be431f2 4.\" Copyright 2007-2016 by Apple Inc.
53480915 5.\" Copyright 1997-2007 by Easy Software Products.
ac884b6a 6.\"
e3101897 7.\" Licensed under Apache License v2.0. See the file "LICENSE" for more information.
ac884b6a 8.\"
8be431f2 9.TH ppdcfile 5 "CUPS" "5 March 2016" "Apple Inc."
ac884b6a
MS
10.SH NAME
11ppdcfile \- cups ppd compiler source file format
12.SH DESCRIPTION
53480915
MS
13The CUPS PPD compiler reads meta files that contain descriptions of one or more PPD files to be generated by
14.BR ppdc (1).
15This man page provides a quick reference to the supported keywords and should be used in conjunction with the online help for CUPS.
ac884b6a 16.PP
53480915 17The 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.
ac884b6a 18.PP
53480915 19Printer 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.
ac884b6a 20.PP
53480915 21Directives 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:
ac884b6a 22.TP 5
53480915 23\fB#define \fIname value\fR
ac884b6a 24.TP 5
53480915 25\fB#elif \fR{\fIname \fR| \fIvalue\fR}
bdd6c45b
MS
26.TP 5
27\fB#else\fR
28.TP 5
29\fB#endif\fR
30.TP 5
53480915 31\fB#font \fIname encoding "version" charset status\fR
ac884b6a 32.TP 5
53480915 33\fB#if \fR{\fIname \fR| \fIvalue\fR}
bdd6c45b 34.TP 5
53480915 35\fB#include <\fIfilename\fB>\fR
ac884b6a 36.TP 5
53480915 37\fB#include "\fIfilename\fB"\fR
ac884b6a 38.TP 5
53480915 39\fB#media \fIname width length\fR
ac884b6a 40.TP 5
53480915 41\fB#media "\fIname\fB/\fItext\fB" \fIwidth length\fR
ac884b6a 42.TP 5
53480915 43\fB#po \fIlocale \fB"\fIfilename\fB"\fR
ac884b6a 44.TP 5
53480915 45\fBAttribute \fIname \fB"" \fIvalue\fR
ac884b6a 46.TP 5
53480915 47\fBAttribute \fIname keyword value\fR
ac884b6a 48.TP 5
53480915 49\fBAttribute \fIname \fB"\fIkeyword\fB/\fItext\fB" \fIvalue\fR
ac884b6a 50.TP 5
53480915 51\fBChoice \fIname \fB"\fIcode\fB"\fR
ac884b6a 52.TP 5
53480915 53\fBChoice \fB"\fIname\fB/\fItext\fB" "\fIcode\fB"\fR
ac884b6a 54.TP 5
53480915 55\fBColorDevice \fIboolean-value\fR
ac884b6a 56.TP 5
53480915 57\fBColorModel \fIname colorspace colororder compression\fR
ac884b6a 58.TP 5
53480915 59\fBColorModel "\fIname\fB/\fItext\fB" \fIcolorspace colororder compression\fR
ac884b6a 60.TP 5
53480915 61\fBColorProfile \fIresolution\fB/\fImediatype gamma density matrix\fR
ac884b6a 62.TP 5
53480915 63\fBCopyright "\fItext\fR"
ac884b6a 64.TP 5
53480915 65\fBCustomMedia \fIname width length left bottom right top \fB"\fIsize-code\fB" "\fIregion-code\fB"\fR
ac884b6a 66.TP 5
53480915 67\fBCustomMedia "\fIname\fB/\fItext\fB" \fIwidth length left bottom right top \fB"\fIsize-code\fB" "\fIregion-code\fB"\fR
ac884b6a 68.TP 5
53480915 69\fBCutter \fIboolean-value\fR
ac884b6a 70.TP 5
53480915 71\fBDarkness \fItemperature name\fR
ac884b6a 72.TP 5
53480915 73\fBDarkness \fItemperature \fB"\fIname\fB/\fItext\fB"\fR
ac884b6a 74.TP 5
53480915 75\fBDriverType \fItype\fR
ac884b6a 76.TP 5
53480915 77\fBDuplex \fItype\fR
ac884b6a 78.TP 5
8be431f2 79\fBFilter \fImime-type cost program\fR
ac884b6a 80.TP 5
53480915 81\fBFinishing \fIname\fR
ac884b6a 82.TP 5
53480915 83\fBFinishing "\fIname\fB/\fItext\fB"\fR
ac884b6a 84.TP 5
53480915 85\fBFont *\fR
ac884b6a 86.TP 5
53480915 87\fBFont \fIname encoding \fB"\fIversion\fB" \fIcharset status\fR
ac884b6a 88.TP 5
53480915 89\fBGroup \fIname\fR
ac884b6a 90.TP 5
53480915 91\fBGroup "\fIname\fB/\fItext\fB"\fR
ac884b6a 92.TP 5
53480915 93\fBHWMargins \fIleft bottom right top\fR
ac884b6a 94.TP 5
53480915 95\fBInputSlot \fIposition name\fR
ac884b6a 96.TP 5
53480915 97\fBInputSlot \fIposition \fB"\fIname\fB/\fItext\fB"\fR
ac884b6a 98.TP 5
53480915 99\fBInstallable \fIname\fR
ac884b6a 100.TP 5
53480915 101\fBInstallable "\fIname\fB/\fItext\fB"\fR
ac884b6a 102.TP 5
53480915 103\fBLocAttribute \fIname \fB"\fIkeyword\fB/\fItext\fB" \fIvalue\fR
bdd6c45b 104.TP 5
53480915 105\fBManualCopies \fIboolean-value\fR
ac884b6a 106.TP 5
53480915 107\fBManufacturer "\fIname\fB"\fR
ac884b6a 108.TP 5
53480915 109\fBMaxSize \fIwidth length\fR
ac884b6a 110.TP 5
53480915 111\fBMediaSize \fIname\fR
ac884b6a 112.TP 5
53480915 113\fBMediaType \fItype name\fR
ac884b6a 114.TP 5
53480915 115\fBMediaType \fItype \fB"\fIname\fB/\fItext\fB"\fR
ac884b6a 116.TP 5
53480915 117\fBMinSize \fIwidth length\fR
ac884b6a 118.TP 5
53480915 119\fBModelName "\fIname\fB"\fR
ac884b6a 120.TP 5
53480915 121\fBModelNumber \fInumber\fR
ac884b6a 122.TP 5
53480915 123\fBOption \fIname type section order\fR
ac884b6a 124.TP 5
53480915 125\fBOption "\fIname\fB/\fItext\fB" \fItype section order\fR
ac884b6a 126.TP 5
53480915 127\fBPCFileName "\fIfilename.ppd\fB"\fR
ac884b6a 128.TP 5
53480915 129\fBResolution \fIcolorspace bits-per-color row-count row-feed row-step name\fR
ac884b6a 130.TP 5
53480915 131\fBResolution \fIcolorspace bits-per-color row-count row-feed row-step \fB"\fIname\fB/\fItext\fB"\fR
ac884b6a 132.TP 5
53480915 133\fBSimpleColorProfile \fIresolution\fB/\fImediatype density yellow-density red-density gamma red-adjust green-adjust blue-adjust\fR
ac884b6a 134.TP 5
53480915 135\fBThroughput \fIpages-per-minute\fR
ac884b6a 136.TP 5
53480915 137\fBUIConstraints "\fI*Option1 *Option2\fB"\fR
ac884b6a 138.TP 5
53480915 139\fBUIConstraints "\fI*Option1 Choice1 *Option2\fB"\fR
ac884b6a 140.TP 5
53480915 141\fBUIConstraints "\fI*Option1 *Option2 Choice2\fB"\fR
ac884b6a 142.TP 5
53480915 143\fBUIConstraints "\fI*Option1 Choice1 *Option2 Choice2\fB"\fR
ac884b6a 144.TP 5
53480915 145\fBVariablePaperSize \fIboolean-value\fR
ac884b6a 146.TP 5
53480915 147\fBVersion \fInumber\fR
ac884b6a 148.SH SEE ALSO
53480915
MS
149.BR ppdc (1),
150.BR ppdhtml (1),
151.BR ppdi (1),
152.BR ppdmerge (1),
153.BR ppdpo (1),
154CUPS Online Help (http://localhost:631/help)
ac884b6a 155.SH COPYRIGHT
f61dfc0d 156Copyright \[co] 2007-2018 by Apple Inc.