Automatically Create PDF Files from WordPress Forms
With ez Form Calculator, it is possible to create PDF files from WordPress form submissions with custom content. The generated PDF files can be saved and attached in emails. You can even use shortcodes in the PDF content.
PDF Features
- Automatically generate PDF files from submissions
- Save PDF files on the webserver
- Attach PDF files to emails
- Shortcodes can be used in the PDF content
- Page orientation can be set to portrait or landscape
- Page size can be changed to A4, A5 and more
- Add your own CSS styles to PDF files
- Custom content can be set for each form
- PDF filename can be set individually
Plugin PDF Setup
In order to enable PDF integration, please follow these steps:
- In the WordPress dashboard, click on Global settings in the ez Form Calculator menu
- Select the PDF tab
- (optional) Set Save PDF files to Yes if you want to store PDF files on your webserver. This is not necessary if you only want to send them through emails.
- PDF files will be stored in /wp-content/uploads/ezfc-pdf/
- Go to the main page of ez Form Calculator, select a form and open up the form options
- Select the PDF tab
- Set Enable PDF integration to Yes
- Set Send PDF to admin to Yes (a valid email is required in the Email recipient form option)
- Change the PDF text to your desire
Support for CJK Character Fonts
The default font is DejaVu Sans which doesn’t support CJK characters. In order to add support for Chinese, Japanese and Korean fonts, you have to upload a font that supports CJK characters (e.g. FireFly Sung) to your website and add the following code into the “PDF CSS Styles” option in the global settings (PDF section):
1 2 3 4 5 6 7 8 9 10 |
@font-face { font-family: 'Firefly Sung'; font-style: normal; font-weight: 400; src: url("http://your-website.com/fireflysung.ttf") format('truetype'); } * { font-family: Firefly Sung, DejaVu Sans, sans-serif !important; } |