Skip to content
This repository has been archived by the owner. It is now read-only.
[UNMAINTAINED] open source HTML to PDF conversion
Branch: dev
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github update plugin name Feb 16, 2018
bin
inc/modules remove float until better css support Nov 22, 2018
tests scaffolding for unit tests, namespace, autoloader change (#32) Nov 10, 2017
.distignore travis config Jun 19, 2018
.editorconfig Compatibility with Pressbooks 4.0, fixes #19. Jul 9, 2017
.gitignore travis config Jun 19, 2018
.travis.yml Travis api key update (#78) Apr 15, 2019
LICENSE initial commit Nov 25, 2015
README.md Update README.md May 3, 2019
autoloader.php lower case boolean Jun 20, 2018
composer.json update author to org, travis Apr 11, 2019
composer.lock update author to org, travis Apr 11, 2019
hooks-admin.php update dependencies, version number, add filter Apr 9, 2019
phpcs.ruleset.xml update version, mpdf dep, phpcs ruleset Dec 20, 2018
phpunit.xml travis config Jun 19, 2018
pressbooks-mpdf.php update author to org, travis Apr 11, 2019
readme.txt update author to org, travis Apr 11, 2019

README.md

This project has reached the end of its development. Feel free to browse the code, but please use other alternatives.

mPDF for Pressbooks

Build Status

Open source PDF generation for Pressbooks via the mPDF library.

Description

mPDF is an open source PHP class that generates PDF files from HTML.

This plugin is an open source alternative for PDF generation if the license fee for PrinceXML is a barrier for users of Pressbooks.

Pressbooks is a requirement in order for this plugin to do anything useful.

Installation

IMPORTANT!

You must first install Pressbooks. This plugin won't work without it. The Pressbooks github repository is updated frequently. Stay up to date.

What is mPDF?

mPDF: A PHP library to generate PDF files from HTML with Unicode/UTF-8 and CJK support

It is based on FPDF and HTML2FPDF with a number of enhancements.

Using Git

  1. cd /wp-content/plugins
  2. git clone https://github.com/BCcampus/pressbooks-mpdf.git
  3. Activate the plugin at the network level, through the 'Plugins' menu in WordPress

OR, go to the WordPress Dashboard

  1. Navigate to the Network Admin -> Plugins
  2. Search for 'mPDF for Pressbooks'
  3. Click 'Network Activate'

OR, upload manually

  1. Upload pressbooks-mpdf to the /wp-content/plugins/ directory
  2. Activate the plugin at the network level, through the 'Plugins' menu in WordPress

Changelog

See: https://github.com/BCcampus/pressbooks-mpdf/commits/master for more detail

How to contribute code

Pull requests are enthusiastically received and scrutinized for quality.

  • The best way is to initiate a pull request on GitHub.
You can’t perform that action at this time.