This script is for nBill version 3 and above ONLY. For older versions of nBill, please refer to the deprecated HTML2PS/PDF library.
If you want to be able to view or send your invoices as PDFs, you will need this additional library called DomPDF. This script was not included in the standard component installation, because it takes up a lot of disk space, and you only need it if you really need to print PDF versions of your invoices. There may also be security implications when using this library (see below).
Create the following folder on your website:
...and extract the contents of the zip file you downloaded into that folder. The PDF Preview button will then become available on the invoice list in the Administration area of the component.Please Note: The default DomPDF library as supplied on Github, includes sample scripts which are not recommended for publishing on a live website - they could easily be used by hackers and either hijacked (other people using your server resources for their own purposes), or used as the basis for a denial of service (DoS) attack. If you obtain a copy from Github, you should delete the www folder before publication. The zip file provided on this site has had these sample files removed for improved security. However, if you choose to use this script - whether downloaded from here or not - you do so entirely at your own risk. We have not thoroughly checked the security of each file in this large library - there may be security holes which could leave your website open to abuse. As this library is not authored by us, we have no direct control over the content or behaviour of the PDF production feature.
This is NOT an nBill extension and cannot be installed using the nBill extension installer, nor the Joomla installer. You have to physically copy the files into a folder as described above.