EPson EPL-4000 series support - how best to patch?
wookey at aleph1.co.uk
wookey at aleph1.co.uk
Tue Nov 2 03:38:34 PST 2004
wookey wrote:
> >
> I've hacked up a version of rastertohp (restertoepl) that doesn't use ESC*p#Y to skip blank lines to prove that this is all that's needed.
>
Just to confirm that I've now tested this and it works.
here's the patch:
> Wookey
--- filter/rastertohp.c 2004-02-25 21:14:52.000000000 +0100
+++ filter/rastertoepl.c 2004-11-01 17:13:49.000000000 +0100
@@ -587,11 +587,11 @@
* Output whitespace as needed...
*/
- if (Feed > 0)
- {
- printf("\033*b%dY", Feed);
- Feed = 0;
- }
+// if (Feed > 0)
+// {
+// printf("\033*b%dY", Feed);
+// Feed = 0;
+// }
/*
* Write bitmap data as needed...
@@ -682,7 +682,7 @@
* and return.
*/
- fputs("ERROR: rastertopcl job-id user title copies options [file]\n", stder
r);
+ fputs("ERROR: rastertoepl job-id user title copies options [file]\n", stderr
);
return (1);
}
@@ -759,11 +760,11 @@
* See if the line is blank; if not, write it to the printer...
*/
- if (Planes[0][0] ||
- memcmp(Planes[0], Planes[0] + 1, header.cupsBytesPerLine - 1))
+// if (Planes[0][0] ||
+// memcmp(Planes[0], Planes[0] + 1, header.cupsBytesPerLine - 1))
OutputLine(&header);
- else
- Feed ++;
+// else
+// Feed ++;
}
/*
More information about the cups
mailing list