How to Convert PowerPoint to EPS Files

Introduction: How to Convert PowerPoint to EPS Files

This method works with pretty much anything from a Microsoft suite that you might want to print out and use in a LaTeX document. I really want to make a long story short on this one, if at all possible.

If you're reading this, then you have been troubled for long enough, so read on:

I've been trying to figure this out for a very long time and I finally have a perfectly free and efficient way of converting Powerpoint Presentations (.ppt) of figures, annotated graphs, etc to Encapsulated Postscript (.eps) files for use in LateX documents:

(I suspect that this works with the OpenOffice version of Powerpoint also, (Impress) for those that dont wanna feed the Microsoft beast any more than they have to.)

This is a product of years of tinkering. I am not aware of an easier/better way of doing this and am very proud of the results :)

In the next step, I list the programs we will need >>

Step 1: Things to Download

(1) First you will need a postscript printer. Luckily a virtual printer will do just fine, so go over to PDF995 and download the free PDF printer software.

Get the Pdf995 Printer Driver and Free Converter and install them both.

This will also give you the ability to save any document as a PDF file for free (niiiiice!) (borat rules):). The software is add supported (unobtrusive) and very reliable.

(2) Get Ghostscript and Ghostview. If you're looking to embed EPS images in a LaTeX file, you already have these. We will need it to define the bounding box of our .EPS file, once we export it out of Powerpoint. Here's the download link:

Download Ghostscript and Ghostview

(3) A LaTeX edittor is good to have. My favorite is TeXnicCenter. For the purposes of this instructable you can get away using Notepad, because we might need to make a small change to the header file of the exported EPS file.

Download TeXnicCenter

In the next step, we will configure Powerpoint to spit out EPS files >>

Step 2: Configure PowerPoint

The images speak louder than words here. Read on for a discussion and notes.

Fire up Powerpoint and adjust the page properties to reflect the size/scale that you want your eps image to have. This method will make an .eps file out of a whole slide, so make sure the scale fits your needs:

(1) 'File > Page Setup: Set Width and Height of Slide to your Penis size. In my case, 7 Inches.

Im just joking of course - hope noone takes offence, but this really is some boring stuff here! However, there is a sliver of truth to this step:

The bounding box for your eps image is likely to get messed up if you dont use a square page size that is very similar to the printing size of a normal page. Through trial and error I have found that 7 inches works for me, so from now on all of my images are perfect squares - to start off with - something I have found very easy to live with.

If you have a sketch already made, you should create a 10x10 slide and copy your sketch directly into it, instead of resizing the one its already on, because Powerpoint will just distort it. The size of the slide doesnt matter at all, we just want it to fit in the ppt.

In the final step we will see how to change the dimensions of the EPS file so there are no white borders, so dont worry about that.

(2) File > Print, select the PDF995 printer and put a tick on Print to File, as shown in the image.

(3) Click on the printer Properties > Advanced and change Paper/Output > Paper Size to PostScript Custom Page Size. Here enter the same page dimensions as you entered earlier in Step 1: 7x7 inches.

(4) Document Options > PostScript Options and set PostScript Output Option to Encapsulated PostScript (EPS) and PostScript Language Level to 1, as shown in the image. The last step is only needed if you are experiencing problems. I usally heave this at Level 3 - not sure what the difference is.

You're all done. Click: OK - OK - OK.

In the next step we create an vector drawing that we want to turn into an EPS>>

Step 3: Make Your Powerpoint Sketch

I think powerpoint is one of the best general drawing applications. Its not an image edittor or a graphing program, but something a little bit of both. I use it to make sketsches and outlines all the time.

I usually just copy and paste things into it, adjust them and then instead of exporting them (!), I take a screenshot and put them into Infanview and save it as a PNG. When I'm writing a LaTeX document however for school research or publishing a paper (Im a physicist), I always turn to Powerpoint, because I dont like Linux or Macs that much (but I appreciate them - so dont shoot!)

You do your own thing - Im just giving ideas here.

Once you're done, the usual matra: '

File > Print > Select "All files > Save your file as *.eps

