PHP some documentation on PHP generated PDF

Source: Internet
Author: User
Tags pdflib php class
http://www.fpdf.org/

FPDF is a PHP class which allows to generate PDF files with pure PHP, which is to saywithout using the Pdflib library. F from FPDF stands for free:you could use it for any kindof usage and modify it to suit your.

Html2fpdf

http://html2fpdf.sourceforge.net/

TCPDF


Characteristics
The tcpdf has the following characteristics:
1, support page footer;
2, support HTML tag code;
3, support jpg/png/gif/svg graphics image;
4, support forms;
5, support Chinese characters; (some PDF classes do not support English or Chinese is quite troublesome)
6, automatic paging, automatic page numbering, and so on.

http://sourceforge.net/projects/tcpdf/files/

http://www.tcpdf.org/

FPDF
FPDF This PHP class allows you to use pure PHP (or, more specifically, no pdflib) to generate PDF files. Features include: selectable unit size, page format and margins, header and footer management, automatic pagination, automatic line wrapping with text, support for JPEG and PNG image formats, support for coloring and file hyperlinks, support for truetype,type1 and encoding Support page compression.
Html2pdf
Html2pdf is able to convert an HTML text into a printer-friendly PDF file. This PHP script is built on top of the fpdf php script.

TCPDF
Tcpdf is a PHP5 function package that is used to quickly generate PDF files. Tcpdf is extended and improved based on fpdf. Support for utf-8,unicode,html and XHTML.
Html2ps
HTML2PS can convert HTML with images, complex tables (including Rowspan/colspan), Layer/div and CSS styles into PostScript and PDF. HTML2PS support for CSS2.1 is very good and is well compatible with incorrect HMTL. It is even able to convert almost CSS-based websites like msn.com.
Html_topdf
Html_topdf can convert any HTML document into a PDF document in the same format as the interface in any platform or printer. It includes support for image conversion, using style sheets to customize PDF files and error handling.

Cpdfwriter
Cpdfwriter is a PHP5 class capable of outputting PDF documents. Based on tcpdf,fpdf and other related scripts.
Dompdf
Dompdf is an HTML-to-PDF conversion tool. Its core is a rendering engine that follows most of the CSS2.1 style. The dompdf is style-driven and is capable of downloading and reading the style attributes of an external style, an entire style label, and a single HTML element. It also supports the majority of HTML attributes.

The above is about PHP generated PDF of some of the documentation, including aspects of the content, I hope to be interested in PHP tutorial friends helpful.

  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.