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