Page Break – Advanced PDF/HTML for Saved Search – labels
Hi – I am using a PDF/HTML to print Saved Search results for labels. Our labels can print 10 rows on a page.
Is there a way to do a page break? I had created this #if statement but not wroking:
<#if result?index %10 == 9 && result?index = records?size – 1><pbr /><#elseif result?index % 1 == 2 && result?index != records?size – 1><br />
</#if>
Hi,
I think you can simplify the if statement to this:
<#if result?index %10 == 9 && result?index != records?size - 1> <pbr /> <#else> <br /> </#if>
Thanks,
Chris