3 *% "$Id: test.ppd 7819 2008-08-01 00:27:24Z mike $"
5 *% Test PPD file for the Common UNIX Printing System (CUPS).
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.
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.
15 *% Copyright 2007-2008 by Apple Inc.
16 *% Copyright 2002-2006 by Easy Software Products.
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/".
25 *LanguageVersion: English
26 *LanguageEncoding: ISOLatin1
27 *PCFileName: "TEST.PPD"
32 *ShortNickName: "Test"
33 *NickName: "Test for CUPS"
34 *PSVersion: "(3010.000) 0"
37 *DefaultColorSpace: RGB
40 *LandscapeOrientation: Plus90
43 *% These constraints are used to test ppdConflicts() and ppdResolveConflicts()
44 *UIConstraints: *PageSize Letter *InputSlot Envelope
45 *UIConstraints: *InputSlot Envelope *PageSize Letter
46 *UIConstraints: *PageRegion Letter *InputSlot Envelope
47 *UIConstraints: *InputSlot Envelope *PageRegion Letter
49 *% These constraints are used to test ppdInstallableConflict()
50 *UIConstraints: "*Duplex *InstalledDuplexer False"
51 *UIConstraints: "*InstalledDuplexer False *Duplex"
53 *% For PageSize, we have put all of the translations in-line...
54 *OpenUI *PageSize/Page Size: PickOne
55 *fr.Translation PageSize/French Page Size: ""
56 *fr_CA.Translation PageSize/French Canadian Page Size: ""
57 *OrderDependency: 10 AnySetup *PageSize
58 *DefaultPageSize: Letter
59 *PageSize Letter/US Letter: "PageSize=Letter"
60 *fr.PageSize Letter/French US Letter: ""
61 *fr_CA.PageSize Letter/French Canadian US Letter: ""
62 *PageSize A4/A4: "PageSize=A4"
63 *fr.PageSize A4/French A4: ""
64 *fr_CA.PageSize A4/French Canadian A4: ""
65 *PageSize Env10/#10 Envelope: "PageSize=Env10"
66 *fr.PageSize Env10/French #10 Envelope: ""
67 *fr_CA.PageSize Env10/French Canadian #10 Envelope: ""
70 *% For PageRegion, we have separated the translations...
71 *OpenUI *PageRegion/Page Region: PickOne
72 *OrderDependency: 10 AnySetup *PageRegion
73 *DefaultPageRegion: Letter
74 *PageRegion Letter/US Letter: "PageRegion=Letter"
75 *PageRegion A4/A4: "PageRegion=A4"
76 *PageRegion Env10/#10 Envelope: "PageRegion=Env10"
79 *fr.Translation PageRegion/French Page Region: ""
80 *fr.PageRegion Letter/French US Letter: ""
81 *fr.PageRegion A4/French A4: ""
82 *fr.PageRegion Env10/French #10 Envelope: ""
84 *fr_CA.Translation PageRegion/French Canadian Page Region: ""
85 *fr_CA.PageRegion Letter/French Canadian US Letter: ""
86 *fr_CA.PageRegion A4/French Canadian A4: ""
87 *fr_CA.PageRegion Env10/French Canadian #10 Envelope: ""
89 *DefaultImageableArea: Letter
90 *ImageableArea Letter: "18 36 594 756"
91 *ImageableArea A4: "18 36 577 806"
92 *ImageableArea Env10: "18 36 279 648"
94 *DefaultPaperDimension: Letter
95 *PaperDimension Letter: "612 792"
96 *PaperDimension A4: "595 842"
97 *PaperDimension Env10: "297 684"
99 *% Custom page size support
101 *NonUIOrderDependency: 100 AnySetup *CustomPageSize True
102 *CustomPageSize True/Custom Page Size: "PageSize=Custom"
103 *ParamCustomPageSize Width: 1 points 36 1080
104 *ParamCustomPageSize Height: 2 points 36 86400
105 *ParamCustomPageSize WidthOffset/Width Offset: 3 points 0 0
106 *ParamCustomPageSize HeightOffset/Height Offset: 4 points 0 0
107 *ParamCustomPageSize Orientation: 5 int 0 0
109 *OpenUI *InputSlot/Input Slot: PickOne
110 *OrderDependency: 20 AnySetup *InputSlot
111 *DefaultInputSlot: Tray
112 *InputSlot Tray/Tray: "InputSlot=Tray"
113 *InputSlot Manual/Manual Feed: "InputSlot=Manual"
114 *InputSlot Envelope/Envelope Feed: "InputSlot=Envelope"
117 *OpenUI *Duplex/2-Sided Printing: PickOne
118 *OrderDependency: 10 DocumentSetup *Duplex
120 *Duplex None/Off: "Duplex=None"
121 *Duplex DuplexNoTumble/Long Edge: "Duplex=DuplexNoTumble"
122 *Duplex DuplexTumble/Short Edge: "Duplex=DuplexTumble"
125 *% Installable option...
126 *OpenGroup: InstallableOptions/Installable Options
127 *OpenUI InstalledDuplexer/Duplexer Installed: Boolean
128 *DefaultInstalledDuplexer: False
129 *InstalledDuplexer False: ""
130 *InstalledDuplexer True: ""
131 *CloseUI: *InstalledDuplexer
132 *CloseGroup: InstallableOptions
135 *OpenGroup: Extended/Extended Options
137 *OpenUI IntOption/Integer: PickOne
138 *OrderDependency: 30 AnySetup *IntOption
139 *DefaultIntOption: None
141 *IntOption 1: "IntOption=1"
142 *IntOption 2: "IntOption=2"
143 *IntOption 3: "IntOption=3"
146 *CustomIntOption True/Custom Integer: "IntOption=Custom"
147 *ParamCustomIntOption Integer: 1 int -100 100
149 *OpenUI StringOption/String: PickOne
150 *OrderDependency: 40 AnySetup *StringOption
151 *DefaultStringOption: None
152 *StringOption None: ""
153 *StringOption foo: "StringOption=foo"
154 *StringOption bar: "StringOption=bar"
155 *CloseUI: *StringOption
157 *CustomStringOption True/Custom String: "StringOption=Custom"
158 *ParamCustomStringOption String1: 2 string 1 10
159 *ParamCustomStringOption String2: 1 string 1 10
161 *CloseGroup: Extended
163 *% IPP reasons for ppdLocalizeIPPReason tests
164 *cupsIPPReason foo/Foo Reason: "http://foo/bar.html
165 help:anchor='foo'%20bookID=Vendor%20Help
168 *fr.cupsIPPReason foo/La Foo Reason: "text:La%20Long%20
170 http://foo/fr/bar.html
171 help:anchor='foo'%20bookID=Vendor%20Help
172 /help/fr/foo/bar.html"
174 *zh_TW.cupsIPPReason foo/Number 1 Foo Reason: "text:Number%201%20
176 http://foo/zh_TW/bar.html
177 help:anchor='foo'%20bookID=Vendor%20Help
178 /help/zh_TW/foo/bar.html"
180 *zh.cupsIPPReason foo/Number 2 Foo Reason: "text:Number%202%20
182 http://foo/zh/bar.html
183 help:anchor='foo'%20bookID=Vendor%20Help
184 /help/zh/foo/bar.html"
187 *% Marker names for ppdLocalizeMarkerName tests
188 *cupsMarkerName cyan/Cyan Toner: ""
189 *fr.cupsMarkerName cyan/La Toner Cyan: ""
190 *zh_TW.cupsMarkerName cyan/Number 1 Cyan Toner: ""
191 *zh.cupsMarkerName cyan/Number 2 Cyan Toner: ""
193 *DefaultFont: Courier
194 *Font AvantGarde-Book: Standard "(001.006S)" Standard ROM
195 *Font AvantGarde-BookOblique: Standard "(001.006S)" Standard ROM
196 *Font AvantGarde-Demi: Standard "(001.007S)" Standard ROM
197 *Font AvantGarde-DemiOblique: Standard "(001.007S)" Standard ROM
198 *Font Bookman-Demi: Standard "(001.004S)" Standard ROM
199 *Font Bookman-DemiItalic: Standard "(001.004S)" Standard ROM
200 *Font Bookman-Light: Standard "(001.004S)" Standard ROM
201 *Font Bookman-LightItalic: Standard "(001.004S)" Standard ROM
202 *Font Courier: Standard "(002.004S)" Standard ROM
203 *Font Courier-Bold: Standard "(002.004S)" Standard ROM
204 *Font Courier-BoldOblique: Standard "(002.004S)" Standard ROM
205 *Font Courier-Oblique: Standard "(002.004S)" Standard ROM
206 *Font Helvetica: Standard "(001.006S)" Standard ROM
207 *Font Helvetica-Bold: Standard "(001.007S)" Standard ROM
208 *Font Helvetica-BoldOblique: Standard "(001.007S)" Standard ROM
209 *Font Helvetica-Narrow: Standard "(001.006S)" Standard ROM
210 *Font Helvetica-Narrow-Bold: Standard "(001.007S)" Standard ROM
211 *Font Helvetica-Narrow-BoldOblique: Standard "(001.007S)" Standard ROM
212 *Font Helvetica-Narrow-Oblique: Standard "(001.006S)" Standard ROM
213 *Font Helvetica-Oblique: Standard "(001.006S)" Standard ROM
214 *Font NewCenturySchlbk-Bold: Standard "(001.009S)" Standard ROM
215 *Font NewCenturySchlbk-BoldItalic: Standard "(001.007S)" Standard ROM
216 *Font NewCenturySchlbk-Italic: Standard "(001.006S)" Standard ROM
217 *Font NewCenturySchlbk-Roman: Standard "(001.007S)" Standard ROM
218 *Font Palatino-Bold: Standard "(001.005S)" Standard ROM
219 *Font Palatino-BoldItalic: Standard "(001.005S)" Standard ROM
220 *Font Palatino-Italic: Standard "(001.005S)" Standard ROM
221 *Font Palatino-Roman: Standard "(001.005S)" Standard ROM
222 *Font Symbol: Special "(001.007S)" Special ROM
223 *Font Times-Bold: Standard "(001.007S)" Standard ROM
224 *Font Times-BoldItalic: Standard "(001.009S)" Standard ROM
225 *Font Times-Italic: Standard "(001.007S)" Standard ROM
226 *Font Times-Roman: Standard "(001.007S)" Standard ROM
227 *Font ZapfChancery-MediumItalic: Standard "(001.007S)" Standard ROM
228 *Font ZapfDingbats: Special "(001.004S)" Standard ROM
230 *% End of "$Id: test.ppd 7819 2008-08-01 00:27:24Z mike $".