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

how to modify the page number


balase

Recommended Posts

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

What is exactly the question?

 

The last page number (or in other words the value of the current page number at the end of the report) can be printed in any page using a textfield with evaluation time set to "Report".

 

To print something like:

 

page x of y

 

you need two textfields, one to print x (that's the page number at evaluation time "now", and another to print y (that's the page number variable at evaluation time "Report").

 

Regards

 

Giulio

Link to comment
Share on other sites

Hi Giulio,

 

Thank you very much for your response.

 

I will make it much clear. Our concern is we have multiple pdf getting generated and finally we are merging all the pdf into a single pdf using JasperReport API. Now the problem is, how to identify which is the last page in the final pdf(the merged pdf) and the footer of this last page need to have "LP" along with the page number like "21 LP". (Assume 21 is the last page number of the merged pdf)

 

Thank you.

Best Regards,

bala.

Link to comment
Share on other sites

  • 7 years later...

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...