]> git.ipfire.org Git - thirdparty/cups.git/blame - cups/test2.ppd
Greatly simplify the man page handling.
[thirdparty/cups.git] / cups / test2.ppd
CommitLineData
e78998df
MS
1*PPD-Adobe: "4.3"
2*%
321d8d57 3*% Test PPD file #2 for CUPS.
e78998df
MS
4*%
5*% This file is used to test the CUPS PPD API functions and cannot be
1340db2d
MS
6*% used with any known printers. Look on the CUPS web site for working PPD
7*% files.
e78998df
MS
8*%
9*% If you are a PPD file developer, consider using the PPD compiler (ppdc)
10*% to create your PPD files - not only will it save you time, it produces
11*% consistently high-quality files.
12*%
53f8d64f
MS
13*% Copyright (c) 2007-2018 by Apple Inc.
14*% Copyright (c) 2002-2006 by Easy Software Products.
321d8d57 15*%
53f8d64f
MS
16*% Licensed under Apache License v2.0. See the file "LICENSE" for more
17*% information.
e78998df 18*FormatVersion: "4.3"
53f8d64f 19*FileVersion: "2.3"
321d8d57 20*LanguageVersion: English
e78998df
MS
21*LanguageEncoding: ISOLatin1
22*PCFileName: "TEST.PPD"
53f8d64f 23*Manufacturer: "Apple"
e78998df 24*Product: "(Test2)"
53f8d64f 25*cupsVersion: 2.3
e78998df
MS
26*ModelName: "Test2"
27*ShortNickName: "Test2"
28*NickName: "Test2 for CUPS"
29*PSVersion: "(3010.000) 0"
30*LanguageLevel: "3"
31*ColorDevice: True
32*DefaultColorSpace: RGB
33*FileSystem: False
34*Throughput: "1"
35*LandscapeOrientation: Plus90
36*TTRasterizer: Type42
37
1340db2d 38*% These constraints are used to test ppdConflicts() and cupsResolveConflicts()
e78998df 39*cupsUIConstraints envelope: "*PageSize Letter *InputSlot Envelope"
1340db2d
MS
40*cupsUIConstraints envelope: "*PageSize A4 *InputSlot Envelope"
41*cupsUIResolver envelope: "*InputSlot Manual *PageSize Env10"
e78998df
MS
42
43*cupsUIConstraints envphoto: "*PageSize Env10 *InputSlot Envelope *Quality Photo"
e78998df
MS
44*cupsUIResolver envphoto: "*Quality Normal"
45
46*% This constraint is used to test ppdInstallableConflict()
47*cupsUIConstraints: "*Duplex *InstalledDuplexer False"
48
1340db2d 49*% These constraints are used to test the loop detection code in cupsResolveConflicts()
e78998df
MS
50*cupsUIConstraints loop1: "*PageSize A4 *Quality Photo"
51*cupsUIResolver loop1: "*Quality Normal"
52*cupsUIConstraints loop2: "*PageSize A4 *Quality Normal"
1340db2d 53*cupsUIResolver loop2: "*Quality Photo"
e78998df
MS
54
55*% For PageSize, we have put all of the translations in-line...
56*OpenUI *PageSize/Page Size: PickOne
57*fr.Translation PageSize/French Page Size: ""
58*fr_CA.Translation PageSize/French Canadian Page Size: ""
59*OrderDependency: 10 AnySetup *PageSize
60*DefaultPageSize: Letter
61*PageSize Letter/US Letter: "PageSize=Letter"
62*fr.PageSize Letter/French US Letter: ""
63*fr_CA.PageSize Letter/French Canadian US Letter: ""
64*PageSize A4/A4: "PageSize=A4"
65*fr.PageSize A4/French A4: ""
66*fr_CA.PageSize A4/French Canadian A4: ""
67*PageSize Env10/#10 Envelope: "PageSize=Env10"
68*fr.PageSize Env10/French #10 Envelope: ""
69*fr_CA.PageSize Env10/French Canadian #10 Envelope: ""
70*CloseUI: *PageSize
71
72*% For PageRegion, we have separated the translations...
73*OpenUI *PageRegion/Page Region: PickOne
74*OrderDependency: 10 AnySetup *PageRegion
75*DefaultPageRegion: Letter
76*PageRegion Letter/US Letter: "PageRegion=Letter"
77*PageRegion A4/A4: "PageRegion=A4"
78*PageRegion Env10/#10 Envelope: "PageRegion=Env10"
79*CloseUI: *PageRegion
80
81*fr.Translation PageRegion/French Page Region: ""
82*fr.PageRegion Letter/French US Letter: ""
83*fr.PageRegion A4/French A4: ""
84*fr.PageRegion Env10/French #10 Envelope: ""
85
86*fr_CA.Translation PageRegion/French Canadian Page Region: ""
87*fr_CA.PageRegion Letter/French Canadian US Letter: ""
88*fr_CA.PageRegion A4/French Canadian A4: ""
89*fr_CA.PageRegion Env10/French Canadian #10 Envelope: ""
90
321d8d57 91*DefaultImageableArea: Letter
e78998df
MS
92*ImageableArea Letter: "18 36 594 756"
93*ImageableArea A4: "18 36 577 806"
94*ImageableArea Env10: "18 36 279 648"
95
96*DefaultPaperDimension: Letter
97*PaperDimension Letter: "612 792"
98*PaperDimension A4: "595 842"
99*PaperDimension Env10: "297 684"
100
101*% Custom page size support
102*HWMargins: 0 0 0 0
103*NonUIOrderDependency: 100 AnySetup *CustomPageSize True
104*CustomPageSize True/Custom Page Size: "PageSize=Custom"
105*ParamCustomPageSize Width: 1 points 36 1080
106*ParamCustomPageSize Height: 2 points 36 86400
107*ParamCustomPageSize WidthOffset/Width Offset: 3 points 0 0
108*ParamCustomPageSize HeightOffset/Height Offset: 4 points 0 0
109*ParamCustomPageSize Orientation: 5 int 0 0
110
005dd1eb
MS
111*cupsMediaQualifier2: InputSlot
112*cupsMediaQualifier3: Quality
113*cupsMaxSize .Manual.: "1000 1000"
114*cupsMinSize .Manual.: "100 100"
115*cupsMinSize .Manual.Photo: "200 200"
116*cupsMinSize ..Photo: "300 300"
117
e78998df
MS
118*OpenUI *InputSlot/Input Slot: PickOne
119*OrderDependency: 20 AnySetup *InputSlot
120*DefaultInputSlot: Tray
121*InputSlot Tray/Tray: "InputSlot=Tray"
122*InputSlot Manual/Manual Feed: "InputSlot=Manual"
123*InputSlot Envelope/Envelope Feed: "InputSlot=Envelope"
124*CloseUI: *InputSlot
125
126*OpenUI *Quality/Output Mode: PickOne
127*OrderDependency: 20 AnySetup *Quality
128*DefaultQuality: Normal
129*Quality Draft: "Quality=Draft"
130*Quality Normal: "Quality=Normal"
131*Quality Photo: "Quality=Photo"
132*CloseUI: *Quality
133
134*OpenUI *Duplex/2-Sided Printing: PickOne
135*OrderDependency: 10 DocumentSetup *Duplex
136*DefaultDuplex: None
137*Duplex None/Off: "Duplex=None"
138*Duplex DuplexNoTumble/Long Edge: "Duplex=DuplexNoTumble"
139*Duplex DuplexTumble/Short Edge: "Duplex=DuplexTumble"
140*CloseUI: *Duplex
141
142*% Installable option...
143*OpenGroup: InstallableOptions/Installable Options
144*OpenUI InstalledDuplexer/Duplexer Installed: Boolean
145*DefaultInstalledDuplexer: False
146*InstalledDuplexer False: ""
147*InstalledDuplexer True: ""
148*CloseUI: *InstalledDuplexer
149*CloseGroup: InstallableOptions
150
151*% Custom options...
152*OpenGroup: Extended/Extended Options
153
154*OpenUI IntOption/Integer: PickOne
155*OrderDependency: 30 AnySetup *IntOption
156*DefaultIntOption: None
157*IntOption None: ""
158*IntOption 1: "IntOption=1"
159*IntOption 2: "IntOption=2"
160*IntOption 3: "IntOption=3"
161*CloseUI: *IntOption
162
163*CustomIntOption True/Custom Integer: "IntOption=Custom"
164*ParamCustomIntOption Integer: 1 int -100 100
165
166*OpenUI StringOption/String: PickOne
167*OrderDependency: 40 AnySetup *StringOption
168*DefaultStringOption: None
169*StringOption None: ""
170*StringOption foo: "StringOption=foo"
171*StringOption bar: "StringOption=bar"
172*CloseUI: *StringOption
173
174*CustomStringOption True/Custom String: "StringOption=Custom"
175*ParamCustomStringOption String: 1 string 1 10
176
177*CloseGroup: Extended
178
179*% IPP reasons for ppdLocalizeIPPReason tests
180*cupsIPPReason foo/Foo Reason: "http://foo/bar.html
181help:anchor='foo'%20bookID=Vendor%20Help
182/help/foo/bar.html"
183*End
184*fr.cupsIPPReason foo/La Foo Reason: "text:La%20Long%20
185text:Foo%20Reason
186http://foo/fr/bar.html
187help:anchor='foo'%20bookID=Vendor%20Help
188/help/fr/foo/bar.html"
189*End
190*zh_TW.cupsIPPReason foo/Number 1 Foo Reason: "text:Number%201%20
191text:Foo%20Reason
192http://foo/zh_TW/bar.html
193help:anchor='foo'%20bookID=Vendor%20Help
194/help/zh_TW/foo/bar.html"
195*End
196*zh.cupsIPPReason foo/Number 2 Foo Reason: "text:Number%202%20
197text:Foo%20Reason
198http://foo/zh/bar.html
199help:anchor='foo'%20bookID=Vendor%20Help
200/help/zh/foo/bar.html"
201*End
202
203*% Marker names for ppdLocalizeMarkerName tests
204*cupsMarkerName cyan/Cyan Toner: ""
205*fr.cupsMarkerName cyan/La Toner Cyan: ""
206*zh_TW.cupsMarkerName cyan/Number 1 Cyan Toner: ""
207*zh.cupsMarkerName cyan/Number 2 Cyan Toner: ""
208
209*DefaultFont: Courier
210*Font AvantGarde-Book: Standard "(001.006S)" Standard ROM
211*Font AvantGarde-BookOblique: Standard "(001.006S)" Standard ROM
212*Font AvantGarde-Demi: Standard "(001.007S)" Standard ROM
213*Font AvantGarde-DemiOblique: Standard "(001.007S)" Standard ROM
214*Font Bookman-Demi: Standard "(001.004S)" Standard ROM
215*Font Bookman-DemiItalic: Standard "(001.004S)" Standard ROM
216*Font Bookman-Light: Standard "(001.004S)" Standard ROM
217*Font Bookman-LightItalic: Standard "(001.004S)" Standard ROM
218*Font Courier: Standard "(002.004S)" Standard ROM
219*Font Courier-Bold: Standard "(002.004S)" Standard ROM
220*Font Courier-BoldOblique: Standard "(002.004S)" Standard ROM
221*Font Courier-Oblique: Standard "(002.004S)" Standard ROM
222*Font Helvetica: Standard "(001.006S)" Standard ROM
223*Font Helvetica-Bold: Standard "(001.007S)" Standard ROM
224*Font Helvetica-BoldOblique: Standard "(001.007S)" Standard ROM
225*Font Helvetica-Narrow: Standard "(001.006S)" Standard ROM
226*Font Helvetica-Narrow-Bold: Standard "(001.007S)" Standard ROM
227*Font Helvetica-Narrow-BoldOblique: Standard "(001.007S)" Standard ROM
228*Font Helvetica-Narrow-Oblique: Standard "(001.006S)" Standard ROM
229*Font Helvetica-Oblique: Standard "(001.006S)" Standard ROM
230*Font NewCenturySchlbk-Bold: Standard "(001.009S)" Standard ROM
231*Font NewCenturySchlbk-BoldItalic: Standard "(001.007S)" Standard ROM
232*Font NewCenturySchlbk-Italic: Standard "(001.006S)" Standard ROM
233*Font NewCenturySchlbk-Roman: Standard "(001.007S)" Standard ROM
234*Font Palatino-Bold: Standard "(001.005S)" Standard ROM
235*Font Palatino-BoldItalic: Standard "(001.005S)" Standard ROM
236*Font Palatino-Italic: Standard "(001.005S)" Standard ROM
237*Font Palatino-Roman: Standard "(001.005S)" Standard ROM
238*Font Symbol: Special "(001.007S)" Special ROM
239*Font Times-Bold: Standard "(001.007S)" Standard ROM
240*Font Times-BoldItalic: Standard "(001.009S)" Standard ROM
241*Font Times-Italic: Standard "(001.007S)" Standard ROM
242*Font Times-Roman: Standard "(001.007S)" Standard ROM
243*Font ZapfChancery-MediumItalic: Standard "(001.007S)" Standard ROM
244*Font ZapfDingbats: Special "(001.004S)" Standard ROM