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.

Reference

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.

Released:

Html2pdf Php Library

Wkhtmltopdf wrapper

Project description

html2pdf

A simple python wrapper for wkhtmltopdf forked from python-wkhtmltopdf

Requirements

System:

Html2pdf Converter

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

Installation

wkhtmltopdf (Linux)

  1. Install Xvfd:

  2. Install Fonts:

  3. Diablo 2 blood raven. Install wkhtmltopdf:

python-wkhtmltopdf (Any Platform)

  1. Development:

  2. PIP:

Usage

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)

Authors:

  • Luis Fernando Barrera (luisfernando@informind.com) @joyinsky

Forked from wkhtmltopdf- Jonathan Bydendyk (jpbydendyk@gmail.com)

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
Close

Hashes for html2pdf-0.1.tar.gz

Html2pdf Download SourceForge.net

Hashes for html2pdf-0.1.tar.gz
AlgorithmHash digest
SHA256a8876811688017c24636f36b90cadd423c9c324882b5a8369e1bf2a7b2181657
MD5306628fa8430088660bf2972006b8d1f
BLAKE2-2563993171be713822899173eb02698ab7a45fd3511588d34c81e648503ef19ff2e