]> git.ipfire.org Git - thirdparty/cups.git/blob - cups/test.ppd
Merge changes from CUPS 1.4svn-r8606.
[thirdparty/cups.git] / cups / test.ppd
1 *PPD-Adobe: "4.3"
2 *%
3 *% "$Id: test.ppd 7819 2008-08-01 00:27:24Z mike $"
4 *%
5 *% Test PPD file 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 on the CUPS web site for working PPD
9 *% 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-2009 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: "(Test)"
30 *cupsVersion: 1.4
31 *ModelName: "Test"
32 *ShortNickName: "Test"
33 *NickName: "Test 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 *cupsFilter: "application/vnd.cups-raster - 0"
43 *RequiresPageRegion All: True
44
45 *% These constraints are used to test ppdConflicts() and cupsResolveConflicts()
46 *UIConstraints: *PageSize Letter *InputSlot Envelope
47 *UIConstraints: *InputSlot Envelope *PageSize Letter
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"
54
55 *% These attributes test ppdFindAttr/ppdFindNext...
56 *cupsTest Foo/I Love Foo: ""
57 *cupsTest Bar/I Love Bar: ""
58
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: ""
68 *PageSize A4/A4: "PageSize=A4"
69 *fr.PageSize A4/French A4: ""
70 *fr_CA.PageSize A4/French Canadian A4: ""
71 *PageSize Env10/#10 Envelope: "PageSize=Env10"
72 *fr.PageSize Env10/French #10 Envelope: ""
73 *fr_CA.PageSize Env10/French Canadian #10 Envelope: ""
74 *CloseUI: *PageSize
75
76 *% For PageRegion, we have separated the translations...
77 *OpenUI *PageRegion/Page Region: PickOne
78 *OrderDependency: 10 AnySetup *PageRegion
79 *DefaultPageRegion: Letter
80 *PageRegion Letter/US Letter: "PageRegion=Letter"
81 *PageRegion A4/A4: "PageRegion=A4"
82 *PageRegion Env10/#10 Envelope: "PageRegion=Env10"
83 *CloseUI: *PageRegion
84
85 *fr.Translation PageRegion/French Page Region: ""
86 *fr.PageRegion Letter/French US Letter: ""
87 *fr.PageRegion A4/French A4: ""
88 *fr.PageRegion Env10/French #10 Envelope: ""
89
90 *fr_CA.Translation PageRegion/French Canadian Page Region: ""
91 *fr_CA.PageRegion Letter/French Canadian US Letter: ""
92 *fr_CA.PageRegion A4/French Canadian A4: ""
93 *fr_CA.PageRegion Env10/French Canadian #10 Envelope: ""
94
95 *DefaultImageableArea: Letter
96 *ImageableArea Letter: "18 36 594 756"
97 *ImageableArea A4: "18 36 577 806"
98 *ImageableArea Env10: "18 36 279 648"
99
100 *DefaultPaperDimension: Letter
101 *PaperDimension Letter: "612 792"
102 *PaperDimension A4: "595 842"
103 *PaperDimension Env10: "297 684"
104
105 *% Custom page size support
106 *HWMargins: 0 0 0 0
107 *NonUIOrderDependency: 100 AnySetup *CustomPageSize True
108 *CustomPageSize True/Custom Page Size: "PageSize=Custom"
109 *ParamCustomPageSize Width: 1 points 36 1080
110 *ParamCustomPageSize Height: 2 points 36 86400
111 *ParamCustomPageSize WidthOffset/Width Offset: 3 points 0 0
112 *ParamCustomPageSize HeightOffset/Height Offset: 4 points 0 0
113 *ParamCustomPageSize Orientation: 5 int 0 0
114
115 *OpenUI *InputSlot/Input Slot: PickOne
116 *OrderDependency: 20 AnySetup *InputSlot
117 *DefaultInputSlot: Tray
118 *InputSlot Tray/Tray: "InputSlot=Tray"
119 *InputSlot Manual/Manual Feed: "InputSlot=Manual"
120 *InputSlot Envelope/Envelope Feed: "InputSlot=Envelope"
121 *CloseUI: *InputSlot
122
123 *OpenUI *Duplex/2-Sided Printing: PickOne
124 *OrderDependency: 10 DocumentSetup *Duplex
125 *DefaultDuplex: None
126 *Duplex None/Off: "Duplex=None"
127 *Duplex DuplexNoTumble/Long Edge: "Duplex=DuplexNoTumble"
128 *Duplex DuplexTumble/Short Edge: "Duplex=DuplexTumble"
129 *CloseUI: *Duplex
130
131 *% Installable option...
132 *OpenGroup: InstallableOptions/Installable Options
133 *OpenUI InstalledDuplexer/Duplexer Installed: Boolean
134 *DefaultInstalledDuplexer: False
135 *InstalledDuplexer False: ""
136 *InstalledDuplexer True: ""
137 *CloseUI: *InstalledDuplexer
138 *CloseGroup: InstallableOptions
139
140 *% Custom options...
141 *OpenGroup: Extended/Extended Options
142
143 *OpenUI IntOption/Integer: PickOne
144 *OrderDependency: 30 AnySetup *IntOption
145 *DefaultIntOption: None
146 *IntOption None: ""
147 *IntOption 1: "IntOption=1"
148 *IntOption 2: "IntOption=2"
149 *IntOption 3: "IntOption=3"
150 *CloseUI: *IntOption
151
152 *CustomIntOption True/Custom Integer: "IntOption=Custom"
153 *ParamCustomIntOption Integer: 1 int -100 100
154
155 *OpenUI StringOption/String: PickOne
156 *OrderDependency: 40 AnySetup *StringOption
157 *DefaultStringOption: None
158 *StringOption None: ""
159 *StringOption foo: "StringOption=foo"
160 *StringOption bar: "StringOption=bar"
161 *CloseUI: *StringOption
162
163 *CustomStringOption True/Custom String: "StringOption=Custom"
164 *ParamCustomStringOption String1: 2 string 1 10
165 *ParamCustomStringOption String2: 1 string 1 10
166
167 *CloseGroup: Extended
168
169 *% IPP reasons for ppdLocalizeIPPReason tests
170 *cupsIPPReason foo/Foo Reason: "http://foo/bar.html
171 help:anchor='foo'%20bookID=Vendor%20Help
172 /help/foo/bar.html"
173 *End
174 *fr.cupsIPPReason foo/La Foo Reason: "text:La%20Long%20
175 text:Foo%20Reason
176 http://foo/fr/bar.html
177 help:anchor='foo'%20bookID=Vendor%20Help
178 /help/fr/foo/bar.html"
179 *End
180 *zh_TW.cupsIPPReason foo/Number 1 Foo Reason: "text:Number%201%20
181 text:Foo%20Reason
182 http://foo/zh_TW/bar.html
183 help:anchor='foo'%20bookID=Vendor%20Help
184 /help/zh_TW/foo/bar.html"
185 *End
186 *zh.cupsIPPReason foo/Number 2 Foo Reason: "text:Number%202%20
187 text:Foo%20Reason
188 http://foo/zh/bar.html
189 help:anchor='foo'%20bookID=Vendor%20Help
190 /help/zh/foo/bar.html"
191 *End
192
193 *% Marker names for ppdLocalizeMarkerName tests
194 *cupsMarkerName cyan/Cyan Toner: ""
195 *fr.cupsMarkerName cyan/La Toner Cyan: ""
196 *zh_TW.cupsMarkerName cyan/Number 1 Cyan Toner: ""
197 *zh.cupsMarkerName cyan/Number 2 Cyan Toner: ""
198
199 *DefaultFont: Courier
200 *Font AvantGarde-Book: Standard "(001.006S)" Standard ROM
201 *Font AvantGarde-BookOblique: Standard "(001.006S)" Standard ROM
202 *Font AvantGarde-Demi: Standard "(001.007S)" Standard ROM
203 *Font AvantGarde-DemiOblique: Standard "(001.007S)" Standard ROM
204 *Font Bookman-Demi: Standard "(001.004S)" Standard ROM
205 *Font Bookman-DemiItalic: Standard "(001.004S)" Standard ROM
206 *Font Bookman-Light: Standard "(001.004S)" Standard ROM
207 *Font Bookman-LightItalic: Standard "(001.004S)" Standard ROM
208 *Font Courier: Standard "(002.004S)" Standard ROM
209 *Font Courier-Bold: Standard "(002.004S)" Standard ROM
210 *Font Courier-BoldOblique: Standard "(002.004S)" Standard ROM
211 *Font Courier-Oblique: Standard "(002.004S)" Standard ROM
212 *Font Helvetica: Standard "(001.006S)" Standard ROM
213 *Font Helvetica-Bold: Standard "(001.007S)" Standard ROM
214 *Font Helvetica-BoldOblique: Standard "(001.007S)" Standard ROM
215 *Font Helvetica-Narrow: Standard "(001.006S)" Standard ROM
216 *Font Helvetica-Narrow-Bold: Standard "(001.007S)" Standard ROM
217 *Font Helvetica-Narrow-BoldOblique: Standard "(001.007S)" Standard ROM
218 *Font Helvetica-Narrow-Oblique: Standard "(001.006S)" Standard ROM
219 *Font Helvetica-Oblique: Standard "(001.006S)" Standard ROM
220 *Font NewCenturySchlbk-Bold: Standard "(001.009S)" Standard ROM
221 *Font NewCenturySchlbk-BoldItalic: Standard "(001.007S)" Standard ROM
222 *Font NewCenturySchlbk-Italic: Standard "(001.006S)" Standard ROM
223 *Font NewCenturySchlbk-Roman: Standard "(001.007S)" Standard ROM
224 *Font Palatino-Bold: Standard "(001.005S)" Standard ROM
225 *Font Palatino-BoldItalic: Standard "(001.005S)" Standard ROM
226 *Font Palatino-Italic: Standard "(001.005S)" Standard ROM
227 *Font Palatino-Roman: Standard "(001.005S)" Standard ROM
228 *Font Symbol: Special "(001.007S)" Special ROM
229 *Font Times-Bold: Standard "(001.007S)" Standard ROM
230 *Font Times-BoldItalic: Standard "(001.009S)" Standard ROM
231 *Font Times-Italic: Standard "(001.007S)" Standard ROM
232 *Font Times-Roman: Standard "(001.007S)" Standard ROM
233 *Font ZapfChancery-MediumItalic: Standard "(001.007S)" Standard ROM
234 *Font ZapfDingbats: Special "(001.004S)" Standard ROM
235 *%
236 *% End of "$Id: test.ppd 7819 2008-08-01 00:27:24Z mike $".
237 *%