Is anyone knows how to dynamically set orientation or page height/width to portrait/landscape ?
If you need to print images, sometimes portrait, sometimes landscape, how would you achieve that ?
I may use subreports but how is the parameter(s) you need to send ? Would it be enough for the subreport to understand it ? parameter with name "net.sf.jasperreports.engine.type.OrientationEnum" and value "OrientationEnum.LANDSCAPE" then the subreport understand it? Same for the page height/width ?
I'm sure someone already tried to do that but didn't find the answer...
Thanks in advance for your help