elena03elena Posted March 24, 2014 Share Posted March 24, 2014 Hi,I am using IReport 5.1.0 . I have a report and I need to export each page in a separate pdf file. The name of the pdf file should also depend on a parameter, the contract_id.Is there a way to do this in Jasper without Java programming?Thanks! Link to comment Share on other sites More sharing options...
hozawa Posted March 24, 2014 Share Posted March 24, 2014 Unfortunately, I don't think there's a way to specify export file name using a parameter without programming. You probably want to show a pdf document on a web page so users won't be able to download the entire document at once. The way to do this is to put a web site before JasperReports Server and to a web service call to get each page in pdf format. You'll need to do some programming on a front end web site. Link to comment Share on other sites More sharing options...
elena03elena Posted March 25, 2014 Author Share Posted March 25, 2014 Hi,Thank you for your answer.In fact my issue is not about user permission. My report generates invoices and I need to save each in a separate pdf. If there is something that I can insert in the XML file. ...Someone recommended JRExporterParameter.PAGE_INDEX export parameter but I do not know how to use it.http://community.jaspersoft.com/questions/518101/exporting-report-multiple-files Link to comment Share on other sites More sharing options...
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