How to remove blank page in jasper report when using page break

I need to add a page break in subsection A so that sub-report B starts on a new page. And the lines in subparagraph A are not defined. Thus, sometimes there is a gap between subresource A and subsection B.

Question: how to avoid an unwanted blank page? I know that there is a “print when” property for page tearing, but I cannot determine the correct state.

could you help me?

+4
source share
2 answers

You should place the page break exactly at the bottom of the bar. Example: if the “Details 1” bar has a height of 100: the page break height (on part 1) is 99, and the page break height is 1.

+1
source

Maybe the "When there is no data - no pages" property may solve your problem.

0
source

Source: https://habr.com/ru/post/1383579/


All Articles