Ghostscript reports “Unrecoverable error: stackunderflow in .setdistillerparams”
Posted on In QAWith 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
.