From version 4.1.8, in addition to DocRaptor, WatuPRO supports free PDF generation via the PDF Bridge plugin. It uses the MPDF library and is capable to parse rather complicated designs and texts different languages.
(Now also available for Namaste! LMS)
Note: this file is big and uploading through your WP Admin -> Plugins page may not work. In such case you need to upload the unzipped folder by FTP or upload the zip from your hosting control panel account.
Install the plugin and activate it. Then in your Certificates page, under the certificates you’ll see options to generate PDFs either through DocRaptor or the free plugin. That’s all you need to set up.
From PDF Bridge version 0.4 and WatuPRO version 220.127.116.11 and above you can also set up page size and orientation in the Add / Edit Certificate page:
From version 1.0 the bridge also supports placing a background image.
In Namaste! LMS these options will appear if you have installed PDF Bridge version 0.7 or newer.
- Images do not appear in certificate. Almost always this is a permissions issue with your server configuration: many webmasters or server admins make wp-content folder not accessible for scripts and MPDF can’t fetch the images from it. In such cases you should either remove the limitation (usually from your .htaccess file) or copy the images to the root of your site and change the paths in the certificate.
- Other design issues. MPDF library is capable to convert most properly written HTML code into PDF but there is no guarantee that every possible design will be converted. If you experience problems you need to check the MPDF documentation or try different approaches in your HTML code. We are not the authors of MPDF and can’t provide assistance with such issues.
Old PDF Bridge
The PDF Bridge version 0.2 uses the html2fpdf library and is much smaller – only 121 KB.
Note that it has some limitations:
- Currently it does not support non-English characters
- It won’t render well certificates with complicated design.
Download OLD PDF-Bridge Here (121 KB)