Installing the mPDF library

The Print manager v1.0 add-on requires the mPDF library to be installed on your server.

These instructions have been tested on a web host which has cPanel.

Follow these steps:
  1. Create a directory called misc in your public_html directory.
  2. Log into your server using SSH. Important, do not log into SSH as root, log in as cPanel user.
  3. Navigate to the misc directory.
  4. Enter the following command composer require mpdf/mpdf
  5. Composer will install the mPDF library.
A new directory called vendor contains the files needed to use mPDF.

Example of the vendor directory.