Print format repeat letter head

Greeting ,

I have this case " I want to add a letter head in my format in every page it should be show " I use many code but still show only in the first page :

page 2 :


Print headings can be configured using this guide:

[Print Headings](https:

Letter head :

it may help to say what Doctype the print format is associated with and what you have tried so far.

Add One Letter Head based on HTML.

<div class="col-xs-4 text-left" style="">
<img alt="Logo" height="75px" src="/files/mylogo1.png" width="45%">
HTML Code for Repeat Header
{%- macro add_header(page_num, max_pages, doc, letter_head, no_letterhead) -%}
{% if letter_head and not no_letterhead %}
<div class="letter-head">{{ letter_head }}</div>
{% endif %}
{%- if doc.meta.is_submittable and doc.docstatus==2-%}
<div class="alert alert-danger text-center">
    <h4 style="margin: 0px;">{{ _("CANCELLED") }}</h4></div>
{%- endif -%}
{% if max_pages > 1 %}
<p class="text-right">{{ _("Page #{0} of {1}").format(page_num, max_pages) }}</p>
{% endif %}
{%- endmacro -%}
{{ add_header(0,1,doc,letter_head, no_letterhead) }}
<div class="row">
<div class="col-xs-12 text-center" ><h3><label>Quotation					
        <div class="row">
        <div class="col-xs-2 text-right"><label>Quotation No.:</label></div>
        <div class="col-xs-6">{{ }} &nbsp; {{ doc.get_formatted("transaction_date") or ''}} </div>
        <div class="col-xs-2 text-right"><label>Valid Till :</label></div>
        <div class="col-xs-2"> {{ doc.get_formatted("valid_till") or ''}}</div>
    <div class="row">
        <div class="col-xs-2 text-right"><label>{{_("Customer")}} :</label></div>
        <div class="col-xs-6"><label>{{doc.customer_name}}</label></div>
<div class="row">
        <div class="col-xs-2 text-right"><label>{{ _("Contact")}} : </label></div>
        <div class="col-xs-6"><label>{{ doc.contact_display }} </label> </div>
<table class="table table-condensed table-hover table-bordered">
    {%- for row in doc.items -%}
        <td style="width: 35%; text-align: left;">{{ row.item_name or ''}}</td>
        <td style="width: 20%; text-align: center;">{{ row.qty or '' }}</td>
        <td style="width: 20%; text-align: center;"> {{ row.get_formatted("rate", doc) }}</td>
        <td style="width: 10%; text-align: right;">                
            {{ row.get_formatted("amount", doc) }} </td>
    {%- endfor -%}
<div class="page-break"></div>
{{ add_header(0,1,doc,letter_head, no_letterhead) }}
<h5>Terms & Conditions</h5>
 <div><p>{{doc.terms or ''}}</p></div>
<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>') }}