Redactuk Posted July 16, 2008 Share Posted July 16, 2008 Since 3.6.2 a line and page numbers have suddenly appeared on PDF invoices, even though I have no code in pdfconfig for them. How can I remove this or better still specify some changes to what is displayed? Thanks 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted July 16, 2008 WHMCS CEO Share Posted July 16, 2008 It's the default in the latest TCPDF release. It can't be customised but it can be turned off with the following line in the PDF configuration file. $pdf->setPrintFooter(false); Matt 0 Quote Link to comment Share on other sites More sharing options...
penguin Posted July 16, 2008 Share Posted July 16, 2008 Thanks for that Matt - we also had an issue with invoices being generated over 5 pages since upgrading to 3.6.2, however this now makes sence why as it was being corrupted by the page numbering at the bottom. 0 Quote Link to comment Share on other sites More sharing options...
Redactuk Posted July 22, 2008 Author Share Posted July 22, 2008 Thanks for response. Yes that worked. 0 Quote Link to comment Share on other sites More sharing options...
gmorales Posted August 16, 2010 Share Posted August 16, 2010 I do not find a way so setup correctly the bottom of my PDF invoice. I took off the footer : $pdf->setPrintFooter(false); and want to replace it with my company address. But then, I always have a minimum of 50mm of margin at the bottom of the page. How can I fine-tune the placement of 3 lines of text at the bottom of the invoicepdf.tpl file? 0 Quote Link to comment Share on other sites More sharing options...
lightbeing creations Posted August 21, 2010 Share Posted August 21, 2010 Where do I find the code to edit the invoice footer as this thread talks about a PDF configuration file and I can only find \templates\portal\invoicepdf.tpl which has nothing about footers in? 0 Quote Link to comment Share on other sites More sharing options...
striddy Posted August 21, 2010 Share Posted August 21, 2010 Where do I find the code to edit the invoice footer as this thread talks about a PDF configuration file and I can only find \templates\portal\invoicepdf.tpl which has nothing about footers in? http://wiki.whmcs.com/PDF_Invoice 0 Quote Link to comment Share on other sites More sharing options...
lightbeing creations Posted August 21, 2010 Share Posted August 21, 2010 Yep, I've read that page and that's how I found invoicepdf.tpl but there's no reference to $pdf->setPrintFooter(false); in it. Do I need to add that line to invoicepdf.tpl and if so quite where? That line will then call the footer and add it to the invoice, but how do actually edit the contents of the footer? I'm looking to add company url and some set text 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.