Revert manifest to default one
[external/cups.git] / examples / constraint.drv
1 // Include standard font and media definitions
2 #include <font.defs>
3 #include <media.defs>
4
5 // List the fonts that are supported, in this case all standard
6 // fonts...
7 Font *
8
9 // Manufacturer, model name, and version
10 Manufacturer "Foo"
11 ModelName "FooJet 2000"
12 Version 1.0
13
14 // Each filter provided by the driver...
15 Filter application/vnd.cups-raster 100 rastertofoo
16
17 // Supported page sizes
18 *MediaSize Letter
19 MediaSize A4
20
21 // Supported resolutions
22 *Resolution k 8 0 0 0 "600dpi/600 DPI"
23
24 // Installable Option Group
25 Group "InstallableOptions/Options Installed"
26
27   // Duplexing unit option
28   Option "Option1/Duplexing Unit" Boolean AnySetup 10
29     Choice True/Installed ""
30     *Choice "False/Not Installed" ""
31
32 // General Option Group
33 Group General
34
35   // Duplexing option
36   Option "Duplex/Two-Sided Printing" PickOne AnySetup 10
37     *Choice "None/No" "<</Duplex false>>setpagedevice"
38     Choice "DuplexNoTumble/Long Edge Binding"
39            "<</Duplex true/Tumble false>>setpagedevice"
40     Choice "DuplexTumble/Short Edge Binding"
41            "<</Duplex true/Tumble true>>setpagedevice"
42
43 // Only allow duplexing if the duplexer is installed
44 UIConstraints "*Duplex *Option1 False"
45
46 // Specify the name of the PPD file we want to generate...
47 PCFileName "foojet2k.ppd"
48