Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 stackoverflow.com 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

1 Answer 1

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.