]> git.ipfire.org Git - thirdparty/cups.git/blame - examples/laserjet-basic.drv
Add cupsRasterInitPWGHeader API to setup a raster header using IPP Everywhere
[thirdparty/cups.git] / examples / laserjet-basic.drv
CommitLineData
28b9d139
MS
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...
9DriverType pcl
10
11// Specify the driver options via the model number...
12ModelNumber ($PCL_PAPER_SIZE $PCL_PJL $PCL_PJL_RESOLUTION)
13
14// List the fonts that are supported, in this case all standard
15// fonts...
16Font *
17
18// Manufacturer and driver version
19Manufacturer "HP"
20Version 1.0
21
22// Supported page sizes and their margins
23HWMargins 18 12 18 12
24*MediaSize Letter
25MediaSize Legal
26MediaSize Executive
27MediaSize Monarch
28MediaSize Statement
29MediaSize FanFoldGermanLegal
30
31HWMargins 18 12.72 18 12.72
32MediaSize Env10
33
34HWMargins 9.72 12 9.72 12
35MediaSize A4
36MediaSize A5
37MediaSize B5
38MediaSize EnvC5
39MediaSize EnvDL
40MediaSize EnvISOB5
41MediaSize Postcard
42MediaSize DoublePostcard
43
44// Only black-and-white output with mode 3 compression...
45ColorModel Gray k chunky 3
46
47// Supported resolutions
48Resolution - 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"
53InputSlot 2 "Manual/Tray 1 - Manual Feed"
54InputSlot 4 "Upper/Tray 1"
55InputSlot 1 "Lower/Tray 2"
56InputSlot 5 "LargeCapacity/Tray 3"
57
58// Tray 3 is an option...
59Installable "OptionLargeCapacity/Tray 3 Installed"
60UIConstraints "*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}