This project has reached the end of its development. Feel free to browse the code, but please use other alternatives.
Open source PDF generation for Pressbooks via the mPDF library.
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.
IMPORTANT!
You must first install Pressbooks. This plugin won't work without it. The Pressbooks github repository is updated frequently. Stay up to date.
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.
- cd /wp-content/plugins
git clone https://github.com/BCcampus/pressbooks-mpdf.git
- Activate the plugin at the network level, through the 'Plugins' menu in WordPress
- Navigate to the Network Admin -> Plugins
- Search for 'mPDF for Pressbooks'
- Click 'Network Activate'
- Upload
pressbooks-mpdf
to the/wp-content/plugins/
directory - Activate the plugin at the network level, through the 'Plugins' menu in WordPress
See: https://github.com/BCcampus/pressbooks-mpdf/commits/master for more detail
Pull requests are enthusiastically received and scrutinized for quality.
- The best way is to initiate a pull request on GitHub.