Html2pdf Php Library

LibraryLatest version

Html2Pdf is a HTML to PDF converter written in PHP5 (it uses TCPDF). OFFICIAL PACKAGE Latest release v5.2.2 - Updated Mar 22, 2020 - 990 stars.


HTML2PDF library is a collection of three classes namely PDF, HTML2FPDF and FPDF. The FPDF class of HTML2PDF is basically a modified version of original FPDF class. These classes are inherited classes with PDF class extending HTML2FPDF class, which in turn extends the FPDF class. Then, there is PDF PHP, which is just a wrapper of ezPDF. Features Uses the html2ps PHP library which is itself a wrapper around one of several backends. In this plugin, it uses, by default, the fpdf backend. Handles different languages (it bundles the large, but relatively complete arialuni.ttf font). Spiritix/php-chrome-html2pdf A PHP library for converting HTML to PDF using Google Chrome Latest release v1.5.1 - Updated Sep 1, 2020 - 34 stars.


Html2pdf Php Library

Wkhtmltopdf wrapper

Project description


A simple python wrapper for wkhtmltopdf forked from python-wkhtmltopdf



Html2pdf Converter

  • Linux 32/64 or OSX only (Windows is not supported at this stage)
  • Xvfd
  • wkhtmltopdf
  • python 2.5+


wkhtmltopdf (Linux)

  1. Install Xvfd:

  2. Install Fonts:

  3. Diablo 2 blood raven. Install wkhtmltopdf:

python-wkhtmltopdf (Any Platform)

  1. Development:

  2. PIP:


Required Arguments:

  • url - the url to convert to pdf
  • output_file - the pdf file that you want to create

Optional Arguments:

  • enable-plugins (default: True)
  • disable-javascript (default: False)
  • no-background (default: False)
  • grayscale (default: False)
  • orientation (default: Portrait)
  • dpi (default: 100)
  • username (default: None)
  • password (default: None)
  • margin-bottom (default: 10)
  • margin-top (default: 10)
  • margin-left (default: 10)
  • margin-right (default: 10)
  • disable-smart-shrinking (default: False)


  • Luis Fernando Barrera ( @joyinsky

Forked from wkhtmltopdf- Jonathan Bydendyk (

Release historyRelease notifications RSS feed

Html2pdf ยท PyPI

Download files

Html2pdf.class.php Download

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for html2pdf, version 0.1
Filename, sizeFile typePython versionUpload dateHashes
Filename, size html2pdf-0.1.tar.gz (5.1 kB) File type Source Python version None Upload dateHashes

Hashes for html2pdf-0.1.tar.gz

Html2pdf Download

Hashes for html2pdf-0.1.tar.gz
AlgorithmHash digest