convert php output to pdf files

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • deepthipp
    New Member
    • Mar 2007
    • 11

    convert php output to pdf files

    i want to convert output as pdf formatt using php
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    Originally posted by deepthipp
    i want to convert output as pdf formatt using php
    Please next time use a title that best describes your problem.

    Try this link.

    Comment

    • bergy
      New Member
      • Mar 2007
      • 89

      #3
      There is an amazing class called FPDF that will allow you to generate PDF files in PHP. It's very easy to use and well documented. I've never used Zend before so I thought I'd share the way I do it.

      Here's a link to check out:

      http://www.fpdf.org/

      Also, if you'd like to import existing PDFs and modify them check out this addon to FPDF called FPDI. You can take any PDF file, import it to the class and start writing on it.

      http://fpdi.setasign.d e/

      Comment

      • ronverdonk
        Recognized Expert Specialist
        • Jul 2006
        • 4259

        #4
        In addition to bergy's post: I am also an FPDF user and I just want to show what is possible with this very useful package:
        Originally posted by fpdf class
        FPDF is a class to generate PDF files with straight PHP, that is to say without using the PDFlib library. Here is a list of version 1.5 main 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 and encoding support (Central European, Cyrillic and Greek)
        - Page compression
        Ronald :cool:

        Comment

        Working...