First of all, this post is tailored to PHP developers out there or at least to anyone who’s interested to create an engine or a web application that can create PDF files.
If you are working in an I.T company that produces billing statements or even web reports, then you’d probably be asked to create PDF documents. That’s where you need a PDF creation engine, such as FPDF. It’s free (for both personal and commercial use)
Now, honestly, I haven’t tried FPDF yet. I knew this from a good friend of mine this morning. He needs to create billing statements for the company’s clients.
FPDF features:
- Choice of measure unit, page format and margins
- Page header and footer management
- Automatic page break
- Automatic line break and text justification
- Image support (JPEG and PNG)
- Colors
- Links
- TrueType, Type1 and encoding support
- Page compression
FPDF works for both PHP4 and PHP5 and doesn’t require you to install anything else (according to the author).
If you have used FPDF, please feel free to share your experience with us here on the comments section. To know more and download FPDF, go to their site here.
There is also a JAVA alternative, called iText. I’ve heard of iText a couple of years ago and it was still under heavy development at that time. I’m not sure how it is now, but if you want to give it a try, iText project site is located here.

|
Stay updated and get my latest posts delivered to you by subscribing to my main feed via email or your favorite feed reader. If you are a blogger, feel free to leave a trackback to this post.










FPDF is one of the better PDF-generating PHP libraries out there. I know, because I’ve gone through a few
i am working with php and the company required me to produce reports. i have read an article about fpdf, please help. is it really working?
Sorry I’m not sure, as I myself haven’t used FPDF before. I hope you can find better information out there!
Yep, it definitely works — I’ve used it for a number of web apps. It’s one of the more mature PDF libraries for PHP. Otherwise you could try the Zend Framework PDF module.