How to create page footer only on first and second page

0

Hi, 

I have problem with footers. I want to create footer only on first and second page but when I used printWhenExpression on third page there is a blank space in place of footer.

Any idea how do it well? 

I'm using JasperResports in version  6.1.1

marcin11858's picture
Joined: Jan 31 2019 - 5:06am
Last seen: 8 months 2 weeks ago

2 Answers:

0

Hi there -

There an out of the box variable for this -- see below --  you can modify this as needed.  Navigate to the Page Header properties (see Properties panel) and look for Print When Expression text field, which is under the Appearance button.   

$V{PAGE_NUMBER}.intValue()<2

This works on the Page Footer band as well.

Thanks.

 

H Mendoza's picture
351
Joined: Feb 20 2013 - 11:39am
Last seen: 4 months 1 week ago
0

Hi, But this not working because on third page I have empty space in footer place. Do you have any idea how to remove this empty space on third page? 

marcin11858's picture
Joined: Jan 31 2019 - 5:06am
Last seen: 8 months 2 weeks ago
Feedback