pagination problem

Hi guys,

I have a (print) report with two areas.
There must be a page break between the areas.
Both areas themselves do not have a fixed page layout.

Use case:
Imagine a receipt - a small strip of paper of variable length.
The customer receives part 1, the cashier keeps part 2.

Problem:
Both parts are of different lengths and should not have breaks.
That's why I set ignore pagination = true.
I added the following report property manually
    <property name="net.sf.jasperreports.page.break.no.pagination" value="apply"/>
and added a break element in the summary band.
Surprise - the viewer displays two pages, but both are blank.

Hope for help

joerg.behrend's picture
Joined: Aug 29 2022 - 3:38am
Last seen: 8 months 3 weeks ago

I'm using Jaspersoft Studio 6.18.1 and 6.9.0 - the problem is in both versions.

joerg.behrend - 9 months 5 days ago

I think what you are trying to create requires two different page sizes in one report which as far as I know is not possible.

zellers - 9 months 4 days ago

2 Answers:

I most likely do not understand your requirements.
However, you can use the 'Report Books' feature to achieve page-by-page resizing.

* Manual
https://community.jaspersoft.com/documentation/tibco-jaspersoft-studio-u...

* YouTube
https://www.youtube.com/watch?v=XGphyLT3RSk

 

 

yama818's picture
6709
Joined: Aug 17 2018 - 3:48pm
Last seen: 1 month 2 weeks ago

I have never used ReportBooks before.
But it works fine! Thank a lot yama818

However, I had to make an additional extension in the jasper_extensions.properties file
--> see here: https://stackoverflow.com/questions/67900913/jasper-report-no-part-compo...

joerg.behrend's picture
Joined: Aug 29 2022 - 3:38am
Last seen: 8 months 3 weeks ago
Feedback
randomness