]> git.ipfire.org Git - thirdparty/cups.git/blob - examples/color.drv
Changelog
[thirdparty/cups.git] / examples / color.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 and version
10 Manufacturer "Foo"
11 Version 1.0
12
13 // Each filter provided by the driver...
14 Filter application/vnd.cups-raster 100 rastertofoo
15
16 // Supported page sizes
17 *MediaSize Letter
18 MediaSize A4
19
20 {
21 // Supported resolutions
22 *Resolution k 8 0 0 0 "600dpi/600 DPI"
23
24 // Specify the model name and filename...
25 ModelName "FooJet 2000"
26 PCFileName "foojet2k.ppd"
27 }
28
29 {
30 // Supports color printing
31 ColorDevice true
32
33 // Supported colorspaces
34 ColorModel Gray/Grayscale w chunky 0
35 *ColorModel RGB/Color rgb chunky 0
36
37 // Supported resolutions
38 *Resolution - 8 0 0 0 "300dpi/300 DPI"
39 Resolution - 8 0 0 0 "600dpi/600 DPI"
40
41 // Specify the model name and filename...
42 ModelName "FooJet Color"
43 PCFileName "foojetco.ppd"
44 }