E8.12 Print all summary lines in the current page or in next page

Rauf

VIP Member
In an invoice custom print, I print invoice summary in the invoice footer ( not report footer). In the summary section, I have five lines.
My issue is that, based on the number item lines in the invoice, the summary printing goes like un-formatted. I see the five lines as a single block. So if the first page can accommodate the block, I need to print it. Otherwise, the whole block should be printed on next page. How can I achieve this ?
 
Top