PDF Generation Using Only PHP

PDF Generation Using Only PHP. I'm a fan of people who can pick apart a spec and make a free, scripted API out of it. I once came up with a hackish way of reading SWF files using ASP but ran into trouble when they implemented zlib compression as of Flash 6.

Published January 25, 2006 · Updated September 14, 2006
Categorized as Quick Links
Short URL: https://snook.ca/s/511


8 Comments · RSS feed
Link said on January 25, 2006

I've always been partial to FPDF, but I've tried other options with mixed results.

Bolton said on January 25, 2006

PDFLib works well, although it costs money

Albert said on January 26, 2006

What about FOP?

I've tried pdfLib and FPDF and currently am investigating the possibilities of this Apache module.

Jules said on January 26, 2006

Shouldn't you have linked to Part 1 of the 2-part tutorial?

Interesting concept - kinda brings back the "Print Version" link.

Fox said on January 27, 2006

Foxit PDF-Reader fo free


Your experience?

Jonathan said on January 28, 2006

Great find! Thanks for sharing.

Fox said on January 29, 2006

"Great find! Thanks for sharing."

You mean: Foxit PDF-Reader fo free?

By the way Jonathan:

how did you do the selected text styling?

Jonathan Snook said on January 29, 2006

Fox: selected text styling is a side effect of the background colour. The background colour gets covered by the background image but the browser uses the colour and not the image to determine the selection colour. Purely unintentional on my behalf.

Sorry, comments are closed for this post. If you have any further questions or comments, feel free to send them to me directly.