Home | History | Annotate | Download | only in cups
      1 *PPD-Adobe: "4.3"
      2 *%
      3 *% "$Id: test.ppd 7819 2008-08-01 00:27:24Z mike $"
      4 *%
      5 *% Test PPD file for 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-2010 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 Letter.Banner/US Letter Banner: "PageSize=Letter.Banner"
     69 *fr.PageSize Letter.Banner/French US Letter Banner: ""
     70 *fr_CA.PageSize Letter.Banner/French Canadian US Letter Banner: ""
     71 *PageSize Letter.Fullbleed/US Letter Borderless: "PageSize=Letter.Fullbleed"
     72 *fr.PageSize Letter.Fullbleed/French US Letter Borderless: ""
     73 *fr_CA.PageSize Letter.Fullbleed/French Canadian US Letter Borderless: ""
     74 *PageSize A4/A4:		"PageSize=A4"
     75 *fr.PageSize A4/French A4: ""
     76 *fr_CA.PageSize A4/French Canadian A4: ""
     77 *PageSize Env10/#10 Envelope:	"PageSize=Env10"
     78 *fr.PageSize Env10/French #10 Envelope: ""
     79 *fr_CA.PageSize Env10/French Canadian #10 Envelope: ""
     80 *CloseUI: *PageSize
     81 
     82 *% For PageRegion, we have separated the translations...
     83 *OpenUI *PageRegion/Page Region: PickOne
     84 *OrderDependency: 10 AnySetup *PageRegion
     85 *DefaultPageRegion: Letter
     86 *PageRegion Letter/US Letter:	"PageRegion=Letter"
     87 *PageRegion Letter.Banner/US Letter Banner: "PageRegion=Letter.Fullbleed"
     88 *PageRegion Letter.Fullbleed/US Letter Borderless: "PageRegion=Letter.Fullbleed"
     89 *PageRegion A4/A4:		"PageRegion=A4"
     90 *PageRegion Env10/#10 Envelope:	"PageRegion=Env10"
     91 *CloseUI: *PageRegion
     92 
     93 *fr.Translation PageRegion/French Page Region: ""
     94 *fr.PageRegion Letter/French US Letter: ""
     95 *fr.PageRegion Letter.Banner/French US Letter Banner: ""
     96 *fr.PageRegion Letter.Fullbleed/French US Letter Borderless: ""
     97 *fr.PageRegion A4/French A4: ""
     98 *fr.PageRegion Env10/French #10 Envelope: ""
     99 
    100 *fr_CA.Translation PageRegion/French Canadian Page Region: ""
    101 *fr_CA.PageRegion Letter/French Canadian US Letter: ""
    102 *fr_CA.PageRegion Letter.Banner/French Canadian US Letter Banner: ""
    103 *fr_CA.PageRegion Letter.Fullbleed/French Canadian US Letter Borderless: ""
    104 *fr_CA.PageRegion A4/French Canadian A4: ""
    105 *fr_CA.PageRegion Env10/French Canadian #10 Envelope: ""
    106 
    107 *DefaultImageableArea: Letter
    108 *ImageableArea Letter:	"18 36 594 756"
    109 *ImageableArea Letter.Banner:	"18 0 594 792"
    110 *ImageableArea Letter.Fullbleed:	"0 0 612 792"
    111 *ImageableArea A4:	"18 36 577 806"
    112 *ImageableArea Env10:	"18 36 279 648"
    113 
    114 *DefaultPaperDimension: Letter
    115 *PaperDimension Letter:	"612 792"
    116 *PaperDimension Letter.Banner:	"612 792"
    117 *PaperDimension Letter.Fullbleed:	"612 792"
    118 *PaperDimension A4:	"595 842"
    119 *PaperDimension Env10:	"297 684"
    120 
    121 *% Custom page size support
    122 *HWMargins:      0 0 0 0
    123 *NonUIOrderDependency: 100 AnySetup *CustomPageSize True
    124 *CustomPageSize True/Custom Page Size: "PageSize=Custom"
    125 *ParamCustomPageSize Width:        1 points 36 1080
    126 *ParamCustomPageSize Height:       2 points 36 86400
    127 *ParamCustomPageSize WidthOffset/Width Offset:  3 points 0 0
    128 *ParamCustomPageSize HeightOffset/Height Offset: 4 points 0 0
    129 *ParamCustomPageSize Orientation:  5 int 0 0
    130 
    131 *OpenUI *InputSlot/Input Slot: PickOne
    132 *OrderDependency: 20 AnySetup *InputSlot
    133 *DefaultInputSlot: Tray
    134 *InputSlot Tray/Tray: "InputSlot=Tray"
    135 *InputSlot Manual/Manual Feed: "InputSlot=Manual"
    136 *InputSlot Envelope/Envelope Feed: "InputSlot=Envelope"
    137 *CloseUI: *InputSlot
    138 
    139 *OpenUI *MediaType/Media Type: PickOne
    140 *OrderDependency: 25 AnySetup *MediaType
    141 *DefaultMediaType: Plain
    142 *MediaType Plain/Plain Paper: "MediaType=Plain"
    143 *MediaType Matte/Matte Photo: "MediaType=Matte"
    144 *MediaType Glossy/Glossy Photo: "MediaType=Glossy"
    145 *MediaType Transparency/Transparency Film: "MediaType=Transparency"
    146 *CloseUI: *MediaType
    147 
    148 *OpenUI *OutputBin/Output Tray: PickOne
    149 *OrderDependency: 25 AnySetup *OutputBin
    150 *DefaultOutputBin: Tray1
    151 *OutputBin Auto/Automatic Tray: "OutputBin=Auto"
    152 *OutputBin Tray1/Tray 1: "OutputBin=Tray1"
    153 *OutputBin Tray2/Tray 2: "OutputBin=Tray2"
    154 *OutputBin MainTray/Main Tray: "OutputBin=MainTray"
    155 *CloseUI: *OutputBin
    156 
    157 *OpenUI *Duplex/2-Sided Printing: PickOne
    158 *OrderDependency: 10 DocumentSetup *Duplex
    159 *DefaultDuplex: None
    160 *Duplex None/Off: "Duplex=None"
    161 *Duplex DuplexNoTumble/Long Edge: "Duplex=DuplexNoTumble"
    162 *Duplex DuplexTumble/Short Edge: "Duplex=DuplexTumble"
    163 *CloseUI: *Duplex
    164 
    165 *% Installable option...
    166 *OpenGroup: InstallableOptions/Installable Options
    167 *OpenUI InstalledDuplexer/Duplexer Installed: Boolean
    168 *DefaultInstalledDuplexer: False
    169 *InstalledDuplexer False: ""
    170 *InstalledDuplexer True: ""
    171 *CloseUI: *InstalledDuplexer
    172 *CloseGroup: InstallableOptions
    173 
    174 *% Custom options...
    175 *OpenGroup: Extended/Extended Options
    176 
    177 *OpenUI IntOption/Integer: PickOne
    178 *OrderDependency: 30 AnySetup *IntOption
    179 *DefaultIntOption: None
    180 *IntOption None: ""
    181 *IntOption 1: "IntOption=1"
    182 *IntOption 2: "IntOption=2"
    183 *IntOption 3: "IntOption=3"
    184 *CloseUI: *IntOption
    185 
    186 *CustomIntOption True/Custom Integer: "IntOption=Custom"
    187 *ParamCustomIntOption Integer: 1 int -100 100
    188 
    189 *OpenUI StringOption/String: PickOne
    190 *OrderDependency: 40 AnySetup *StringOption
    191 *DefaultStringOption: None
    192 *StringOption None: ""
    193 *StringOption foo: "StringOption=foo"
    194 *StringOption bar: "StringOption=bar"
    195 *CloseUI: *StringOption
    196 
    197 *CustomStringOption True/Custom String: "StringOption=Custom"
    198 *ParamCustomStringOption String1: 2 string 1 10
    199 *ParamCustomStringOption String2: 1 string 1 10
    200 
    201 *CloseGroup: Extended
    202 
    203 *% IPP reasons for ppdLocalizeIPPReason tests
    204 *cupsIPPReason foo/Foo Reason: "http://foo/bar.html
    205 help:anchor='foo'%20bookID=Vendor%20Help
    206 /help/foo/bar.html"
    207 *End
    208 *fr.cupsIPPReason foo/La Foo Reason: "text:La%20Long%20
    209 text:Foo%20Reason
    210 http://foo/fr/bar.html
    211 help:anchor='foo'%20bookID=Vendor%20Help
    212 /help/fr/foo/bar.html"
    213 *End
    214 *zh_TW.cupsIPPReason foo/Number 1 Foo Reason: "text:Number%201%20
    215 text:Foo%20Reason
    216 http://foo/zh_TW/bar.html
    217 help:anchor='foo'%20bookID=Vendor%20Help
    218 /help/zh_TW/foo/bar.html"
    219 *End
    220 *zh.cupsIPPReason foo/Number 2 Foo Reason: "text:Number%202%20
    221 text:Foo%20Reason
    222 http://foo/zh/bar.html
    223 help:anchor='foo'%20bookID=Vendor%20Help
    224 /help/zh/foo/bar.html"
    225 *End
    226 
    227 *% Marker names for ppdLocalizeMarkerName tests
    228 *cupsMarkerName cyan/Cyan Toner: ""
    229 *fr.cupsMarkerName cyan/La Toner Cyan: ""
    230 *zh_TW.cupsMarkerName cyan/Number 1 Cyan Toner: ""
    231 *zh.cupsMarkerName cyan/Number 2 Cyan Toner: ""
    232 
    233 *DefaultFont: Courier
    234 *Font AvantGarde-Book: Standard "(001.006S)" Standard ROM
    235 *Font AvantGarde-BookOblique: Standard "(001.006S)" Standard ROM
    236 *Font AvantGarde-Demi: Standard "(001.007S)" Standard ROM
    237 *Font AvantGarde-DemiOblique: Standard "(001.007S)" Standard ROM
    238 *Font Bookman-Demi: Standard "(001.004S)" Standard ROM
    239 *Font Bookman-DemiItalic: Standard "(001.004S)" Standard ROM
    240 *Font Bookman-Light: Standard "(001.004S)" Standard ROM
    241 *Font Bookman-LightItalic: Standard "(001.004S)" Standard ROM
    242 *Font Courier: Standard "(002.004S)" Standard ROM
    243 *Font Courier-Bold: Standard "(002.004S)" Standard ROM
    244 *Font Courier-BoldOblique: Standard "(002.004S)" Standard ROM
    245 *Font Courier-Oblique: Standard "(002.004S)" Standard ROM
    246 *Font Helvetica: Standard "(001.006S)" Standard ROM
    247 *Font Helvetica-Bold: Standard "(001.007S)" Standard ROM
    248 *Font Helvetica-BoldOblique: Standard "(001.007S)" Standard ROM
    249 *Font Helvetica-Narrow: Standard "(001.006S)" Standard ROM
    250 *Font Helvetica-Narrow-Bold: Standard "(001.007S)" Standard ROM
    251 *Font Helvetica-Narrow-BoldOblique: Standard "(001.007S)" Standard ROM
    252 *Font Helvetica-Narrow-Oblique: Standard "(001.006S)" Standard ROM
    253 *Font Helvetica-Oblique: Standard "(001.006S)" Standard ROM
    254 *Font NewCenturySchlbk-Bold: Standard "(001.009S)" Standard ROM
    255 *Font NewCenturySchlbk-BoldItalic: Standard "(001.007S)" Standard ROM
    256 *Font NewCenturySchlbk-Italic: Standard "(001.006S)" Standard ROM
    257 *Font NewCenturySchlbk-Roman: Standard "(001.007S)" Standard ROM
    258 *Font Palatino-Bold: Standard "(001.005S)" Standard ROM
    259 *Font Palatino-BoldItalic: Standard "(001.005S)" Standard ROM
    260 *Font Palatino-Italic: Standard "(001.005S)" Standard ROM
    261 *Font Palatino-Roman: Standard "(001.005S)" Standard ROM
    262 *Font Symbol: Special "(001.007S)" Special ROM
    263 *Font Times-Bold: Standard "(001.007S)" Standard ROM
    264 *Font Times-BoldItalic: Standard "(001.009S)" Standard ROM
    265 *Font Times-Italic: Standard "(001.007S)" Standard ROM
    266 *Font Times-Roman: Standard "(001.007S)" Standard ROM
    267 *Font ZapfChancery-MediumItalic: Standard "(001.007S)" Standard ROM
    268 *Font ZapfDingbats: Special "(001.004S)" Standard ROM
    269 *%
    270 *% End of "$Id: test.ppd 7819 2008-08-01 00:27:24Z mike $".
    271 *%
    272