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?

related to an answer for: How to convert a ps file to a pdf file
asked Mar 31, 2014 by Eric Z Ma (44,280 points)

1 Answer

 
Best answer

I use this workaround:

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

from this.

An alternative is to use -dPDFSETTINGS=/prepress.

answered Mar 31, 2014 by Eric Z Ma (44,280 points)
edited Apr 26, 2014 by Eric Z Ma

Please log in or register to answer this question.

Copyright © SysTutorials. User contributions licensed under cc-wiki with attribution required.
Hosted on Dreamhost

...