Tuesday, April 26, 2011

Generate Unicode PDF with Mpdf php Class

mPDF is a PHP class which generates PDF files from UTF-8 encoded HTML. It is based on FPDF and HTML2FPDF, with a number of enhancements.

mPDF to output PDF files 'on-the-fly' from my website, handling different languages. It is slower than the original scripts e.g. HTML2FPDF and produces larger files when using Unicode fonts, but support for CSS styles etc. has been much enhanced - see the features.

Please see the examples, and feel free to download it. There is quite an extensive online documentation

manual for mPDF. You may also find it helpful to visit the sites of FPDF and HTML2FPDF.

Download

Please see online documentation for further information, especially in User's Guide>>Installation & Setup
mPDF Version 5 is a major upgrade on previous versions with much simplified handling of fonts. Users of previous versions will need to download a full installation.
Please see the CHANGELOG and other files included with the downloaded files for further details.
Download mPDF Version 5.1 (2/3/11)
mPDF v5.1 Full installation - Download (.ZIP file 12.3MB)
mPDF v5.1 Upgrade from v5.0 - Download (.ZIP file 1.3MB)
Additional files for QR code installation (simply download and install in /qrcode/ folder). Copy of QR code class by Laurent Minguet. LGPL licence.  PHP5 required. Experimental at present. See the commented-out code in example 37 for usage - Download (.ZIP file 1.0MB)
============================================
mPDF Version 5.0 (18/10/10)
mPDF v5.0 Full installation - Download (.ZIP file 10.1MB)
============================================
mPDF Version 4.5 (21/04/10)
mPDF v4.5 Core files - Download (.ZIP file 17.7MB)
UPGRADE to v4.6 from version  4.5 - Download (.ZIP file 310kB)
Extra font files (v4.1+) - Download (.ZIP file 24.0MB) Updated with v4.5
(Contains extra files needed if using embedded font subsets - copy to /unifont/ folder)
Arabic languages (v4.2+) font pack - Download (.ZIP file 4.1MB) Updated with v4.5
(Contains all extra files needed if using arabic languages or scripts - copy to /unifont/ folder)
Indic languages (v4.1+) font pack - Download (.ZIP file 2.3MB) Updated with v4.5
(Contains all extra files needed if using Indic languages or scripts - copy to /unifont/ folder)
CJK languages (v4.2+) font pack - Download (.ZIP file 45.0MB) Updated with v4.5
(Contains all extra files needed if you want to embed CJK fonts - copy to /unifont/ folder)
============================================
Version 4 Upgrades

UPGRADE to v4.6 from version  4.5 - Download (.ZIP file 310kB)
UPGRADE to v4.5 from version  4.4 - Download (.ZIP file 289kB)
UPGRADE to v4.4 from version  4.3 - Download (.ZIP file 280kB)
UPGRADE to v4.3 from version  4.2 - Download (.ZIP file 284kB)
UPGRADE to v4.2 from version 4.1.1 - Download (.ZIP file 317kB)
Please read the on-line manual on Upgrading to 4.4.
(If upgrading from <version 4.1.1 you need to do a full install.)
============================================
Previous versions:
mPDF v4.4 - Download (.ZIP file 18MB)
mPDF v4.3 - Download (.ZIP file 18MB)
mPDF v4.2 - Download (.ZIP file 17.5MB)
mPDF v4.1.1 - Download (.ZIP file 17MB)
mPDF v3.2 - Download (.ZIP file 15.2MB)
mPDF v2.5 - Download (.ZIP file 14MB)

No comments:

Post a Comment