2
votes

is it possible to convert a PDF into a CMYK EPS using ghostscript?

The following command works fine - but the result is RGB I guess:

gswin32c.exe -sDEVICE=epswrite -o test.eps test.pdf

This command:

gswin32c.exe \
   -sDEVICE=epswrite \
   -sProcessColorModel=DeviceCMYK \
   -sColorConversionStrategy=CMYK \
   -o test.eps \
    test.pdf

gives me the following error message

Unrecoverable error: rangecheck in .putdeviceprops

Thanks, Ronald

1
Have you tried to conver to a CMYK-PDF first, and then turn that one into EPS? Not sure if that would work, but it is worth a try. Otherwise, we'll have to wait for KenS to see this question -- he's one of the most authoritative people all things Ghostscript... :-) - Kurt Pfeifle
@KenS: Do you see this? (Not sure if adding an '@KenS:' to the front of the comment makes this stand out in your portal page when you enter stackoverflow...) - Kurt Pfeifle
Thank you for the suggestion pipitas but the PDF is already CMYK. Best, Ronald - Ronald

1 Answers

1
votes

Currently the answer is basically no. There are various tricks which work more or less, but nothing simple and reliable.

We will be reworking the colour code in pdfwrite/ps2write and colour conversion will be addressed at that time.

pipitas I had seen this post, but myOpenID was down again....