• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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...
9DriverType escp
10
11// Specify the driver options via the model number...
12ModelNumber ($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...
17Font *
18
19// Manufacturer and driver version
20Manufacturer "Epson"
21Version 3.0
22
23// Supported page sizes and their margins
24HWMargins 0 0 0 0
25*MediaSize Letter
26MediaSize Legal
27MediaSize Executive
28MediaSize Statement
29MediaSize A4
30MediaSize A5
31MediaSize A6
32MediaSize B5
33MediaSize Env10
34MediaSize EnvC5
35MediaSize EnvDL
36MediaSize EnvISOB5
37MediaSize Postcard
38MediaSize DoublePostcard
39
40VariablePaperSize Yes
41MinSize 1in 4in
42MaxSize 8.5in 44in
43
44// Borderless printing offset...
45Attribute cupsESCPFP "" 0
46
47// Four color modes are supported...
48ColorModel Gray/Grayscale w chunky 1
49ColorModel Black k chunky 1
50*ColorModel RGB/Color rgb chunky 1
51ColorModel CMYK cmyk chunky 1
52
53// Supported resolutions
54Resolution - 8 90 0 103 "360dpi/360 DPI"
55*Resolution - 8 90 0 206 "720dpi/720 DPI"
56Resolution - 8 90 0 412 "1440dpi/1440 DPI"
57
58// Paper trays...
59*InputSlot 0 "Auto/Auto Select"
60InputSlot 1 "Manual/Manual Feed"
61
62Attribute cupsESCPPP 0 "1 255"
63Attribute cupsESCPPP 1 "2 1"
64
65// Very basic dithering settings
66Attribute cupsInkChannels "" 6
67Attribute cupsInkLimit "" 3.0
68
69Attribute cupsCyanLtDk "" "0.5 1.0"
70Attribute cupsMagentaLtDk "" "0.5 1.0"
71
72Attribute cupsAllDither 360dpi "0.5 0.75 1.0"
73Attribute cupsAllDither 720dpi "0.6 0.9 1.2"
74Attribute cupsAllDither 1440dpi "0.9 1.35"
75
76Attribute cupsESCPDotSize 360dpi 16
77Attribute cupsESCPDotSize 720dpi 17
78Attribute cupsESCPDotSize 1440dpi 18
79
80{
81  // EPSON Stylus Photo R300 Series
82  Throughput 1
83  ModelName "Epson Stylus Photo R300"
84  PCFileName "epspr303.ppd"
85}
86