(you dont want to print it as a prn file. That will confuse LaTeX sometimes, or whatever program you're using.)

In the next step we "print" out our ppt to an eps file >>

Step 4: Adjust the Size of Your EPS File (Bounding Box Hack)

In most cases you will have to trim some of the edges. This annoyed me for a very long time, until I went hacking the postscript. Once I thought of it, it took me 5 seconds to figure out what to do. Here's the story:

(1) Open your file in Ghostview. Point your crosshair at the lower left corner of the image as you want it to appear in your document. Write down those coordinates as shown.

(2) Do the same with the upper right corner of the image. Write down the coordinates.

(3) Leave the image open in GSView and open it in TeXnicCenter or Notepad also. The 6th line down, where it says bounding box define the lowerleft and upper right corner of the image, as it will be interpreted by the postscript compiler.

%%BoundingBox: 0 0 720 720

Enter the numbers you recorded here, in the format: LLx LLy URx URy

%%BoundingBox: 94 135 583 597

When you save it (press CTRL-S), ghostview will automatically update your changes - HOW AWSOME. You can now make adjustments on the fly, by changing the numbers if you didnt get it right the first time and checking the results instanteneously in GSView.

In the final step, we see our results and comment on the quality of this method >>

Step 5: Enjoy Your Beautiful Postscript Graphics

Open your file in Ghostview and see if you like it.

In anticipation of people telling me that I can just use GIMP to save images as EPS files, I have included an image here showing the difference between the two. GIMP converts to Bitmap before saving as EPS. The purpose of this instructable is to show you how to perserve the vector nature of the graphics and fonts. The image says it all.

The size of the eps file is significantly smaller than that of a bitmap>eps file. This will make your final PS or PDF file proportionally smaller also, in addition to it being absolutely beautiful.

I've struggled through graduate school, wasting many precious hours of tinkering with images to get them perfect. After a long long road and comparing results between many graphics programs (Photoshop, Paint Shop Pro, GIMP) I finally have a dependable way of getting my PPT outlines and sketches into Latex documents.

I have been told that Illustrator does a good job exporting vector graphics, but I dont own it to test it out. Maybe someone can report on its usefulness, especially when converting from PPT or other vector drawing packages (is there one easier to use that Powerpoint?)

Zoom in using the magnificentation tool and bask in the beauty of postscript rendered vector graphics and text! No more compression artifacts. No more resize pixelations. You are now... my friend... a typesetting GOD!

Thank you for reading. I hope you find this helpful. All comments welcome.

Be the First to Share


    • Laser Challenge

      Laser Challenge
    • Unusual Uses Contest

      Unusual Uses Contest
    • Hide It Challenge

      Hide It Challenge



    12 years ago on Introduction

    Why not just make your graphs in a vector program (there are free ones, lots of them. GIMP would even do this. It looks like you have anti-aliasing turned off. Photoshop stuff will look the same way if you dont have AA on.) and save it as an eps if you actually need an eps. Powerpoint isnt a design tool.


    Reply 12 years ago on Introduction

    I have played with several vector programs and they all have a fair learning curve. Yes there are a lot of free ones and I've tried most of them. GIMP does have antialiasing on. If you zoom into the image however, after exporting it to eps, you still see the artifacts shown in the last step (the jagged edges). In addition, powerpoint is just so easy to use and works very well for quick design, outlines, flowcharts and the likes (see the silly once I made in step 3). And my LaTeX files come out fantastic, images resized to any dimension. If not anything else, this method can be used when you dont want to learn any extra programs, or when you already have some powerpoint designs you want to use in a postscript file. We adapt and recycle here. PPT can of course be used for designing, just like MSpaint can.


    Reply 12 years ago on Introduction

    Thanks for the solution. Unfortunately I now have an annoyance to deal with - when I generate the .eps file, it produces some font-related dialogue that causes MikTex to bomb. Luckily I discovered that if the offending lines are removed from the .dvi file, I get a high-quality image that so far I can't detect differences in. Here is an example of the offending occurrence, which can be removed: /TTFF566BE0t00 /Font G2UBegin /g18 <0043> def /g381 <006F> def /g374 <006E> def /g410 <0074> def /g349 <0069> def /g437 <0075> def /g373 <006D> def G2UEnd Several similar blocks occur in my .dvi files. If you have ideas about how to prevent their occurrence, I would love to hear it. In the meantime, it is working (albeit with some editing required), looks great, and I now have a new pdf print capability, so it is all great. Thanks! BTW, I have discoverd I can also use CorelDraw and export a .eps file, but it needs to be the right size image (I use the cropping function) to work with MikTex/WinEdt. I like using Powerpoint not only because it is simple, but because I can use Equation Editor and/or transfer drawings/equations from MSWord and, unlike with the use of other products, they actually print in the .eps file.


    Reply 12 years ago on Introduction

    Miktex bombs? That's impossible! LOL! Yeah I too have come across numerous problems relating to compiling anything and they are usually version related. My advice is to first do some maintainance: update miktex to latest version, set miktex options to automatically download missing libraries and do a full update on the fonts. There may be a problem getting miktex to identify the fonts bedded into the .eps file that is exported from PPT, so make sure the latest postscript fonts are installed for use in Office. Then check the step where you set the postscript output to level 1 or 2 (play with these) and see if the paticular font you use is better expressed/embedded on one of those two levels. Get back to me after and we'll see if we can hammer this out further. Btw: I use texniccenter. Not sure if this changes anything.


    Reply 12 years ago on Introduction

    Thanks! - I seem to be finding that ps level 3 works (at least in the couple of instances I have tried since writing the earlier comment) without the added garbage.