I am looking for a free software, to allow me to convert a pdf file into an eps file.

The converter should retain the image quality as much as possible.

I was able to do this with GSView, but the result was always of the shape of a portrait A4 image, while my image is a landscape A4.

(Sorry if this was asked already, I was only able to find EPS to PDF questions, but not the other way around)

link|improve this question

78% accept rate
feedback

4 Answers

up vote 5 down vote accepted

You can use the tool pdftops with the --eps switch. This is installed on most Linux systems together with the xpdf package.

This also can be installed on Windows. See for the links http://gnuwin32.sourceforge.net/packages/xpdf.htm

link|improve this answer
Thanks (does it work with windows) – Tal Galili Aug 30 '10 at 6:15
@Tal Yes it does. See also gnuwin32.sourceforge.net/packages/xpdf.htm – Peter Smit Aug 30 '10 at 7:17
I liked your solution the most - thank you – Tal Galili Aug 30 '10 at 18:06
feedback

Ghostscript also can convert PDFs to EPS:

gswin32c.exe ^
  -o output.eps ^
  -sDEVICE=epswrite ^
  d:/path/to/input.pdf

If Ghostscript's default media size (which is letter) doesn't match your needs, you can specify any other one like that:

gswin32c.exe ^
  -o output.eps ^
  -sDEVICE=epswrite ^
  -sPAPERSIZE=a5 ^
  d:/path/to/input.ps

A list of PAPERSIZE-values known to Ghostscript is here. Even more fine-tuned control you can gain by using -dDEVICEWIDTHPOINTS=w -dDEVICEHEIGHTPOINTS=h like this:

gswin32c.exe ^
  -o output.eps ^
  -sDEVICE=epswrite ^
  -dDEVICEWIDTHPOINTS=175 ^
  -dDEVICEHEIGHTPOINTS=267 ^
  d:/path/to/input.pdf

Width and height are given in 'points' (72 pt == 1 inch). OK, but now you have multi-page PDFs and EPS inherently is a 1-page format only? Additionally, you want to shift images to the left and to the top? Try this:

gswin32c.exe ^
  -o input_page_%03d.eps ^
  -sDEVICE=epswrite ^
  -dDEVICEWIDTHPOINTS=227 ^
  -dDEVICEHEIGHTPOINTS=354 ^
  -dPDFFitPage ^
  -c "<</PageOffset [-72 100]>> setpagedevice" ^
  d:/path/to/input.pdf

For each PDF page Ghostscript will create a separate EPS file, named input_page_001.eps, input_page_002.eps, etc.

link|improve this answer
Thank you for very nice answer. Is there a way to set the resolution to 300 dpi and make the width/height calculate automatically? – nimcap Mar 14 '11 at 13:45
feedback

There are several options that I have found: The first is an online solution where you upload the file and then download it as a zip file. The second is a piece of software where you purchase it and then download the software. Hope that these lead you in the right direction.

link|improve this answer
feedback

Adobe lets you download a free postscript driver:

http://www.adobe.com/support/downloads/product.jsp?product=pdrv&platform=win

Frankly, I used to use that quite a while ago, but it used to work fine back then.

link|improve this answer
Thank you, but I wasn't able to make it work as a virtual printer (I found tutorials for it, but it looked as too much of a pain) – Tal Galili Aug 30 '10 at 18:05
feedback

Your Answer

 
or
required, but never shown

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