I need to convert a large number of .eps files to .pdf. Unfortunately, because of a strange landscaping issue with the particular application that generated the eps files (IDL), ps2pdf does not do the right thing: it stuffs the landscaped image at the bottom of a portrait page, chopping off the right hand margin. An extensive search reveals that there is apparently no option to force it to properly convert landscape eps files into PDFs, just a few hacks that are insufficient for my purposes.
Graphics Converter always wants to read in the eps file as a pixelated image, so the resulting PDFs look terrible.
The good news is that Preview is smart enough to properly orient the files and save them as perfect PDFs -- vector fonts, no pixelation, reasonable file size, everything perfect just the way I want them.
So, my question is: is there a way to automate the process of opening each file in Preview and saving it with the same file name (except for the extension)?
Automator doesn't seem to have a "convert image" feature that accepts eps files. There are a few posts floating around about people that tried the obvious thing and failed to get it to work -- does anyone have a proven example of how to do this? Perhaps there is a sufficiently generic AppleScript out there that I can use without learning a new scripting language?
Graphics Converter always wants to read in the eps file as a pixelated image, so the resulting PDFs look terrible.
The good news is that Preview is smart enough to properly orient the files and save them as perfect PDFs -- vector fonts, no pixelation, reasonable file size, everything perfect just the way I want them.
So, my question is: is there a way to automate the process of opening each file in Preview and saving it with the same file name (except for the extension)?
Automator doesn't seem to have a "convert image" feature that accepts eps files. There are a few posts floating around about people that tried the obvious thing and failed to get it to work -- does anyone have a proven example of how to do this? Perhaps there is a sufficiently generic AppleScript out there that I can use without learning a new scripting language?