AnnMary.Thomas Posted November 10, 2014 Posted November 10, 2014 I am combining multiple Jasper reports and exporting to single pdf file. But I also have a pdf file which I need to attach to the end of this report. I am currently combining all these jasper reports in to a List and exporting it. But how can I append a pdf file itself to that
hozawa Posted November 10, 2014 Posted November 10, 2014 Not sure what you're asking. Do you want to include the pdf file in a zip file with your other reports?
AnnMary.Thomas Posted November 12, 2014 Author Posted November 12, 2014 Hi hozawa,I shall explain with example. Say I have 2 jasper files, a.jasper and b.jasper. Now these 2 jasper files are exported as a pdf reportin one single pdf file. tht is Page 1 of the pdf will have a.jasper and page 2 will have b.jasper. Now this I have acheived this by usingJRExporter and passing a.jasper and b.jasper as a list. But there isone more pdf file itself say c.pdf ( not a jasper file, as this is provided by our customer and cannot be created as a japer).Now I want this c.pdf as the 3rd page of the exported pdf report...
rohitahuja123 Posted August 23, 2016 Posted August 23, 2016 Hi @AnnMary.Thomas, Did you got to append the c.pdf in your jasper file? I also have the same requirement. Thanks.
AnnMary.Thomas Posted August 24, 2016 Author Posted August 24, 2016 Please find the answer in the below link http://community.jaspersoft.com/questions/844705/how-attach-pdf-file-generated-jasper-report
AnnMary.Thomas Posted August 24, 2016 Author Posted August 24, 2016 Hi @rohitahuja, Yes I was able to. Please find the answer in the below link posted by me
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now