5
1
I want to convert a .pdf file to an .eps file of the same resolution on a unix based machine. If I use
"pdf2ps file.pdf file.eps"
the resulting .eps image is not the same as the .pdf image. Colors are much lighter as compared to the .pdf one. Also, the size of file.pdf is 115 KB, and that of file.eps is 3.6 MB.
Can someone please guide me how to properly convert a .pdf file to .eps file. I am using Mac OSX Snow-leopard (10.6.8).
Thanks M
@shadowfax: Could you maybe accept the answer to mark the question as resolved? – MERose – 2016-01-12T21:13:13.977
Could use something like Adobe Reader and "print" the file to virtual PostScript printer and capture the output? – martineau – 2013-01-07T12:02:11.137
Thanks @martineau! Opening the .pdf file in preview and printing it as postscript file works. I have some 100 .pdf files that I want to convert to .eps files, I will have to find a command line option to do this job. Do you have any pointers about that? – shadowfax – 2013-01-07T17:43:15.980
You could automate it using AppleScript or write a script for one of the Unix shells, like
bash
. There should be an AppleScript Editor application in your Utilities folder and there are many tutorials for it around on the Web. Snow-Leopard also has something called the Automator which will write AppleScripts for you -- it's sort of like a macro generator. Of course there's lots of information about Unix shell script programming on the Web, too. – martineau – 2013-01-07T18:20:16.013