Jump to content

Where is Footer for PDF Invoices??


Recommended Posts

I noticed it is not possible to have footer in the PDF invoices any more.


Few months ago, in older version, I was able to have page number etc in footer.


Now some text appears at the end of invoice "PDF Generated on xxx", but there is nothing shown on footer.


Any suggestion how to put something on footer that appears on every page?

Link to comment
Share on other sites

We are able to show some content in footer by putting this statement on top of the tpl file:




However, now the content of footer overlaps over the body content on the lower side of the page.

Probably we need to change page height now.

How to do that?

Anybody please?

Edited by whmcexperts
Link to comment
Share on other sites

You need to set where you want your page breaks to occur. For example, if your footer is 20mm high, then you need to break your page somewhere before that.


Add this to your pdf template file and set the number to something suitable:




Also, you can extend TCPDF class and change Header and Footer to whatever you need.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated