Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question

migrated from Jan 7 '13 at 11:44

This question came from our site for professional and enthusiast programmers.

Could use something like Adobe Reader and "print" the file to virtual PostScript printer and capture the output? – martineau Jan 7 '13 at 12:02
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 Jan 7 '13 at 17:43
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 Jan 7 '13 at 18:20
@shadowfax: Could you maybe accept the answer to mark the question as resolved? – MERose Jan 12 at 21:13
up vote 2 down vote accepted

I would recommend looking at this question here, but to summarize the part I used to do the same thing is:

pdftops -eps filename.pdf
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .