[gs-bugs] [Bug 689230] Resolution setting in the pxlmono/pxlcolor
drivers does not work
bugs.ghostscript.com-bugzilla-daemon at ghostscript.com
bugs.ghostscript.com-bugzilla-daemon at ghostscript.com
Tue Sep 2 11:40:09 PDT 2008
http://bugs.ghostscript.com/show_bug.cgi?id=689230
------- Additional Comments From till.kamppeter at gmail.com 2008-09-02 11:40 -------
Ray, tests with actual printers show that the PJL command is required. Without
the command the printer stays on 600 dpi.
I have found a small bug in my patch, which I have fixed in the SVN now:
Modified: trunk/gs/base/gdevpxut.c
===================================================================
--- trunk/gs/base/gdevpxut.c 2008-09-02 09:06:41 UTC (rev 9060)
+++ trunk/gs/base/gdevpxut.c 2008-09-02 18:37:07 UTC (rev 9061)
@@ -81,7 +81,7 @@
else
px_put_bytes(s, (const byte *)resolution_600,
strlen(resolution_600));
- if ((uint) (dev->HWResolution[0] + 0.5) !=
+ if ((uint) (dev->HWResolution[1] + 0.5) !=
(uint) (dev->HWResolution[0] + 0.5)) {
px_put_bytes(s, (const byte *)"x", strlen("x"));
if ((uint) (dev->HWResolution[1] + 0.5) == 150)
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
More information about the gs-bugs
mailing list