Jump to content
We've recently updated our Privacy Statement, available here ×

Printing static text on back page of duplex report


barry-cw

Recommended Posts

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

But where would one place the break? In what panel?

 

I need a page header and footer on the 'even pages' where the entire contents of the even page (a full sheet of A4) is static text, then the detail continuing on onto the next odd page.

 

And the issue of having a full sheet of A4 might run into problems with band + margins exceeding page sizes? or will it work ok due to the break?

Link to comment
Share on other sites

Try adding a "Print When Expression" property to all report bands (and/or report elements within bands) based on $V{PAGE_COUNT} variable. When page count  is odd the expression should return true (and thus the bands should be printed), and when the page count is odd the expression should return false. The expression should be something like this:

new Boolean($V{PAGE_COUNT}.intValue() % 2 != 0)

Also add a static text to one of report bands and set an opposite "Print When Expression" for it, e.g.:

new Boolean($V{PAGE_COUNT}.intValue() % 2 == 0)

 

Hope this helps.

- Stas

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...