i want to convert output as pdf formatt using php
convert php output to pdf files
Collapse
X
-
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
-
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:
Ronald :cool:Originally posted by fpdf classFPDF 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 compressionComment
Comment