From 1688d058dee4ffcbf8615c7218a308df660f63b4 Mon Sep 17 00:00:00 2001 From: Michael Nottebrock Date: Wed, 28 Mar 2007 16:22:09 +0000 Subject: Add hl1250 driver, which adds support for the Brother HL-1250 and compatible printers (for a comprehensive list see http://www.linuxprinting.org/show_printer.cgi?recnum=Brother-HL-1250). --- print/ghostscript-gpl/files/gdevhl12-hl1250.mak | 16 ++++++++++++++++ print/ghostscript-gpl/files/patch-src:gdevhl12.c | 11 +++++++++++ 2 files changed, 27 insertions(+) create mode 100644 print/ghostscript-gpl/files/gdevhl12-hl1250.mak create mode 100644 print/ghostscript-gpl/files/patch-src:gdevhl12.c (limited to 'print/ghostscript-gpl/files') diff --git a/print/ghostscript-gpl/files/gdevhl12-hl1250.mak b/print/ghostscript-gpl/files/gdevhl12-hl1250.mak new file mode 100644 index 000000000000..8e1421ad1f03 --- /dev/null +++ b/print/ghostscript-gpl/files/gdevhl12-hl1250.mak @@ -0,0 +1,16 @@ +### -------------------- The Brother HL-1250 printer -------------------- ### +### This printer is ljet4-compatible, plus support for source tray ### +### selection and special 1200x600 dpi mode. ### + +hl1250_=$(GLOBJ)gdevhl12.$(OBJ) $(HPDLJM) +$(DD)hl1250.dev : $(hl1250_) $(DD)page.dev + $(SETPDEV) $(DD)hl1250 $(hl1250_) + +$(DD)hl1240.dev : $(hl1250_) $(DD)page.dev + $(SETPDEV) $(DD)hl1240 $(hl1250_) + +# Author: Marek Michalkiewicz +# Printer: Brother HL-1250 (may work with some other models too) +$(GLOBJ)gdevhl12.$(OBJ) : $(GLSRC)gdevhl12.c $(PDEVH) $(gdevdljm_h) + $(GLCC) $(GLO_)gdevhl12.$(OBJ) $(C_) $(GLSRC)gdevhl12.c + diff --git a/print/ghostscript-gpl/files/patch-src:gdevhl12.c b/print/ghostscript-gpl/files/patch-src:gdevhl12.c new file mode 100644 index 000000000000..45c0472a983d --- /dev/null +++ b/print/ghostscript-gpl/files/patch-src:gdevhl12.c @@ -0,0 +1,11 @@ +--- src/gdevhl12.c.orig Wed Mar 28 14:10:35 2007 ++++ src/gdevhl12.c Wed Mar 28 14:13:21 2007 +@@ -472,7 +472,7 @@ + for (y = ytop; y < ybottom; y++) { + if (hl1250_compress_line(s, y)) + continue; +-#if 1 ++#if 0 + /* XXX - please report if you ever see this, then change to #if 0 */ + fprintf(stderr, + "hl1250: compression failed (y=%u), doing 1200x300 dpi\n", -- cgit v1.2.3