Answered
PDF export has white margins / padding
Created a Feature Request as my last comment was on the community forum.
We have issues with the PDF export adding a margin to the pages making it impossible to print. Is there anyone out there who can fix this? This plugin is using "tcpdf" to generate the output file, the script seems fairly simple from the FPD side in order-viewer.js - I assume it just needs either better options set up or a better PDF plugin.
Hi,
You can add an additional code in the following file : plugins/fancy-product-designer/admin/class-admin-ajax.php
Line 1077 just after this code :
$pdf = new TCPDF($orientation, 'mm', array($width, $height), true, 'UTF-8', false);
Add this :
$pdf->SetMargins(0, 0, 0, true);
$pdf->setPageOrientation($orientation, true, 0);
I think it could be part of the core plugin...