diff options
author | lofi <lofi@FreeBSD.org> | 2007-03-29 00:22:09 +0800 |
---|---|---|
committer | lofi <lofi@FreeBSD.org> | 2007-03-29 00:22:09 +0800 |
commit | 67e0f70415e00bb72552680ec4ae242ef9ae6d73 (patch) | |
tree | 6d7d9b1032504ba4f7ead3db6f51f838eedffff5 /print/ghostscript8/files | |
parent | 32f9689293aa85ac9b2a1387724eff9f61e57fb8 (diff) | |
download | freebsd-ports-gnome-67e0f70415e00bb72552680ec4ae242ef9ae6d73.tar.gz freebsd-ports-gnome-67e0f70415e00bb72552680ec4ae242ef9ae6d73.tar.zst freebsd-ports-gnome-67e0f70415e00bb72552680ec4ae242ef9ae6d73.zip |
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).
Diffstat (limited to 'print/ghostscript8/files')
-rw-r--r-- | print/ghostscript8/files/gdevhl12-hl1250.mak | 16 | ||||
-rw-r--r-- | print/ghostscript8/files/patch-src:gdevhl12.c | 11 |
2 files changed, 27 insertions, 0 deletions
diff --git a/print/ghostscript8/files/gdevhl12-hl1250.mak b/print/ghostscript8/files/gdevhl12-hl1250.mak new file mode 100644 index 000000000000..8e1421ad1f03 --- /dev/null +++ b/print/ghostscript8/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 <marekm@linux.org.pl> +# 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/ghostscript8/files/patch-src:gdevhl12.c b/print/ghostscript8/files/patch-src:gdevhl12.c new file mode 100644 index 000000000000..45c0472a983d --- /dev/null +++ b/print/ghostscript8/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", |