DPANSCIK Posted June 8, 2023 Share Posted June 8, 2023 I am a new Jaspersoft Studio user. I'm stuck trying to solve a problem.Below is a mockup of a report. This report will feed a shipping label printer.All the data stays the same (client name, Order #, Job Name, etc)The only change is the page count in the bottom right corner.I need to adjust the page count with a variable. For example if I change the variable to 10, jaspersoft spits out a 10 page report. If I change the variable to 3 then jaspersoft spits out a 3 page report. Etc...Ive got the form designed. I now need help to figure out the dynamic paging based on a variable. The variable I want to use is $V{PagesRequested}Can a person with more knowledge help me figure this out? Link to comment Share on other sites More sharing options...
Mehak Rajkumar Posted June 12, 2023 Share Posted June 12, 2023 Thank you for posting to the Jaspersoft Community. Our team of experts has read your question and we are working to get you an answer as quickly as we can. If you have a Jaspersoft Professional Subscription plan, please visit https://support.tibco.com/s/ for direct access to our technical support teams offering guaranteed response times. Link to comment Share on other sites More sharing options...
rpachipu Posted June 15, 2023 Share Posted June 15, 2023 You can supress the pages based on input parameter or by defining a variable(System) and go the detail or other display bands and using the print when expression to do this.$V{PAGE_NUMBER} <= $V{PagesRequested} 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