Page break doesn't work in JasperSoft Studio 6.8.0

I've a simple report with some subreports grouped in different Group Footer Band.

I've added a `break` element and set it on `Page` but when I print my report it remain in the previous page.

I've checked if my report has flagged `Ignore pagination` to `true` but this property has correctly set on `false`

This is the XML:

    <band height="37">
                    <reportElement x="0" y="0" width="555" height="1" isPrintInFirstWholeBand="true" uuid="61503c97-7733-47ee-aae7-69c630d30aab">
                        <property name="" value="px"/>
                    <reportElement x="1" y="0" width="555" height="17" uuid="9653033e-5aa8-4487-bdaa-5b6a64c73335"/>
                    <textElement verticalAlignment="Middle">
                        <font fontName="MyDejaVuSans" size="12" isBold="true"/>
                    <text><![CDATA[Dettaglio incertezze composte per contributo]]></text>
                    <reportElement isPrintRepeatedValues="false" x="1" y="17" width="555" height="18" uuid="fc2fe7e6-5acc-4438-aa5a-e0aff8083b59">
                        <property name="" value="px"/>
                    <subreportParameter name="ParametroAmbiente">
                    <subreportExpression><![CDATA[$P{SUBREPORT_DIR} + "rptDataIncSub.jasper"]]></subreportExpression>

Joe Taras's picture
Joined: Dec 3 2013 - 11:00am
Last seen: 8 months 2 weeks ago

3 Answers:

Hi dear,

Sorry for late response.

I've solved as follow:

I've changed the y position of my subreport element because goes in conflict with page break. So I put y = 1 and works fine.


Thank you for your response

Joe Taras's picture
Joined: Dec 3 2013 - 11:00am
Last seen: 8 months 2 weeks ago


Where exactly do you have this break on your report design? Do you have it set right before or after your group footer band? I would suggest adding the break before the group footer band to see if this accomplishes what you desire.



pjimenez_2's picture
Joined: Oct 26 2016 - 11:39am
Last seen: 18 hours 55 min ago

Try to uncheck the PrintInFirstWholeBand of the break element to check if the break will do it's job




C-Box's picture
Joined: Jul 19 2006 - 5:58pm
Last seen: 1 month 5 days ago