I want to create a multipage PDF report using iReport.
When I'm designing in iReport it crosses A4 page size. If I increase page height, it prints out empty space in the page. How can I create a multi-page report?
The resulting report:
I am using bellow code and its works perfect for me. You may also try this code.
<detail>
<band height="802" splitType="Stretch">
// page 1 design here
</band>
<band height="802" splitType="Stretch">
// page 2 design here
</band>
<band height="802" splitType="Stretch">
// page 3 design here
</band>
</detail>
pageHeight
of jasperReport
tag for this setup.
In common properties of main report there is page setup option. There you provide the page dimensions which you want in your output. Also ignore pagination flag should be set to false
jrxml
file and the screenshot of report's design you want?multi-page
report? JR automatically creates new page