Jump to content

split JasperPrint into different objects


asuccar

Recommended Posts

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Hi you can split your JasperPrint with parsing the elements and export each range of JRPrintPage into different PDFs for example.

I do so to split a multi records datasheet report containing several pages for different serial-numbers intp single PDF files.

So I add an hidden field (textcolor white) in the PageFooter band, for each change of the content of this hidden field I do generate a new PDF. (e.g. the whole JasperPrint object get 50 pages... each serial-number took 2 pages... so I get 25 PDF files. :-)

 

hth + regards from Germany

C-Box

 

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