Repeat invoice header with multiple pages

I need to repeat the header of the invoice template when multiple pages are available. What is the setting to get this done? Can some one assist?

Go to Setup -> Print Settings. Check Repeat Header and Footer in PDF.

1 Like

@KanchanChauhan

Is it possible to repeat the customer name, address, document details in every page?
As of now, we have our company name and logo repeating in all pages as its a static information.
Most of our invoices and other documents are larger than a single page. In this case we really require to have the document details get repeated in all pages. Otherwise there is no legal validity for the pages after the first page.

Thanks
Fasil.

I need same your request in Erpnext .
If there any body can help us about that the feature.

Hi, if the printing is done with the Format Designer, it’s like it says KanchanChauhan

If it is done in HTML you must put an id in the header and footer.

<header id="header-html">

Same for the footer

<footer id="footer-html">

Regards

Can u give me full html example please ?

Hi Mujahid

I have resolved this issue by having the document number as reference on
each page along with the page number.
The print space is getting very limited when repeating all the details on
each page.

KR Fasil.

Hi, for example in may header.

<header id="header-html">
  <table class="table table-bordered">
   <tr>
  <td class="text-center" width="15%">
    <img src="/files/logo-chico.png" width="100">
  </td>
  <td>
    <h5 class="text-center">INGRESO DE MUESTRAS</h5>
  </td>
  <td>
    <small>RG 046 <br>Rev. Nº: 05 <br>{{ _("Page {0} of {1}").format('<span class="page">.      </span>', '<span class="topage"></span>') }}<br> 02/01/2018</small>
     </td>
   </tr>
  </table>
  <p><small><b>Origen: PT 5.8 ¨Manipulación de las muestras¨</b></small></p>
 <div class="row">
 	<div class="col-xs-4">
	<p><u>ENVIO:</u> {{ doc.name }}</p>
	
</div>
<div class="col-xs-4">
	<p><u>PLANTA:</u> {{ doc.planta }}</p>
	
</div>
    <div class="col-xs-4">
      <p><u>Fecha Recepción:</u>{{ frappe.utils.formatdate(doc.fecha_ingreso, 'dd-MM-Y') }} </p>
   </div>
</div>
2 Likes