]> git.ipfire.org Git - thirdparty/cups.git/blob - examples/r300-remote.drv
Add cupsRasterInitPWGHeader API to setup a raster header using IPP Everywhere
[thirdparty/cups.git] / examples / r300-remote.drv
1 // Include standard font and media definitions
2 #include <font.defs>
3 #include <media.defs>
4
5 // Include ESC/P driver definitions
6 #include <escp.h>
7
8 // Specify that this driver uses the ESC/P driver...
9 DriverType escp
10
11 // Specify the driver options via the model number...
12 ModelNumber ($ESCP_ESCK $ESCP_EXT_UNITS $ESCP_EXT_MARGINS $ESCP_USB
13 $ESCP_PAGE_SIZE $ESCP_RASTER_ESCI $ESCP_REMOTE)
14
15 // List the fonts that are supported, in this case all standard
16 // fonts...
17 Font *
18
19 // Manufacturer and driver version
20 Manufacturer "Epson"
21 Version 2.0
22
23 // Supported page sizes and their margins
24 HWMargins 0 0 0 0
25 *MediaSize Letter
26 MediaSize Legal
27 MediaSize Executive
28 MediaSize Statement
29 MediaSize A4
30 MediaSize A5
31 MediaSize A6
32 MediaSize B5
33 MediaSize Env10
34 MediaSize EnvC5
35 MediaSize EnvDL
36 MediaSize EnvISOB5
37 MediaSize Postcard
38 MediaSize DoublePostcard
39
40 VariablePaperSize Yes
41 MinSize 1in 4in
42 MaxSize 8.5in 44in
43
44 // Borderless printing offset...
45 Attribute cupsESCPFP "" -80
46
47 // Four color modes are supported...
48 ColorModel Gray/Grayscale w chunky 1
49 ColorModel Black k chunky 1
50 *ColorModel RGB/Color rgb chunky 1
51 ColorModel CMYK cmyk chunky 1
52
53 // Supported resolutions
54 Resolution - 8 90 0 103 "360dpi/360 DPI"
55 *Resolution - 8 90 0 206 "720dpi/720 DPI"
56 Resolution - 8 90 0 412 "1440dpi/1440 DPI"
57
58 // Paper trays...
59 *InputSlot 0 "Auto/Auto Select"
60 InputSlot 1 "Manual/Manual Feed"
61
62 Attribute cupsESCPPP 0 "1 255"
63 Attribute cupsESCPPP 1 "2 1"
64
65 // Very basic dithering settings
66 Attribute cupsInkChannels "" 6
67 Attribute cupsInkLimit "" 2.0
68
69 Attribute cupsCyanLtDk "" "0.5 1.0"
70 Attribute cupsMagentaLtDk "" "0.5 1.0"
71
72 Attribute cupsAllDither 360dpi "0.5 0.75 1.0"
73 Attribute cupsAllDither 720dpi "0.6 0.9 1.2"
74 Attribute cupsAllDither 1440dpi "0.9 1.35"
75
76 Attribute cupsESCPDotSize 360dpi 16
77 Attribute cupsESCPDotSize 720dpi 17
78 Attribute cupsESCPDotSize 1440dpi 18
79
80 {
81 // EPSON Stylus Photo R300 Series
82 Throughput 1
83 ModelName "Epson Stylus Photo R300"
84 PCFileName "epspr302.ppd"
85 }