[gs-bugs] [Bug 689885] Feature Request for runtime selectable cups raster write mode

bugzilla-daemon at ghostscript.com bugzilla-daemon at ghostscript.com
Fri Jul 16 10:50:47 UTC 2010


--- Comment #9 from Heino Goldenstein <heino.goldenstein at microplex.de> 2010-07-16 10:50:41 UTC ---
I have not a current development environment for ghostscript set up, so I have
ported your changes of gdevcups.c back to the version I used while doing my
investigations (see: ghostscript-cupsRasterVersion.patch).
All tests done till now are working as expected.

As you can see by the file sizes it makes quite a difference if compression is
used or not.

-rw------- 1 lp lp  547281 Jul 16 09:47 testpage-A4-600dpi.cups-raster-v2
-rw------- 1 lp lp 4352362 Jul 16 09:50 testpage-A4-600dpi.cups-raster-v3

Now I can include the line: "*cupsRasterVersion: 2" in our ppds as old 
will silently ignore it and if ghostscript 9.0 will be released the right
will happen without further intervention.
Compatibility is preserved in all combinations, old versions will continue to
work with which ever cups-raster version is used and if cups-raster version 2
is selectable it will be used.
In worst case scenarios, where compression deliver bigger sizes than
it is possible to modify the line to use cups-raster version 3.

As I did not know the internals of the code base well enough I could not come
with a patch from scratch. Thank you very much for implementing this.

Configure bugmail: http://bugs.ghostscript.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the gs-bugs mailing list