summaryrefslogtreecommitdiff
path: root/examples/r300-basic.drv
diff options
context:
space:
mode:
Diffstat (limited to 'examples/r300-basic.drv')
-rw-r--r--examples/r300-basic.drv75
1 files changed, 75 insertions, 0 deletions
diff --git a/examples/r300-basic.drv b/examples/r300-basic.drv
new file mode 100644
index 000000000..e203d511d
--- /dev/null
+++ b/examples/r300-basic.drv
@@ -0,0 +1,75 @@
+// Include standard font and media definitions
+#include <font.defs>
+#include <media.defs>
+
+// Include ESC/P driver definitions
+#include <escp.h>
+
+// Specify that this driver uses the ESC/P driver...
+DriverType escp
+
+// Specify the driver options via the model number...
+ModelNumber ($ESCP_ESCK $ESCP_EXT_UNITS $ESCP_EXT_MARGINS $ESCP_USB
+ $ESCP_PAGE_SIZE $ESCP_RASTER_ESCI)
+
+// List the fonts that are supported, in this case all standard
+// fonts...
+Font *
+
+// Manufacturer and driver version
+Manufacturer "Epson"
+Version 1.0
+
+// Supported page sizes and their margins
+HWMargins 8.4 0 8.4 0
+*MediaSize Letter
+MediaSize Legal
+MediaSize Executive
+MediaSize Statement
+MediaSize A4
+MediaSize A5
+MediaSize A6
+MediaSize B5
+MediaSize Env10
+MediaSize EnvC5
+MediaSize EnvDL
+MediaSize EnvISOB5
+MediaSize Postcard
+MediaSize DoublePostcard
+
+VariablePaperSize Yes
+MinSize 1in 4in
+MaxSize 8.5in 44in
+
+// Four color modes are supported...
+ColorModel Gray/Grayscale w chunky 1
+ColorModel Black k chunky 1
+*ColorModel RGB/Color rgb chunky 1
+ColorModel CMYK cmyk chunky 1
+
+// Supported resolutions
+Resolution - 8 90 0 103 "360dpi/360 DPI"
+*Resolution - 8 90 0 206 "720dpi/720 DPI"
+Resolution - 8 90 0 412 "1440dpi/1440 DPI"
+
+// Very basic dithering settings
+Attribute cupsInkChannels "" 6
+Attribute cupsInkLimit "" 2.0
+
+Attribute cupsCyanLtDk "" "0.5 1.0"
+Attribute cupsMagentaLtDk "" "0.5 1.0"
+
+Attribute cupsAllDither 360dpi "0.5 0.75 1.0"
+Attribute cupsAllDither 720dpi "0.6 0.9 1.2"
+Attribute cupsAllDither 1440dpi "0.9 1.35"
+
+Attribute cupsESCPDotSize 360dpi 16
+Attribute cupsESCPDotSize 720dpi 17
+Attribute cupsESCPDotSize 1440dpi 18
+
+{
+ // EPSON Stylus Photo R300 Series
+ Throughput 1
+ ModelName "Stylus Photo R300"
+ PCFileName "epspr301.ppd"
+}