You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
264 lines
9.9 KiB
264 lines
9.9 KiB
4 months ago
|
*PPD-Adobe: "4.3"
|
||
|
*%
|
||
|
*% Test PPD file for CUPS.
|
||
|
*%
|
||
|
*% This file is used to test the CUPS PPD API functions and cannot be
|
||
|
*% used with any known printers. Look on the CUPS web site for working PPD
|
||
|
*% files.
|
||
|
*%
|
||
|
*% If you are a PPD file developer, consider using the PPD compiler (ppdc)
|
||
|
*% to create your PPD files - not only will it save you time, it produces
|
||
|
*% consistently high-quality files.
|
||
|
*%
|
||
|
*% Copyright (c) 2007-2018 by Apple Inc.
|
||
|
*% Copyright (c) 2002-2006 by Easy Software Products.
|
||
|
*%
|
||
|
*% Licensed under Apache License v2.0. See the file "LICENSE" for more
|
||
|
*% information.
|
||
|
*FormatVersion: "4.3"
|
||
|
*FileVersion: "2.3"
|
||
|
*LanguageVersion: English
|
||
|
*LanguageEncoding: ISOLatin1
|
||
|
*PCFileName: "TEST.PPD"
|
||
|
*Manufacturer: "Apple"
|
||
|
*Product: "(Test)"
|
||
|
*cupsVersion: 2.3
|
||
|
*ModelName: "Test"
|
||
|
*ShortNickName: "Test"
|
||
|
*NickName: "Test for CUPS"
|
||
|
*PSVersion: "(3010.000) 0"
|
||
|
*LanguageLevel: "3"
|
||
|
*ColorDevice: True
|
||
|
*DefaultColorSpace: RGB
|
||
|
*FileSystem: False
|
||
|
*Throughput: "1"
|
||
|
*LandscapeOrientation: Plus90
|
||
|
*TTRasterizer: Type42
|
||
|
*cupsFilter: "application/vnd.cups-raster 0 -"
|
||
|
*RequiresPageRegion All: True
|
||
|
|
||
|
*% These constraints are used to test ppdConflicts() and cupsResolveConflicts()
|
||
|
*UIConstraints: *PageSize Letter *InputSlot Envelope
|
||
|
*UIConstraints: *InputSlot Envelope *PageSize Letter
|
||
|
*UIConstraints: *PageRegion Letter *InputSlot Envelope
|
||
|
*UIConstraints: *InputSlot Envelope *PageRegion Letter
|
||
|
|
||
|
*% These constraints are used to test ppdInstallableConflict()
|
||
|
*UIConstraints: "*Duplex *InstalledDuplexer False"
|
||
|
*UIConstraints: "*InstalledDuplexer False *Duplex"
|
||
|
|
||
|
*% These attributes test ppdFindAttr/ppdFindNext...
|
||
|
*cupsTest Foo/I Love Foo: ""
|
||
|
*cupsTest Bar/I Love Bar: ""
|
||
|
|
||
|
*% For PageSize, we have put all of the translations in-line...
|
||
|
*OpenUI *PageSize/Page Size: PickOne
|
||
|
*fr.Translation PageSize/French Page Size: ""
|
||
|
*fr_CA.Translation PageSize/French Canadian Page Size: ""
|
||
|
*OrderDependency: 10 AnySetup *PageSize
|
||
|
*DefaultPageSize: Letter
|
||
|
*PageSize Letter/US Letter: "PageSize=Letter"
|
||
|
*fr.PageSize Letter/French US Letter: ""
|
||
|
*fr_CA.PageSize Letter/French Canadian US Letter: ""
|
||
|
*PageSize Letter.Banner/US Letter Banner: "PageSize=Letter.Banner"
|
||
|
*fr.PageSize Letter.Banner/French US Letter Banner: ""
|
||
|
*fr_CA.PageSize Letter.Banner/French Canadian US Letter Banner: ""
|
||
|
*PageSize Letter.Fullbleed/US Letter Borderless: "PageSize=Letter.Fullbleed"
|
||
|
*fr.PageSize Letter.Fullbleed/French US Letter Borderless: ""
|
||
|
*fr_CA.PageSize Letter.Fullbleed/French Canadian US Letter Borderless: ""
|
||
|
*PageSize A4/A4: "PageSize=A4"
|
||
|
*fr.PageSize A4/French A4: ""
|
||
|
*fr_CA.PageSize A4/French Canadian A4: ""
|
||
|
*PageSize Env10/#10 Envelope: "PageSize=Env10"
|
||
|
*fr.PageSize Env10/French #10 Envelope: ""
|
||
|
*fr_CA.PageSize Env10/French Canadian #10 Envelope: ""
|
||
|
*CloseUI: *PageSize
|
||
|
|
||
|
*% For PageRegion, we have separated the translations...
|
||
|
*OpenUI *PageRegion/Page Region: PickOne
|
||
|
*OrderDependency: 10 AnySetup *PageRegion
|
||
|
*DefaultPageRegion: Letter
|
||
|
*PageRegion Letter/US Letter: "PageRegion=Letter"
|
||
|
*PageRegion Letter.Banner/US Letter Banner: "PageRegion=Letter.Fullbleed"
|
||
|
*PageRegion Letter.Fullbleed/US Letter Borderless: "PageRegion=Letter.Fullbleed"
|
||
|
*PageRegion A4/A4: "PageRegion=A4"
|
||
|
*PageRegion Env10/#10 Envelope: "PageRegion=Env10"
|
||
|
*CloseUI: *PageRegion
|
||
|
|
||
|
*fr.Translation PageRegion/French Page Region: ""
|
||
|
*fr.PageRegion Letter/French US Letter: ""
|
||
|
*fr.PageRegion Letter.Banner/French US Letter Banner: ""
|
||
|
*fr.PageRegion Letter.Fullbleed/French US Letter Borderless: ""
|
||
|
*fr.PageRegion A4/French A4: ""
|
||
|
*fr.PageRegion Env10/French #10 Envelope: ""
|
||
|
|
||
|
*fr_CA.Translation PageRegion/French Canadian Page Region: ""
|
||
|
*fr_CA.PageRegion Letter/French Canadian US Letter: ""
|
||
|
*fr_CA.PageRegion Letter.Banner/French Canadian US Letter Banner: ""
|
||
|
*fr_CA.PageRegion Letter.Fullbleed/French Canadian US Letter Borderless: ""
|
||
|
*fr_CA.PageRegion A4/French Canadian A4: ""
|
||
|
*fr_CA.PageRegion Env10/French Canadian #10 Envelope: ""
|
||
|
|
||
|
*DefaultImageableArea: Letter
|
||
|
*ImageableArea Letter: "18 36 594 756"
|
||
|
*ImageableArea Letter.Banner: "18 0 594 792"
|
||
|
*ImageableArea Letter.Fullbleed: "0 0 612 792"
|
||
|
*ImageableArea A4: "18 36 577 806"
|
||
|
*ImageableArea Env10: "18 36 279 648"
|
||
|
|
||
|
*DefaultPaperDimension: Letter
|
||
|
*PaperDimension Letter: "612 792"
|
||
|
*PaperDimension Letter.Banner: "612 792"
|
||
|
*PaperDimension Letter.Fullbleed: "612 792"
|
||
|
*PaperDimension A4: "595 842"
|
||
|
*PaperDimension Env10: "297 684"
|
||
|
|
||
|
*% Custom page size support
|
||
|
*HWMargins: 0 0 0 0
|
||
|
*NonUIOrderDependency: 100 AnySetup *CustomPageSize True
|
||
|
*CustomPageSize True/Custom Page Size: "PageSize=Custom"
|
||
|
*ParamCustomPageSize Width: 1 points 36 1080
|
||
|
*ParamCustomPageSize Height: 2 points 36 86400
|
||
|
*ParamCustomPageSize WidthOffset/Width Offset: 3 points 0 0
|
||
|
*ParamCustomPageSize HeightOffset/Height Offset: 4 points 0 0
|
||
|
*ParamCustomPageSize Orientation: 5 int 0 0
|
||
|
|
||
|
*OpenUI *InputSlot/Input Slot: PickOne
|
||
|
*OrderDependency: 20 AnySetup *InputSlot
|
||
|
*DefaultInputSlot: Tray
|
||
|
*InputSlot Tray/Tray: "InputSlot=Tray"
|
||
|
*InputSlot Manual/Manual Feed: "InputSlot=Manual"
|
||
|
*InputSlot Envelope/Envelope Feed: "InputSlot=Envelope"
|
||
|
*CloseUI: *InputSlot
|
||
|
|
||
|
*OpenUI *MediaType/Media Type: PickOne
|
||
|
*OrderDependency: 25 AnySetup *MediaType
|
||
|
*DefaultMediaType: Plain
|
||
|
*MediaType Plain/Plain Paper: "MediaType=Plain"
|
||
|
*MediaType Matte/Matte Photo: "MediaType=Matte"
|
||
|
*MediaType Glossy/Glossy Photo: "MediaType=Glossy"
|
||
|
*MediaType Transparency/Transparency Film: "MediaType=Transparency"
|
||
|
*CloseUI: *MediaType
|
||
|
|
||
|
*OpenUI *OutputBin/Output Tray: PickOne
|
||
|
*OrderDependency: 25 AnySetup *OutputBin
|
||
|
*DefaultOutputBin: Tray1
|
||
|
*OutputBin Auto/Automatic Tray: "OutputBin=Auto"
|
||
|
*OutputBin Tray1/Tray 1: "OutputBin=Tray1"
|
||
|
*OutputBin Tray2/Tray 2: "OutputBin=Tray2"
|
||
|
*OutputBin MainTray/Main Tray: "OutputBin=MainTray"
|
||
|
*CloseUI: *OutputBin
|
||
|
|
||
|
*OpenUI *Duplex/2-Sided Printing: PickOne
|
||
|
*OrderDependency: 10 DocumentSetup *Duplex
|
||
|
*DefaultDuplex: None
|
||
|
*Duplex None/Off: "Duplex=None"
|
||
|
*Duplex DuplexNoTumble/Long Edge: "Duplex=DuplexNoTumble"
|
||
|
*Duplex DuplexTumble/Short Edge: "Duplex=DuplexTumble"
|
||
|
*CloseUI: *Duplex
|
||
|
|
||
|
*% Installable option...
|
||
|
*OpenGroup: InstallableOptions/Installable Options
|
||
|
*OpenUI InstalledDuplexer/Duplexer Installed: Boolean
|
||
|
*DefaultInstalledDuplexer: False
|
||
|
*InstalledDuplexer False: ""
|
||
|
*InstalledDuplexer True: ""
|
||
|
*CloseUI: *InstalledDuplexer
|
||
|
*CloseGroup: InstallableOptions
|
||
|
|
||
|
*% Custom options...
|
||
|
*OpenGroup: Extended/Extended Options
|
||
|
|
||
|
*OpenUI IntOption/Integer: PickOne
|
||
|
*OrderDependency: 30 AnySetup *IntOption
|
||
|
*DefaultIntOption: None
|
||
|
*IntOption None: ""
|
||
|
*IntOption 1: "IntOption=1"
|
||
|
*IntOption 2: "IntOption=2"
|
||
|
*IntOption 3: "IntOption=3"
|
||
|
*CloseUI: *IntOption
|
||
|
|
||
|
*CustomIntOption True/Custom Integer: "IntOption=Custom"
|
||
|
*ParamCustomIntOption Integer: 1 int -100 100
|
||
|
|
||
|
*OpenUI StringOption/String: PickOne
|
||
|
*OrderDependency: 40 AnySetup *StringOption
|
||
|
*DefaultStringOption: None
|
||
|
*StringOption None: ""
|
||
|
*StringOption foo: "StringOption=foo"
|
||
|
*StringOption bar: "StringOption=bar"
|
||
|
*CloseUI: *StringOption
|
||
|
|
||
|
*CustomStringOption True/Custom String: "StringOption=Custom"
|
||
|
*ParamCustomStringOption String1: 2 string 1 10
|
||
|
*ParamCustomStringOption String2: 1 string 1 10
|
||
|
|
||
|
*CloseGroup: Extended
|
||
|
|
||
|
*% IPP reasons for ppdLocalizeIPPReason tests
|
||
|
*cupsIPPReason foo/Foo Reason: "http://foo/bar.html
|
||
|
help:anchor='foo'%20bookID=Vendor%20Help
|
||
|
/help/foo/bar.html"
|
||
|
*End
|
||
|
*fr.cupsIPPReason foo/La Foo Reason: "text:La%20Long%20
|
||
|
text:Foo%20Reason
|
||
|
http://foo/fr/bar.html
|
||
|
help:anchor='foo'%20bookID=Vendor%20Help
|
||
|
/help/fr/foo/bar.html"
|
||
|
*End
|
||
|
*zh_TW.cupsIPPReason foo/Number 1 Foo Reason: "text:Number%201%20
|
||
|
text:Foo%20Reason
|
||
|
http://foo/zh_TW/bar.html
|
||
|
help:anchor='foo'%20bookID=Vendor%20Help
|
||
|
/help/zh_TW/foo/bar.html"
|
||
|
*End
|
||
|
*zh.cupsIPPReason foo/Number 2 Foo Reason: "text:Number%202%20
|
||
|
text:Foo%20Reason
|
||
|
http://foo/zh/bar.html
|
||
|
help:anchor='foo'%20bookID=Vendor%20Help
|
||
|
/help/zh/foo/bar.html"
|
||
|
*End
|
||
|
|
||
|
*% Marker names for ppdLocalizeMarkerName tests
|
||
|
*cupsMarkerName cyan/Cyan Toner: ""
|
||
|
*fr.cupsMarkerName cyan/La Toner Cyan: ""
|
||
|
*zh_TW.cupsMarkerName cyan/Number 1 Cyan Toner: ""
|
||
|
*zh.cupsMarkerName cyan/Number 2 Cyan Toner: ""
|
||
|
|
||
|
*DefaultFont: Courier
|
||
|
*Font AvantGarde-Book: Standard "(001.006S)" Standard ROM
|
||
|
*Font AvantGarde-BookOblique: Standard "(001.006S)" Standard ROM
|
||
|
*Font AvantGarde-Demi: Standard "(001.007S)" Standard ROM
|
||
|
*Font AvantGarde-DemiOblique: Standard "(001.007S)" Standard ROM
|
||
|
*Font Bookman-Demi: Standard "(001.004S)" Standard ROM
|
||
|
*Font Bookman-DemiItalic: Standard "(001.004S)" Standard ROM
|
||
|
*Font Bookman-Light: Standard "(001.004S)" Standard ROM
|
||
|
*Font Bookman-LightItalic: Standard "(001.004S)" Standard ROM
|
||
|
*Font Courier: Standard "(002.004S)" Standard ROM
|
||
|
*Font Courier-Bold: Standard "(002.004S)" Standard ROM
|
||
|
*Font Courier-BoldOblique: Standard "(002.004S)" Standard ROM
|
||
|
*Font Courier-Oblique: Standard "(002.004S)" Standard ROM
|
||
|
*Font Helvetica: Standard "(001.006S)" Standard ROM
|
||
|
*Font Helvetica-Bold: Standard "(001.007S)" Standard ROM
|
||
|
*Font Helvetica-BoldOblique: Standard "(001.007S)" Standard ROM
|
||
|
*Font Helvetica-Narrow: Standard "(001.006S)" Standard ROM
|
||
|
*Font Helvetica-Narrow-Bold: Standard "(001.007S)" Standard ROM
|
||
|
*Font Helvetica-Narrow-BoldOblique: Standard "(001.007S)" Standard ROM
|
||
|
*Font Helvetica-Narrow-Oblique: Standard "(001.006S)" Standard ROM
|
||
|
*Font Helvetica-Oblique: Standard "(001.006S)" Standard ROM
|
||
|
*Font NewCenturySchlbk-Bold: Standard "(001.009S)" Standard ROM
|
||
|
*Font NewCenturySchlbk-BoldItalic: Standard "(001.007S)" Standard ROM
|
||
|
*Font NewCenturySchlbk-Italic: Standard "(001.006S)" Standard ROM
|
||
|
*Font NewCenturySchlbk-Roman: Standard "(001.007S)" Standard ROM
|
||
|
*Font Palatino-Bold: Standard "(001.005S)" Standard ROM
|
||
|
*Font Palatino-BoldItalic: Standard "(001.005S)" Standard ROM
|
||
|
*Font Palatino-Italic: Standard "(001.005S)" Standard ROM
|
||
|
*Font Palatino-Roman: Standard "(001.005S)" Standard ROM
|
||
|
*Font Symbol: Special "(001.007S)" Special ROM
|
||
|
*Font Times-Bold: Standard "(001.007S)" Standard ROM
|
||
|
*Font Times-BoldItalic: Standard "(001.009S)" Standard ROM
|
||
|
*Font Times-Italic: Standard "(001.007S)" Standard ROM
|
||
|
*Font Times-Roman: Standard "(001.007S)" Standard ROM
|
||
|
*Font ZapfChancery-MediumItalic: Standard "(001.007S)" Standard ROM
|
||
|
*Font ZapfDingbats: Special "(001.004S)" Standard ROM
|