]> git.ipfire.org Git - thirdparty/cups.git/blob - cups/test.ppd
Changelog
[thirdparty/cups.git] / cups / test.ppd
1 *PPD-Adobe: "4.3"
2 *%
3 *% Test PPD file for CUPS.
4 *%
5 *% This file is used to test the CUPS PPD API functions and cannot be
6 *% used with any known printers. Look on the CUPS web site for working PPD
7 *% files.
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 *%
13 *% Copyright (c) 2007-2018 by Apple Inc.
14 *% Copyright (c) 2002-2006 by Easy Software Products.
15 *%
16 *% Licensed under Apache License v2.0. See the file "LICENSE" for more
17 *% information.
18 *FormatVersion: "4.3"
19 *FileVersion: "2.3"
20 *LanguageVersion: English
21 *LanguageEncoding: ISOLatin1
22 *PCFileName: "TEST.PPD"
23 *Manufacturer: "Apple"
24 *Product: "(Test)"
25 *cupsVersion: 2.3
26 *ModelName: "Test"
27 *ShortNickName: "Test"
28 *NickName: "Test 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 *cupsFilter: "application/vnd.cups-raster 0 -"
38 *RequiresPageRegion All: True
39
40 *% These constraints are used to test ppdConflicts() and cupsResolveConflicts()
41 *UIConstraints: *PageSize Letter *InputSlot Envelope
42 *UIConstraints: *InputSlot Envelope *PageSize Letter
43 *UIConstraints: *PageRegion Letter *InputSlot Envelope
44 *UIConstraints: *InputSlot Envelope *PageRegion Letter
45
46 *% These constraints are used to test ppdInstallableConflict()
47 *UIConstraints: "*Duplex *InstalledDuplexer False"
48 *UIConstraints: "*InstalledDuplexer False *Duplex"
49
50 *% These attributes test ppdFindAttr/ppdFindNext...
51 *cupsTest Foo/I Love Foo: ""
52 *cupsTest Bar/I Love Bar: ""
53
54 *% For PageSize, we have put all of the translations in-line...
55 *OpenUI *PageSize/Page Size: PickOne
56 *fr.Translation PageSize/French Page Size: ""
57 *fr_CA.Translation PageSize/French Canadian Page Size: ""
58 *OrderDependency: 10 AnySetup *PageSize
59 *DefaultPageSize: Letter
60 *PageSize Letter/US Letter: "PageSize=Letter"
61 *fr.PageSize Letter/French US Letter: ""
62 *fr_CA.PageSize Letter/French Canadian US Letter: ""
63 *PageSize Letter.Banner/US Letter Banner: "PageSize=Letter.Banner"
64 *fr.PageSize Letter.Banner/French US Letter Banner: ""
65 *fr_CA.PageSize Letter.Banner/French Canadian US Letter Banner: ""
66 *PageSize Letter.Fullbleed/US Letter Borderless: "PageSize=Letter.Fullbleed"
67 *fr.PageSize Letter.Fullbleed/French US Letter Borderless: ""
68 *fr_CA.PageSize Letter.Fullbleed/French Canadian US Letter Borderless: ""
69 *PageSize A4/A4: "PageSize=A4"
70 *fr.PageSize A4/French A4: ""
71 *fr_CA.PageSize A4/French Canadian A4: ""
72 *PageSize Env10/#10 Envelope: "PageSize=Env10"
73 *fr.PageSize Env10/French #10 Envelope: ""
74 *fr_CA.PageSize Env10/French Canadian #10 Envelope: ""
75 *CloseUI: *PageSize
76
77 *% For PageRegion, we have separated the translations...
78 *OpenUI *PageRegion/Page Region: PickOne
79 *OrderDependency: 10 AnySetup *PageRegion
80 *DefaultPageRegion: Letter
81 *PageRegion Letter/US Letter: "PageRegion=Letter"
82 *PageRegion Letter.Banner/US Letter Banner: "PageRegion=Letter.Fullbleed"
83 *PageRegion Letter.Fullbleed/US Letter Borderless: "PageRegion=Letter.Fullbleed"
84 *PageRegion A4/A4: "PageRegion=A4"
85 *PageRegion Env10/#10 Envelope: "PageRegion=Env10"
86 *CloseUI: *PageRegion
87
88 *fr.Translation PageRegion/French Page Region: ""
89 *fr.PageRegion Letter/French US Letter: ""
90 *fr.PageRegion Letter.Banner/French US Letter Banner: ""
91 *fr.PageRegion Letter.Fullbleed/French US Letter Borderless: ""
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: ""
97 *fr_CA.PageRegion Letter.Banner/French Canadian US Letter Banner: ""
98 *fr_CA.PageRegion Letter.Fullbleed/French Canadian US Letter Borderless: ""
99 *fr_CA.PageRegion A4/French Canadian A4: ""
100 *fr_CA.PageRegion Env10/French Canadian #10 Envelope: ""
101
102 *DefaultImageableArea: Letter
103 *ImageableArea Letter: "18 36 594 756"
104 *ImageableArea Letter.Banner: "18 0 594 792"
105 *ImageableArea Letter.Fullbleed: "0 0 612 792"
106 *ImageableArea A4: "18 36 577 806"
107 *ImageableArea Env10: "18 36 279 648"
108
109 *DefaultPaperDimension: Letter
110 *PaperDimension Letter: "612 792"
111 *PaperDimension Letter.Banner: "612 792"
112 *PaperDimension Letter.Fullbleed: "612 792"
113 *PaperDimension A4: "595 842"
114 *PaperDimension Env10: "297 684"
115
116 *% Custom page size support
117 *HWMargins: 0 0 0 0
118 *NonUIOrderDependency: 100 AnySetup *CustomPageSize True
119 *CustomPageSize True/Custom Page Size: "PageSize=Custom"
120 *ParamCustomPageSize Width: 1 points 36 1080
121 *ParamCustomPageSize Height: 2 points 36 86400
122 *ParamCustomPageSize WidthOffset/Width Offset: 3 points 0 0
123 *ParamCustomPageSize HeightOffset/Height Offset: 4 points 0 0
124 *ParamCustomPageSize Orientation: 5 int 0 0
125
126 *OpenUI *InputSlot/Input Slot: PickOne
127 *OrderDependency: 20 AnySetup *InputSlot
128 *DefaultInputSlot: Tray
129 *InputSlot Tray/Tray: "InputSlot=Tray"
130 *InputSlot Manual/Manual Feed: "InputSlot=Manual"
131 *InputSlot Envelope/Envelope Feed: "InputSlot=Envelope"
132 *CloseUI: *InputSlot
133
134 *OpenUI *MediaType/Media Type: PickOne
135 *OrderDependency: 25 AnySetup *MediaType
136 *DefaultMediaType: Plain
137 *MediaType Plain/Plain Paper: "MediaType=Plain"
138 *MediaType Matte/Matte Photo: "MediaType=Matte"
139 *MediaType Glossy/Glossy Photo: "MediaType=Glossy"
140 *MediaType Transparency/Transparency Film: "MediaType=Transparency"
141 *CloseUI: *MediaType
142
143 *OpenUI *OutputBin/Output Tray: PickOne
144 *OrderDependency: 25 AnySetup *OutputBin
145 *DefaultOutputBin: Tray1
146 *OutputBin Auto/Automatic Tray: "OutputBin=Auto"
147 *OutputBin Tray1/Tray 1: "OutputBin=Tray1"
148 *OutputBin Tray2/Tray 2: "OutputBin=Tray2"
149 *OutputBin MainTray/Main Tray: "OutputBin=MainTray"
150 *CloseUI: *OutputBin
151
152 *OpenUI *Duplex/2-Sided Printing: PickOne
153 *OrderDependency: 10 DocumentSetup *Duplex
154 *DefaultDuplex: None
155 *Duplex None/Off: "Duplex=None"
156 *Duplex DuplexNoTumble/Long Edge: "Duplex=DuplexNoTumble"
157 *Duplex DuplexTumble/Short Edge: "Duplex=DuplexTumble"
158 *CloseUI: *Duplex
159
160 *% Installable option...
161 *OpenGroup: InstallableOptions/Installable Options
162 *OpenUI InstalledDuplexer/Duplexer Installed: Boolean
163 *DefaultInstalledDuplexer: False
164 *InstalledDuplexer False: ""
165 *InstalledDuplexer True: ""
166 *CloseUI: *InstalledDuplexer
167 *CloseGroup: InstallableOptions
168
169 *% Custom options...
170 *OpenGroup: Extended/Extended Options
171
172 *OpenUI IntOption/Integer: PickOne
173 *OrderDependency: 30 AnySetup *IntOption
174 *DefaultIntOption: None
175 *IntOption None: ""
176 *IntOption 1: "IntOption=1"
177 *IntOption 2: "IntOption=2"
178 *IntOption 3: "IntOption=3"
179 *CloseUI: *IntOption
180
181 *CustomIntOption True/Custom Integer: "IntOption=Custom"
182 *ParamCustomIntOption Integer: 1 int -100 100
183
184 *OpenUI StringOption/String: PickOne
185 *OrderDependency: 40 AnySetup *StringOption
186 *DefaultStringOption: None
187 *StringOption None: ""
188 *StringOption foo: "StringOption=foo"
189 *StringOption bar: "StringOption=bar"
190 *CloseUI: *StringOption
191
192 *CustomStringOption True/Custom String: "StringOption=Custom"
193 *ParamCustomStringOption String1: 2 string 1 10
194 *ParamCustomStringOption String2: 1 string 1 10
195
196 *CloseGroup: Extended
197
198 *% IPP reasons for ppdLocalizeIPPReason tests
199 *cupsIPPReason foo/Foo Reason: "http://foo/bar.html
200 help:anchor='foo'%20bookID=Vendor%20Help
201 /help/foo/bar.html"
202 *End
203 *fr.cupsIPPReason foo/La Foo Reason: "text:La%20Long%20
204 text:Foo%20Reason
205 http://foo/fr/bar.html
206 help:anchor='foo'%20bookID=Vendor%20Help
207 /help/fr/foo/bar.html"
208 *End
209 *zh_TW.cupsIPPReason foo/Number 1 Foo Reason: "text:Number%201%20
210 text:Foo%20Reason
211 http://foo/zh_TW/bar.html
212 help:anchor='foo'%20bookID=Vendor%20Help
213 /help/zh_TW/foo/bar.html"
214 *End
215 *zh.cupsIPPReason foo/Number 2 Foo Reason: "text:Number%202%20
216 text:Foo%20Reason
217 http://foo/zh/bar.html
218 help:anchor='foo'%20bookID=Vendor%20Help
219 /help/zh/foo/bar.html"
220 *End
221
222 *% Marker names for ppdLocalizeMarkerName tests
223 *cupsMarkerName cyan/Cyan Toner: ""
224 *fr.cupsMarkerName cyan/La Toner Cyan: ""
225 *zh_TW.cupsMarkerName cyan/Number 1 Cyan Toner: ""
226 *zh.cupsMarkerName cyan/Number 2 Cyan Toner: ""
227
228 *DefaultFont: Courier
229 *Font AvantGarde-Book: Standard "(001.006S)" Standard ROM
230 *Font AvantGarde-BookOblique: Standard "(001.006S)" Standard ROM
231 *Font AvantGarde-Demi: Standard "(001.007S)" Standard ROM
232 *Font AvantGarde-DemiOblique: Standard "(001.007S)" Standard ROM
233 *Font Bookman-Demi: Standard "(001.004S)" Standard ROM
234 *Font Bookman-DemiItalic: Standard "(001.004S)" Standard ROM
235 *Font Bookman-Light: Standard "(001.004S)" Standard ROM
236 *Font Bookman-LightItalic: Standard "(001.004S)" Standard ROM
237 *Font Courier: Standard "(002.004S)" Standard ROM
238 *Font Courier-Bold: Standard "(002.004S)" Standard ROM
239 *Font Courier-BoldOblique: Standard "(002.004S)" Standard ROM
240 *Font Courier-Oblique: Standard "(002.004S)" Standard ROM
241 *Font Helvetica: Standard "(001.006S)" Standard ROM
242 *Font Helvetica-Bold: Standard "(001.007S)" Standard ROM
243 *Font Helvetica-BoldOblique: Standard "(001.007S)" Standard ROM
244 *Font Helvetica-Narrow: Standard "(001.006S)" Standard ROM
245 *Font Helvetica-Narrow-Bold: Standard "(001.007S)" Standard ROM
246 *Font Helvetica-Narrow-BoldOblique: Standard "(001.007S)" Standard ROM
247 *Font Helvetica-Narrow-Oblique: Standard "(001.006S)" Standard ROM
248 *Font Helvetica-Oblique: Standard "(001.006S)" Standard ROM
249 *Font NewCenturySchlbk-Bold: Standard "(001.009S)" Standard ROM
250 *Font NewCenturySchlbk-BoldItalic: Standard "(001.007S)" Standard ROM
251 *Font NewCenturySchlbk-Italic: Standard "(001.006S)" Standard ROM
252 *Font NewCenturySchlbk-Roman: Standard "(001.007S)" Standard ROM
253 *Font Palatino-Bold: Standard "(001.005S)" Standard ROM
254 *Font Palatino-BoldItalic: Standard "(001.005S)" Standard ROM
255 *Font Palatino-Italic: Standard "(001.005S)" Standard ROM
256 *Font Palatino-Roman: Standard "(001.005S)" Standard ROM
257 *Font Symbol: Special "(001.007S)" Special ROM
258 *Font Times-Bold: Standard "(001.007S)" Standard ROM
259 *Font Times-BoldItalic: Standard "(001.009S)" Standard ROM
260 *Font Times-Italic: Standard "(001.007S)" Standard ROM
261 *Font Times-Roman: Standard "(001.007S)" Standard ROM
262 *Font ZapfChancery-MediumItalic: Standard "(001.007S)" Standard ROM
263 *Font ZapfDingbats: Special "(001.004S)" Standard ROM