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".
Im trying to do this by Powershell script and Acrobat (Pro not reader). I can run script, when i add file to "in" it is adding it to print queue but then nothing happended. It is stuck in print queue. I have tied everything and dont have ide what to do next...
It is working ! great thank You very much ! :)
As i can see, You have commented one line and added 2 delays?
How I can now integrate it with Core? By External node? $FFin$ as "in" folder and $FFout$ as "out" folder?
I had some issue launching Acrobat with a script from within FFCore so I did this outside FFCore instead. You could give it a try, but then you need to create a batch file that calls the PowerShell script and passes the argument %1 for the incoming file to be run with Acrobat from the batch file to the Powershell script $args to $FFin$ in an External process. You also need to disable the file system watcher ($fsw) in the PowerShell script as this can/should only be run once to keep watching the folder as long as PowerShell runs the script.
As you already have this setup outside of FFCore, the simplest way is to place a Save component in a FFCore workflow and save the pdf to C:\in\.