Footer on very page in pdf of custom print format

How can I get footer on every page in pdf of my custom print format. Can someone suggest any solution or workaround for this.

Please check in the print settings

Hope this helps.

1 Like

@ArundhatiS Thanks for reply. I have tried using that settings, however that is not getting applied on my custom print formats. I have custom print format which is of about 15 to 20 pages, I want footer and page number on every page of my pdf. but not getting any success in that.

Deep T

hello @Deep
please add this in your custom print format,
first add in the footer in the letterhead

    <div id="footer-html" class="visible-pdf">
        {% if not no_letterhead and footer %}
        <div class="letter-head-footer">
            {{ footer }}
        {% endif %}
        <p class="text-center small page-number visible-pdf">
            {{ _("Page {0} of {1}").format('<span class="page"></span>', '<span class="topage"></span>') }}



Hello @sagar, thanks mate, this solved my issue. :grinning:
one more question if you can answer for me. I have a table of content in my pdf, now page number may vary so how to map correct page number with the table of content. do you know and work around for this.?

1 Like