Report starts a new page too early

Stimulsoft Reports.JAVA discussion
Post Reply
jdrc8
Posts: 3
Joined: Thu Mar 04, 2021 1:29 am

Report starts a new page too early

Post by jdrc8 »

I'm trying to generate a PDF report, but Stimulsoft is putting my data on a 2nd page even when it would still fit in my 1st page.

Image

Am I doing something wrong or is this a bug? Maybe it's because of my weird page size? (I'm trying to make something printable to a ticket)
Attachments
report_data.json
(9.96 KiB) Downloaded 186 times
report_prerender.mrt
(10.65 KiB) Downloaded 157 times
Lech Kulikowski
Posts: 6196
Joined: Tue Mar 20, 2018 5:34 am

Re: Report starts a new page too early

Post by Lech Kulikowski »

Hello,

Please set the CanShrink=true property for the Footer band.

Thank you.
jdrc8
Posts: 3
Joined: Thu Mar 04, 2021 1:29 am

Re: Report starts a new page too early

Post by jdrc8 »

Lech Kulikowski wrote: Thu Mar 25, 2021 9:38 pm Hello,

Please set the CanShrink=true property for the Footer band.

Thank you.
Thanks, but requirements are that the Footer band has to retain the size it had when designed. Can you explain why this can't be done with CanShrink=false ?
Lech Kulikowski
Posts: 6196
Joined: Tue Mar 20, 2018 5:34 am

Re: Report starts a new page too early

Post by Lech Kulikowski »

Hello,

In your reprot, for Footer are set CanShrin=false and CanBreak=false. In that case, the last records is placed on the second page.

Thank you.
Post Reply