domenicomondi Posted May 18, 2017 Share Posted May 18, 2017 Hi, in my PHP application I call a report which I would return the number of printed pages to store it on a table in the database.Is it possible for a report to return values?Thank you Link to comment Share on other sites More sharing options...
hozawa Posted May 18, 2017 Share Posted May 18, 2017 Not sure about PHP but with Java sInce you're using JasperReports library, you should be able to get number of pages by following:List<JRPrintPage> pages = jasperPrint.getPages(); Link to comment Share on other sites More sharing options...
domenicomondi Posted May 18, 2017 Author Share Posted May 18, 2017 I use jrs-rest-php client to connect my php application with jaspersoft server and I haven't find nothing like this. 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