Veechaar-The Insight:A blog on Web2.0,Technology,Internet

June 18, 2009

How to generate pdf using php

If you want to generate PDF documents using PHP there is TCPPDF class.TCPPDF is an Open source PHP class for generating PDF documents.Beauty of this PHP Class is that it does not required any library for this purpose.
It is object oriented and provides nice documentation about how to use .
There are separate folder named “examples ” which guides the user.
Another important feature is the ability to generate various bar code.

Visit this link for more information TCPPDF. TCPPDF Documentation is the link for documentation.Though there are other alternatives like  FPDF,and  pdf factory,  but i would recommend TCPPDF for ease of use and support it provides.



  1. The only problem is with fonts with internationl chars you need to generate yourself

    Comment by — June 18, 2009 @ 10:12 am

  2. yeah you are right. but there is good support for fonts.even you can print in Arabic.

    Comment by pankaj sharma — June 19, 2009 @ 4:03 am

  3. i genuinely enjoy your own writing kind, very charming,
    don’t quit and keep writing simply because it just worth to look through it.
    impatient to browse far more of your content, stunning day!

    Comment by MymnTurnary — March 21, 2010 @ 1:22 pm

  4. thanks a lot for your appreciation.I would try to make it more better. 🙂

    Comment by The Insight — March 22, 2010 @ 10:08 am

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

Create a free website or blog at

%d bloggers like this: