9/28/2023 0 Comments Html to pdf browser pluginWhen logging in with this password, you will have complete freedom in editing the PDF file. Owner Password (optional): Set a password that you can keep for yourself or other administrators.The options selected in the Allowed Options field (explained below) will be applied for users who view the file using this password. User Password (optional): Set a password that you can pass on to your users.You can use use standard HTML along with the usual RSform!Pro placeholders (listed by clicking on the Toggle Quick Add button) PDF Layout: allows you to specify the actual content and layout of the generated PDF file.File name: the name of the generated file.Attach to email: if enabled, the generated PDF file will be attached to the User / Admin email.Simple configuration options are available: The mPDF library can be then selected from the PDF Library option.Īccessing the User / Admin email configuration areas will reveal the PDF configuration area. You should end up with a folder named mpdf inside administrator/components/com_rsform/helpers/pdf/.Using your FTP account, place its contents under the following path (basically the following "pdf" folder should have a "mpdf" folder containing the mPDF library files):Īdministrator/components/com_rsform/helpers/pdf/ Before starting off, you should check its minimum requirements and limitations.ĭownload the mPDF archive from " My downloads" section > RSForm!Pro - Modules & Plugins > 3rd Party > " Library - mPDF" Download. The mPDF library has about 45MB, thus it is not included by default in the plugin's installation package this is provided as a separate download. One of the key features that determined the inclusion of this library is the fact that it supports the RTL orientation in the generated document. MPDF is an alternative to the default dompdf library that can be used to generate the PDF document. 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. For example, specifying src='' in your img tag means the image will be downloaded on your server (please use this with caution). ![]() 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.Orientation: sheet orientation - portrait / landscape.Font (only provided for the dompdf library): the font type that will be used to generate the PDF files.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). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |