Table of Contents
The General Settings tab controls the core functionality and advanced technical
options for the plugin.
General Options #
| Setting | Description |
|---|---|
| Enable plugin | The master toggle to activate or deactivate the PDF generation functionality across your store. |
| Total documents | Defines the number of different document types (e.g., Invoice, Packing Slip, Credit Note) you wish to configure and support. |
Advanced Options #
These settings manage the underlying PDF generation library (TCPDF) and
compatibility features:
| Setting | Description |
|---|---|
| Shortcode prefix | Allows you to set a custom prefix (e.g., pdf_) for allplugin shortcodes to prevent conflicts with other plugins. |
| Suppress errors | (Recommended) Hides PHP error messages that may occur during PDF generation, ensuring a clean experience for your customers. |
| Use custom config | Enables the use of a custom settings file for the TCPDF library, offering deeper control over PDF rendering. |
| Set default images directory | (Recommended) Sets the WordPress uploads folder as the default directory for images, allowing you to use image shortcodes without specifying the full URL. |
| Early TCPDF load | Forces the TCPDF library to load earlier in the WordPress execution cycle, which can resolve compatibility issues with certain themes or plugins. |
| Use Print.js | Enables the use of the Print.js library for a cleaner, browser-based printing experience without opening the PDF in a new tab. |
| Use monospace font | Applies a monospace font to the HTML content fields in the admin area, improving the readability of code and structured text. |