Hi,
I am on the latest version v14 of ERPNext and building a custom print format for appointment letters. But when I print or convert the document to PDF header only shows on 1st page and the footer on last page. I tried various suggestions in this forum, but unable to find a solution. Is this broken or I am missing something? Thanks for your help.
wkhtmltopdf has been updated to the latest 0.12.6-2 version.
in print setting I have enabled print header and footer setting.
{% if letter_head and not no_letterhead -%}
<div class="letter-head">{{ letter_head }}</div>
{%- endif %}
{{ content }}
<div id="footer-html" class="visible-pdf">
{% if footer and not no_letterhead %}
<div id="letter-head-footer">
{{ footer }}
</div>
{% endif %}
</div>