Creative Allsorts Posted March 19, 2015 Share Posted March 19, 2015 I have managed to modify my invoice (which I use as a packing slip with integrated postage labels) the way I want it, but since I upgraded to 1.6.0.12 I can't seem to get it the way it was. I've updated the invoice.tpl, header.tpl and footer.tpl and they look fine, but when I try to change the margins in writePage() function in /classes/pdf/PDFGenerator.php file for the header margin to 0 it still shows as a massive white space. I've attached a copy from our test environment to show. If anyone knows how to remove it let me know, as I've searched the forums and on Google but no one seems to have this problem, or has specified how they fixed it other than in PDFGenerator.php. Am I missing something? PS000001 (31).pdf Link to comment Share on other sites More sharing options...
Creative Allsorts Posted March 19, 2015 Author Share Posted March 19, 2015 Further more I have also changed the margins in tools/tcpdf/config/tcpdf_config.php to 0 but again it's not helped Link to comment Share on other sites More sharing options...
tuk66 Posted March 23, 2015 Share Posted March 23, 2015 You can change page margins in /classes/pdf/PDFGenerator.php::writePage method. Link to comment Share on other sites More sharing options...
Recommended Posts