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