]> git.ipfire.org Git - thirdparty/cups.git/blame - examples/laserjet-pjl.drv
Changelog
[thirdparty/cups.git] / examples / laserjet-pjl.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 2.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// PJL options
63Attribute cupsPJL cupsRET "@PJL SET SMOOTHING=%?False:OFF;%?True:ON;%n"
64
65Option "cupsRET/Smoothing" Boolean DocumentSetup 10
66 Choice "False/Off" ""
67 *Choice "True/On" ""
68
69Attribute cupsPJL cupsTonerSave "@PJL SET ECONOMODE=%?False:OFF;%?True:ON;%n"
70
71Option "cupsTonerSave/Save Toner" Boolean DocumentSetup 10
72 *Choice "False/No" ""
73 Choice "True/Yes" ""
74
75{
76 // HP LaserJet 2100 Series
77 Throughput 10
78 ModelName "LaserJet 2100 Series PJL"
79 PCFileName "hpljt212.ppd"
80}
81
82{
83 // LaserJet 2200 and 2300 series have duplexer option...
84 Duplex normal
85 Installable "OptionDuplex/Duplexer Installed"
86 UIConstraints "*OptionDuplex False *Duplex"
87
88 {
89 // HP LaserJet 2200 Series
90 Throughput 19
91 ModelName "LaserJet 2200 Series PJL"
92 PCFileName "hpljt222.ppd"
93 }
94
95 {
96 // HP LaserJet 2300 Series
97 Throughput 25
98 ModelName "LaserJet 2300 Series PJL"
99 PCFileName "hpljt232.ppd"
100 }
101}