]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - cups/test.ppd
Merge changes from CUPS 1.4svn-r8606.
[thirdparty/cups.git] / cups / test.ppd
index 77d42ecfcb3e2ab0c9e528f80537af2736ade23d..0dab6506a6ff1ae9fad0bedcc0f80c368780babf 100644 (file)
@@ -1,18 +1,18 @@
 *PPD-Adobe: "4.3"
 *%
-*% "$Id: test.ppd 6795 2007-08-15 18:02:26Z mike $"
+*% "$Id: test.ppd 7819 2008-08-01 00:27:24Z mike $"
 *%
 *% Test PPD file for the Common UNIX Printing System (CUPS).
 *%
 *% This file is used to test the CUPS PPD API functions and cannot be
-*% used with any known printers.  Look at the PPD files in the "ppd"
-*% subdirectory as well as the CUPS web site for working PPD files.
+*% 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 CUPS DDK to
-*% create your PPD files - not only will it save you time, it produces
+*% 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 2007 by Apple Inc.
+*% Copyright 2007-2009 by Apple Inc.
 *% Copyright 2002-2006 by Easy Software Products.
 *% 
 *% These coded instructions, statements, and computer programs are the
 *LanguageEncoding: ISOLatin1
 *PCFileName:   "TEST.PPD"
 *Manufacturer: "ESP"
-*Product:      "(ESP Ghostscript)"
-*cupsVersion:  1.2
-*cupsManualCopies: True
-*cupsFilter:   "application/vnd.cups-raster 0 rastertotest"
-*cupsModelNumber: 1
+*Product:      "(Test)"
+*cupsVersion:  1.4
 *ModelName:     "Test"
 *ShortNickName: "Test"
-*NickName:      "Test for CUPS v1.3"
-*PSVersion:    "(3010.000) 81501"
+*NickName:      "Test for CUPS"
+*PSVersion:    "(3010.000) 0"
 *LanguageLevel:        "3"
 *ColorDevice:  True
 *DefaultColorSpace: RGB
 *Throughput:   "1"
 *LandscapeOrientation: Plus90
 *TTRasterizer: Type42
+*cupsFilter: "application/vnd.cups-raster - 0"
+*RequiresPageRegion All: True
 
-*% These constraints are used to test ppdConflicts()
+*% 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
 
 *% 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 Orientation:  5 int 0 0
 
 *OpenUI *InputSlot/Input Slot: PickOne
-*OrderDependency: 10 AnySetup *InputSlot
+*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 *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: 10 AnySetup *IntOption
+*OrderDependency: 30 AnySetup *IntOption
 *DefaultIntOption: None
 *IntOption None: ""
 *IntOption 1: "IntOption=1"
 *ParamCustomIntOption Integer: 1 int -100 100
 
 *OpenUI StringOption/String: PickOne
-*OrderDependency: 10 AnySetup *StringOption
+*OrderDependency: 40 AnySetup *StringOption
 *DefaultStringOption: None
 *StringOption None: ""
 *StringOption foo: "StringOption=foo"
 *CloseUI: *StringOption
 
 *CustomStringOption True/Custom String: "StringOption=Custom"
-*ParamCustomStringOption String: 1 string 1 10
+*ParamCustomStringOption String1: 2 string 1 10
+*ParamCustomStringOption String2: 1 string 1 10
 
 *CloseGroup: Extended
 
-*% IPP reasons (for ppdLocalizeIPPReason tests)
+*% 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
+*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
+*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
+*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
@@ -199,5 +233,5 @@ help:anchor='foo'%20bookID=Vendor%20Help
 *Font ZapfChancery-MediumItalic: Standard "(001.007S)" Standard ROM
 *Font ZapfDingbats: Special "(001.004S)" Standard ROM
 *%
-*% End of "$Id: test.ppd 6795 2007-08-15 18:02:26Z mike $".
+*% End of "$Id: test.ppd 7819 2008-08-01 00:27:24Z mike $".
 *%