]> git.ipfire.org Git - thirdparty/cups.git/blame - cups/test.ppd
Merge changes from CUPS 1.5svn-r9041.
[thirdparty/cups.git] / cups / test.ppd
CommitLineData
fa73b229 1*PPD-Adobe: "4.3"
2*%
b19ccc9e 3*% "$Id: test.ppd 7819 2008-08-01 00:27:24Z mike $"
fa73b229 4*%
54afec33 5*% Test PPD file for CUPS.
fa73b229 6*%
bc44d920 7*% This file is used to test the CUPS PPD API functions and cannot be
1340db2d
MS
8*% used with any known printers. Look on the CUPS web site for working PPD
9*% files.
fa73b229 10*%
66ab9486
MS
11*% If you are a PPD file developer, consider using the PPD compiler (ppdc)
12*% to create your PPD files - not only will it save you time, it produces
bc44d920 13*% consistently high-quality files.
fa73b229 14*%
54afec33 15*% Copyright 2007-2010 by Apple Inc.
bc44d920 16*% Copyright 2002-2006 by Easy Software Products.
17*%
18*% These coded instructions, statements, and computer programs are the
19*% property of Apple Inc. and are protected by Federal copyright
20*% law. Distribution and use rights are outlined in the file "LICENSE.txt"
21*% which should have been included with this file. If this file is
22*% file is missing or damaged, see the license at "http://www.cups.org/".
fa73b229 23*FormatVersion: "4.3"
bc44d920 24*FileVersion: "1.3"
fa73b229 25*LanguageVersion: English
26*LanguageEncoding: ISOLatin1
27*PCFileName: "TEST.PPD"
28*Manufacturer: "ESP"
66ab9486
MS
29*Product: "(Test)"
30*cupsVersion: 1.4
fa73b229 31*ModelName: "Test"
32*ShortNickName: "Test"
66ab9486
MS
33*NickName: "Test for CUPS"
34*PSVersion: "(3010.000) 0"
fa73b229 35*LanguageLevel: "3"
36*ColorDevice: True
37*DefaultColorSpace: RGB
38*FileSystem: False
39*Throughput: "1"
40*LandscapeOrientation: Plus90
41*TTRasterizer: Type42
ef55b745 42*cupsFilter: "application/vnd.cups-raster 0 -"
f11a948a 43*RequiresPageRegion All: True
fa73b229 44
1340db2d 45*% These constraints are used to test ppdConflicts() and cupsResolveConflicts()
fa73b229 46*UIConstraints: *PageSize Letter *InputSlot Envelope
47*UIConstraints: *InputSlot Envelope *PageSize Letter
66ab9486
MS
48*UIConstraints: *PageRegion Letter *InputSlot Envelope
49*UIConstraints: *InputSlot Envelope *PageRegion Letter
50
51*% These constraints are used to test ppdInstallableConflict()
52*UIConstraints: "*Duplex *InstalledDuplexer False"
53*UIConstraints: "*InstalledDuplexer False *Duplex"
fa73b229 54
6e8b116d
MS
55*% These attributes test ppdFindAttr/ppdFindNext...
56*cupsTest Foo/I Love Foo: ""
57*cupsTest Bar/I Love Bar: ""
58
fa73b229 59*% For PageSize, we have put all of the translations in-line...
60*OpenUI *PageSize/Page Size: PickOne
61*fr.Translation PageSize/French Page Size: ""
62*fr_CA.Translation PageSize/French Canadian Page Size: ""
63*OrderDependency: 10 AnySetup *PageSize
64*DefaultPageSize: Letter
65*PageSize Letter/US Letter: "PageSize=Letter"
66*fr.PageSize Letter/French US Letter: ""
67*fr_CA.PageSize Letter/French Canadian US Letter: ""
54afec33
MS
68*PageSize Letter.Fullbleed/US Letter Borderless: "PageSize=Letter.Fullbleed"
69*fr.PageSize Letter.Fullbleed/French US Letter Borderless: ""
70*fr_CA.PageSize Letter.Fullbleed/French Canadian US Letter Borderless: ""
fa73b229 71*PageSize A4/A4: "PageSize=A4"
72*fr.PageSize A4/French A4: ""
73*fr_CA.PageSize A4/French Canadian A4: ""
74*PageSize Env10/#10 Envelope: "PageSize=Env10"
75*fr.PageSize Env10/French #10 Envelope: ""
76*fr_CA.PageSize Env10/French Canadian #10 Envelope: ""
77*CloseUI: *PageSize
78
79*% For PageRegion, we have separated the translations...
80*OpenUI *PageRegion/Page Region: PickOne
81*OrderDependency: 10 AnySetup *PageRegion
82*DefaultPageRegion: Letter
83*PageRegion Letter/US Letter: "PageRegion=Letter"
54afec33 84*PageRegion Letter.Fullbleed/US Letter Borderless: "PageRegion=Letter.Fullbleed"
fa73b229 85*PageRegion A4/A4: "PageRegion=A4"
86*PageRegion Env10/#10 Envelope: "PageRegion=Env10"
87*CloseUI: *PageRegion
88
89*fr.Translation PageRegion/French Page Region: ""
90*fr.PageRegion Letter/French US Letter: ""
54afec33 91*fr.PageRegion Letter.Fullbleed/French US Letter Borderless: ""
fa73b229 92*fr.PageRegion A4/French A4: ""
93*fr.PageRegion Env10/French #10 Envelope: ""
94
95*fr_CA.Translation PageRegion/French Canadian Page Region: ""
96*fr_CA.PageRegion Letter/French Canadian US Letter: ""
54afec33 97*fr_CA.PageRegion Letter.Fullbleed/French Canadian US Letter Borderless: ""
fa73b229 98*fr_CA.PageRegion A4/French Canadian A4: ""
99*fr_CA.PageRegion Env10/French Canadian #10 Envelope: ""
100
101*DefaultImageableArea: Letter
102*ImageableArea Letter: "18 36 594 756"
54afec33 103*ImageableArea Letter.Fullbleed: "0 0 612 792"
fa73b229 104*ImageableArea A4: "18 36 577 806"
105*ImageableArea Env10: "18 36 279 648"
106
107*DefaultPaperDimension: Letter
108*PaperDimension Letter: "612 792"
54afec33 109*PaperDimension Letter.Fullbleed: "612 792"
fa73b229 110*PaperDimension A4: "595 842"
111*PaperDimension Env10: "297 684"
112
113*% Custom page size support
114*HWMargins: 0 0 0 0
0a682745 115*NonUIOrderDependency: 100 AnySetup *CustomPageSize True
fa73b229 116*CustomPageSize True/Custom Page Size: "PageSize=Custom"
117*ParamCustomPageSize Width: 1 points 36 1080
118*ParamCustomPageSize Height: 2 points 36 86400
119*ParamCustomPageSize WidthOffset/Width Offset: 3 points 0 0
120*ParamCustomPageSize HeightOffset/Height Offset: 4 points 0 0
121*ParamCustomPageSize Orientation: 5 int 0 0
122
123*OpenUI *InputSlot/Input Slot: PickOne
0a682745 124*OrderDependency: 20 AnySetup *InputSlot
fa73b229 125*DefaultInputSlot: Tray
126*InputSlot Tray/Tray: "InputSlot=Tray"
127*InputSlot Manual/Manual Feed: "InputSlot=Manual"
128*InputSlot Envelope/Envelope Feed: "InputSlot=Envelope"
129*CloseUI: *InputSlot
130
54afec33
MS
131*OpenUI *MediaType/Media Type: PickOne
132*OrderDependency: 25 AnySetup *MediaType
133*DefaultMediaType: Plain
134*MediaType Plain/Plain Paper: "MediaType=Plain"
135*MediaType Matte/Matte Photo: "MediaType=Matte"
136*MediaType Glossy/Glossy Photo: "MediaType=Glossy"
137*MediaType Transparency/Transparency Film: "MediaType=Transparency"
138*CloseUI: *MediaType
139
66ab9486
MS
140*OpenUI *Duplex/2-Sided Printing: PickOne
141*OrderDependency: 10 DocumentSetup *Duplex
142*DefaultDuplex: None
143*Duplex None/Off: "Duplex=None"
144*Duplex DuplexNoTumble/Long Edge: "Duplex=DuplexNoTumble"
145*Duplex DuplexTumble/Short Edge: "Duplex=DuplexTumble"
146*CloseUI: *Duplex
147
148*% Installable option...
149*OpenGroup: InstallableOptions/Installable Options
150*OpenUI InstalledDuplexer/Duplexer Installed: Boolean
151*DefaultInstalledDuplexer: False
152*InstalledDuplexer False: ""
153*InstalledDuplexer True: ""
154*CloseUI: *InstalledDuplexer
155*CloseGroup: InstallableOptions
156
fa73b229 157*% Custom options...
158*OpenGroup: Extended/Extended Options
159
160*OpenUI IntOption/Integer: PickOne
0a682745 161*OrderDependency: 30 AnySetup *IntOption
fa73b229 162*DefaultIntOption: None
e53920b9 163*IntOption None: ""
fa73b229 164*IntOption 1: "IntOption=1"
165*IntOption 2: "IntOption=2"
166*IntOption 3: "IntOption=3"
167*CloseUI: *IntOption
168
169*CustomIntOption True/Custom Integer: "IntOption=Custom"
170*ParamCustomIntOption Integer: 1 int -100 100
171
172*OpenUI StringOption/String: PickOne
0a682745 173*OrderDependency: 40 AnySetup *StringOption
fa73b229 174*DefaultStringOption: None
e53920b9 175*StringOption None: ""
fa73b229 176*StringOption foo: "StringOption=foo"
177*StringOption bar: "StringOption=bar"
178*CloseUI: *StringOption
179
e1d6a774 180*CustomStringOption True/Custom String: "StringOption=Custom"
ee571f26
MS
181*ParamCustomStringOption String1: 2 string 1 10
182*ParamCustomStringOption String2: 1 string 1 10
fa73b229 183
184*CloseGroup: Extended
185
5a738aea 186*% IPP reasons for ppdLocalizeIPPReason tests
bc44d920 187*cupsIPPReason foo/Foo Reason: "http://foo/bar.html
188help:anchor='foo'%20bookID=Vendor%20Help
189/help/foo/bar.html"
190*End
01ce6322 191*fr.cupsIPPReason foo/La Foo Reason: "text:La%20Long%20
bc44d920 192text:Foo%20Reason
193http://foo/fr/bar.html
194help:anchor='foo'%20bookID=Vendor%20Help
195/help/fr/foo/bar.html"
196*End
01ce6322 197*zh_TW.cupsIPPReason foo/Number 1 Foo Reason: "text:Number%201%20
db1f069b
MS
198text:Foo%20Reason
199http://foo/zh_TW/bar.html
200help:anchor='foo'%20bookID=Vendor%20Help
201/help/zh_TW/foo/bar.html"
202*End
01ce6322 203*zh.cupsIPPReason foo/Number 2 Foo Reason: "text:Number%202%20
db1f069b
MS
204text:Foo%20Reason
205http://foo/zh/bar.html
206help:anchor='foo'%20bookID=Vendor%20Help
207/help/zh/foo/bar.html"
208*End
bc44d920 209
5a738aea
MS
210*% Marker names for ppdLocalizeMarkerName tests
211*cupsMarkerName cyan/Cyan Toner: ""
212*fr.cupsMarkerName cyan/La Toner Cyan: ""
213*zh_TW.cupsMarkerName cyan/Number 1 Cyan Toner: ""
214*zh.cupsMarkerName cyan/Number 2 Cyan Toner: ""
215
fa73b229 216*DefaultFont: Courier
217*Font AvantGarde-Book: Standard "(001.006S)" Standard ROM
218*Font AvantGarde-BookOblique: Standard "(001.006S)" Standard ROM
219*Font AvantGarde-Demi: Standard "(001.007S)" Standard ROM
220*Font AvantGarde-DemiOblique: Standard "(001.007S)" Standard ROM
221*Font Bookman-Demi: Standard "(001.004S)" Standard ROM
222*Font Bookman-DemiItalic: Standard "(001.004S)" Standard ROM
223*Font Bookman-Light: Standard "(001.004S)" Standard ROM
224*Font Bookman-LightItalic: Standard "(001.004S)" Standard ROM
225*Font Courier: Standard "(002.004S)" Standard ROM
226*Font Courier-Bold: Standard "(002.004S)" Standard ROM
227*Font Courier-BoldOblique: Standard "(002.004S)" Standard ROM
228*Font Courier-Oblique: Standard "(002.004S)" Standard ROM
229*Font Helvetica: Standard "(001.006S)" Standard ROM
230*Font Helvetica-Bold: Standard "(001.007S)" Standard ROM
231*Font Helvetica-BoldOblique: Standard "(001.007S)" Standard ROM
232*Font Helvetica-Narrow: Standard "(001.006S)" Standard ROM
233*Font Helvetica-Narrow-Bold: Standard "(001.007S)" Standard ROM
234*Font Helvetica-Narrow-BoldOblique: Standard "(001.007S)" Standard ROM
235*Font Helvetica-Narrow-Oblique: Standard "(001.006S)" Standard ROM
236*Font Helvetica-Oblique: Standard "(001.006S)" Standard ROM
237*Font NewCenturySchlbk-Bold: Standard "(001.009S)" Standard ROM
238*Font NewCenturySchlbk-BoldItalic: Standard "(001.007S)" Standard ROM
239*Font NewCenturySchlbk-Italic: Standard "(001.006S)" Standard ROM
240*Font NewCenturySchlbk-Roman: Standard "(001.007S)" Standard ROM
241*Font Palatino-Bold: Standard "(001.005S)" Standard ROM
242*Font Palatino-BoldItalic: Standard "(001.005S)" Standard ROM
243*Font Palatino-Italic: Standard "(001.005S)" Standard ROM
244*Font Palatino-Roman: Standard "(001.005S)" Standard ROM
245*Font Symbol: Special "(001.007S)" Special ROM
246*Font Times-Bold: Standard "(001.007S)" Standard ROM
247*Font Times-BoldItalic: Standard "(001.009S)" Standard ROM
248*Font Times-Italic: Standard "(001.007S)" Standard ROM
249*Font Times-Roman: Standard "(001.007S)" Standard ROM
250*Font ZapfChancery-MediumItalic: Standard "(001.007S)" Standard ROM
251*Font ZapfDingbats: Special "(001.004S)" Standard ROM
252*%
b19ccc9e 253*% End of "$Id: test.ppd 7819 2008-08-01 00:27:24Z mike $".
fa73b229 254*%