]>
Commit | Line | Data |
---|---|---|
ab798324 | 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) | |
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 1.0 | |
22 | ||
23 | // Supported page sizes and their margins | |
24 | HWMargins 8.4 0 8.4 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 | // Four color modes are supported... | |
45 | ColorModel Gray/Grayscale w chunky 1 | |
46 | ColorModel Black k chunky 1 | |
47 | *ColorModel RGB/Color rgb chunky 1 | |
48 | ColorModel CMYK cmyk chunky 1 | |
49 | ||
50 | // Supported resolutions | |
51 | Resolution - 8 90 0 103 "360dpi/360 DPI" | |
52 | *Resolution - 8 90 0 206 "720dpi/720 DPI" | |
53 | Resolution - 8 90 0 412 "1440dpi/1440 DPI" | |
54 | ||
55 | // Very basic dithering settings | |
56 | Attribute cupsInkChannels "" 6 | |
57 | Attribute cupsInkLimit "" 2.0 | |
58 | ||
59 | Attribute cupsCyanLtDk "" "0.5 1.0" | |
60 | Attribute cupsMagentaLtDk "" "0.5 1.0" | |
61 | ||
62 | Attribute cupsAllDither 360dpi "0.5 0.75 1.0" | |
63 | Attribute cupsAllDither 720dpi "0.6 0.9 1.2" | |
64 | Attribute cupsAllDither 1440dpi "0.9 1.35" | |
65 | ||
66 | Attribute cupsESCPDotSize 360dpi 16 | |
67 | Attribute cupsESCPDotSize 720dpi 17 | |
68 | Attribute cupsESCPDotSize 1440dpi 18 | |
69 | ||
70 | { | |
71 | // EPSON Stylus Photo R300 Series | |
72 | Throughput 1 | |
73 | ModelName "Stylus Photo R300" | |
74 | PCFileName "epspr301.ppd" | |
75 | } |