[gs-bugs] [Bug 691499] CUPS Raster device has "Error: /undefined in --setpagedevice--" for some files only in banding mode

bugzilla-daemon at ghostscript.com bugzilla-daemon at ghostscript.com
Mon Jul 26 22:51:29 UTC 2010


http://bugs.ghostscript.com/show_bug.cgi?id=691499

--- Comment #9 from Till Kamppeter <till.kamppeter at gmail.com> 2010-07-26 22:51:28 UTC ---
Problem is not whether rendering is done in banding mode or in full page mode.
Problem is the amount of memory made available to Ghostscript. I get the same
results if I add

space_params->banding_type = BandingNever;

or

space_params->banding_type = BandingAlways;

or nothing to the end of the cups_get_space_params() function in
cups/gdevcups.c.

If I override the cups_get_space_params() function completely by adding

return;

in its beginning, Ghostscript determines its buffer sizes fully automatically
and so it is even able to render the files with arbitrarily high resolutions
and without using up the computer's memory. I tries 7200x7200 dpi and it worked
(but trying to display this with rasterview actually used up the memory).

Can "/undefined in --setpagedevice--" be caused by Ghostscript not allocating
memory due to a too small BufferSpace or MaxBitmap?

-- 
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