Download free RSForm Pro - PDF plugin (Attach an automatically generated PDF to an email)
Once the plugin has been installed and published, the following configuration parameters are available within the Components > RSForm!Pro > Configuration > PDF area:
- PDF Library: DomPDF v2 / DomPDF v3 / mPDF. By default this is set to dompdf and there's usually no need to change it. If however you need RTL orientation in your PDF file, or proper display for certain languages like Arabic, then switch it to mPDF instead (this will be initially greyed out as you'll need to firstly include the mPDF library).
- Font (only provided for the dompdf library): the font type that will be used to generate the PDF files
- Orientation: sheet orientation - portrait / landscape
- Paper Size: the paper format, e.g. A4
- Allow Remote Resources (only provided for the dompdf library): if enabled, the PDF library will allow specifying remote resources (such as images, stylesheets) in your HTML code. For example, specifying src='http://www.somesite.com/someimage.jpg' in your img tag means the image will be downloaded on your server (please use this with caution). Note that you don't necessarily need to have this enabled to have images in your PDF body, as a specialized placeholder is provided instead when specifying your image path.