Hello all! We use Freeflow to feed many different print devices in our plant. One is a direct UV printer. It has a crappy RIP that will only properly recognize spot colors if it is given an EPS file. So far, we just manually convert the Freeflow output PDF to EPS using Acrobat and sometimes Illustrator.
I would love to automate this conversion, but so far any of the command line or other easily scriptable kits for converting PDFs to EPS rasterize the vector graphics as part of their conversion. Or at least, that's all I have been able to find.
Does anyone have any suggestions? I would love if export to EPS (but retain vectors) were an option for Freeflow, but I can certainly understand why the focus is on a PDF workflow. I'm fine with doing some programming around save destinations and hot folders to make this happen, but can anyone point me in the direction of a good library or scriptable application that would maintain the vector output?
I'm even open to doing this with Acrobat since we pay for it anyway, but I cannot find decent documentation on how to script it.
Solved! Go to Solution.
Have you tested Ghostscript? https://www.ghostscript.com/download/gsdnld.html. I just did a quick test and it seems like you can retain the vectors with it.
Download and install Ghostscript and import the attached workflow to FreeFlow Core. You need FreeFlow Core version 5.4 to be able to import it. If not, create a workflow and place an External Process in it. The External Process then uses the attached batch file that will convert incoming pdf to eps using Ghostscript and save the eps to folder c:\out\ with the name <filename.pdf>.eps.
"C:\Program Files\gs\gs9.50\bin\gswin64c.exe" -dNOPAUSE -dNOCACHE -dBATCH -sDEVICE=eps2write -sOutputFile=c:\out\%~nx1.eps %1
It is actually possible to use Acrobat to do this. It is a bit trickier than the above methods but could give more flexibility because you can use the printer driver of your choice. The attached Powershell script will watch folder C:\in for pdf files and when a pdf files arrives, Acrobat will print the pdf using the Windows printer defined to C:\out\<filename.pdf>.eps. I have used a printer driver for Xerox iGen5 but some other PostScript printer driver could be used. Make sure you set the printer driver PostScript option to print to "Encapsulated PostScript (EPS)" instead of the default "Optimize for Speed".