]> git.ipfire.org Git - thirdparty/cups.git/blob - cups/test2.ppd
Update ipp documentation to reflect the behavior of configuring WiFi on IPP USB printers.
[thirdparty/cups.git] / cups / test2.ppd
1 *PPD-Adobe: "4.3"
2 *%
3 *% Test PPD file #2 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: "(Test2)"
25 *cupsVersion: 2.3
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
38 *% These constraints are used to test ppdConflicts() and cupsResolveConflicts()
39 *cupsUIConstraints envelope: "*PageSize Letter *InputSlot Envelope"
40 *cupsUIConstraints envelope: "*PageSize A4 *InputSlot Envelope"
41 *cupsUIResolver envelope: "*InputSlot Manual *PageSize Env10"
42
43 *cupsUIConstraints envphoto: "*PageSize Env10 *InputSlot Envelope *Quality Photo"
44 *cupsUIResolver envphoto: "*Quality Normal"
45
46 *% This constraint is used to test ppdInstallableConflict()
47 *cupsUIConstraints: "*Duplex *InstalledDuplexer False"
48
49 *% These constraints are used to test the loop detection code in cupsResolveConflicts()
50 *cupsUIConstraints loop1: "*PageSize A4 *Quality Photo"
51 *cupsUIResolver loop1: "*Quality Normal"
52 *cupsUIConstraints loop2: "*PageSize A4 *Quality Normal"
53 *cupsUIResolver loop2: "*Quality Photo"
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
91 *DefaultImageableArea: Letter
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
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
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
181 help:anchor='foo'%20bookID=Vendor%20Help
182 /help/foo/bar.html"
183 *End
184 *fr.cupsIPPReason foo/La Foo Reason: "text:La%20Long%20
185 text:Foo%20Reason
186 http://foo/fr/bar.html
187 help: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
191 text:Foo%20Reason
192 http://foo/zh_TW/bar.html
193 help: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
197 text:Foo%20Reason
198 http://foo/zh/bar.html
199 help: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