How to add page break on custome print format?

How to add page break on custome print format?

<div class="page-break"></div>

it will add page break after this.

2 Likes

Hi,

Can’t get this working.

Could you please explain with an example?

Many thanks in advance and kind regards

@revant_one are you sure this will work for custom print format?

Also take note this only works for pdf format not the default HTML one.

As per my experience for page break

<div class="page-break"></div> 

Works only if we create format from the print format doctype i.e Setup > Print Format > New

If we create print format using the edit button for standard and than create new format, Than the above div page break won’t work.

Thanks

2 Likes

Thank you so much.
It works.