]> git.ipfire.org Git - thirdparty/cups.git/blob - examples/laserjet-basic.drv
Changelog
[thirdparty/cups.git] / examples / laserjet-basic.drv
1 // Include standard font and media definitions
2 #include <font.defs>
3 #include <media.defs>
4
5 // Include HP-PCL driver definitions
6 #include <pcl.h>
7
8 // Specify that this driver uses the HP-PCL driver...
9 DriverType pcl
10
11 // Specify the driver options via the model number...
12 ModelNumber ($PCL_PAPER_SIZE $PCL_PJL $PCL_PJL_RESOLUTION)
13
14 // List the fonts that are supported, in this case all standard
15 // fonts...
16 Font *
17
18 // Manufacturer and driver version
19 Manufacturer "HP"
20 Version 1.0
21
22 // Supported page sizes and their margins
23 HWMargins 18 12 18 12
24 *MediaSize Letter
25 MediaSize Legal
26 MediaSize Executive
27 MediaSize Monarch
28 MediaSize Statement
29 MediaSize FanFoldGermanLegal
30
31 HWMargins 18 12.72 18 12.72
32 MediaSize Env10
33
34 HWMargins 9.72 12 9.72 12
35 MediaSize A4
36 MediaSize A5
37 MediaSize B5
38 MediaSize EnvC5
39 MediaSize EnvDL
40 MediaSize EnvISOB5
41 MediaSize Postcard
42 MediaSize DoublePostcard
43
44 // Only black-and-white output with mode 3 compression...
45 ColorModel Gray k chunky 3
46
47 // Supported resolutions
48 Resolution - 1 0 0 0 "300dpi/300 DPI"
49 *Resolution - 8 0 0 0 "600dpi/600 DPI"
50
51 // Supported input slots
52 *InputSlot 7 "Auto/Automatic Selection"
53 InputSlot 2 "Manual/Tray 1 - Manual Feed"
54 InputSlot 4 "Upper/Tray 1"
55 InputSlot 1 "Lower/Tray 2"
56 InputSlot 5 "LargeCapacity/Tray 3"
57
58 // Tray 3 is an option...
59 Installable "OptionLargeCapacity/Tray 3 Installed"
60 UIConstraints "*OptionLargeCapacity False *InputSlot LargeCapacity"
61
62 {
63 // HP LaserJet 2100 Series
64 Throughput 10
65 ModelName "LaserJet 2100 Series"
66 PCFileName "hpljt211.ppd"
67 }
68
69 {
70 // LaserJet 2200 and 2300 series have duplexer option...
71 Duplex normal
72 Installable "OptionDuplex/Duplexer Installed"
73 UIConstraints "*OptionDuplex False *Duplex"
74
75 {
76 // HP LaserJet 2200 Series
77 Throughput 19
78 ModelName "LaserJet 2200 Series"
79 PCFileName "hpljt221.ppd"
80 }
81
82 {
83 // HP LaserJet 2300 Series
84 Throughput 25
85 ModelName "LaserJet 2300 Series"
86 PCFileName "hpljt231.ppd"
87 }
88 }