March 07, 2003
Handmade Flash2PDF

First of all: Kudos to Gregg Wygonik for his great Flash to PDF class! Check out his site dedicated to the subject: and do not miss his blog

There is one aspect in the latest Flash2PDF craze which I wonder why nobody has mentioned it yet: Flash has already a perfect PDF export class built into it and not only since MX. It is called print().

Yes, I know it is definitely not the same thing, especially if you want to produce downloadable PDFs on-the-fly, but if you are only interested in a way to export your flash data on your own machine you should really have a look at it.

Of course you will need an additional tool: a PDF printer driver. They come in two flavours, the commercial Adobe Acrobat version or the completely free way via Ghostscript. Unfortunately free means a little bit more hand work, but I managed to set the whole thing up in 15 Minutes. Plus now I can also export to EPS, JPEG and PNG.

I just found out that there is a little free tool that makes the whole installation even easier: PDF Ghoscript Tool by MAST. It looks like they have managed to assemble all the needed Parts on their site.

There are some other sources on how to install a free PDF printer driver: [1] [2] [3]

Posted at March 07, 2003 06:40 PM | Further reading

It can be done in a SWF than runs on Mac 9.x or MAC OSX?

Thank you

Posted by: Elies Xandri on May 24, 2004 07:30 PM

Dear Mario Klingemann,
Is possible to see whole working sorce for flash2pdf . Your published code at
looks good, but it does'nt work at my server.

it works till i want to save it, it's not possible. But if I just press open " test.pdf" then test.pdf is opening (file download window is opened twice)but when pdf file "test.pdf" is loading it's writing error that file is corupted or it was sent like attachment in email and it was not corectlly decoded.

would you be so kind and help me with that?

Posted by: jano on January 22, 2005 08:45 PM


Can you please guide me how to export EPS from flash ?

I'm also trying to insert a loaded image file in PDF.. :S.,.. but still cant get it done..

any suggestions.. ?

Posted by: Faheem on February 9, 2005 10:57 PM
Post a comment

Email Address:



Remember info?

Thank you!

Most Visited Entries
Sketches, Works & Source Code
In Love with
Powered by
Movable Type 2.661

© Copyright Mario Klingemann

Syndicate this site:
RSS 1.0 - RSS 2.0

Quasimondo @ flickr
Quasimondo @ LinkedIn
Quasimondo @ Twitter
Quasimondo @ Facebook
Quasimondo @ MySpace
Quasimondo is a Bright
Citizen of the TRansnational Republic
My other blog in german

My family name is written Klingemann,
not Klingelmann, Klingeman, Klingaman, Kingemann,
Kindermann, Killingaman, Klingman, Klingmann, Klingonman
Klingemman, Cleangerman, Klingerman or Kleangerman

profile for Quasimondo at Stack Overflow, Q&A for professional and enthusiast programmers