Ghostscript reports “Unrecoverable error: stackunderflow in .setdistillerparams”

With the command -dPDFSETTINGS=/print for ps2pdf, I got:

GPL Ghostscript 9.10: Set UseCIEColor for UseDeviceIndependentColor to work properly.
Unrecoverable error: stackunderflow in .setdistillerparams
make: *** [pdf-print] Error 255

How to fix it?

I use this workaround:

ps2pdf -dColorConversionStrategy=/LeaveColorUnchanged 
-dPDFSETTINGS=/printer psfile.ps

from this.

An alternative is to use -dPDFSETTINGS=/prepress.

Eric Ma

Eric is a systems guy. Eric is interested in building high-performance and scalable distributed systems and related technologies. The views or opinions expressed here are solely Eric's own and do not necessarily represent those of any third parties.

Leave a Reply

Your email address will not be published. Required fields are marked *