Comment 1 for bug 311982

Revision history for this message
In , Till Kamppeter (till-kamppeter) wrote :

See

https://bugs.launchpad.net/ubuntu/+source/ghostscript/+bug/311982

pdftops (version 3.00 of Poppler) is called by the pdftops CUPS filter in Ubuntu Intrepid and this filter is called by Intrepid'd cpdftocps filter in the mentioned Ubuntu bug report. In other system configurations CUPS can also call its pdftops filter directly.

If the input PDF contains a large bitmap (for example when printing a full-page photo with high resolution), Poppler's pdftops produces the lines

xpdf begin

114642 array dup /ImData_7_0 exch def

in its PostScript output. This defines an array with 114642 in PostScript. According to Adobe's specs PostScript only supports arrays with a maximum number of 65536 elements. So many PostScript interpreters will crash on this output. GhostScript gives a "/limitcheck" error.

This bug prevents from high-resolution photo printing in many cases, especially with newer application version which output PDF instead of PostScript when printing.