Size of the raport is small on the screen - JasperServer 5

Hi,

Is there any way to display the report on the full width of the screen in JasperServer 5?

Best regards,

 

Daniel

Attachments: 
danielobs's picture
135
Joined: Mar 24 2010 - 1:52pm
Last seen: 3 years 2 months ago
I just started with Jasper 5, I noticed that too.
michaelwjoyner - 10 years 8 months ago
I am not sure about this. but can you please check by changing the report layout to landscape.
cjasper - 10 years 8 months ago
Can you please let me know if you get this fixed?
michaelwjoyner - 10 years 8 months ago
show 1 more...
Landscape format is not the solution of this problem. This is only a temporary solution.
danielobs - 10 years 8 months ago

3 Answers:

I am not sure if this is a frowned upon solution, but it works for us when outputting to html.  Plus it may not truly solve your issue, but it should make the fonts bigger.

At the Report level add the "net.sf.jasperreports.export.html.size.unit" Property with a value of "pt" (no quotes).

rw-network's picture
1123
Joined: Mar 1 2007 - 3:44am
Last seen: 6 years 8 months ago

Where is this added? Report level? I'm using iReport.

steveo250k - 9 years 6 months ago

Thank you for your help. This is a good solution for me.

Maybe someone knows even better. :)

danielobs's picture
135
Joined: Mar 24 2010 - 1:52pm
Last seen: 3 years 2 months ago

You need to change the ZOOM RATIO.

Please open the DefaultJasperViewer.jsp.

And add the below line 

exporter.setParameter(JRHtmlExporterParameter.ZOOM_RATIO, new Float(1.5));

Just before the line 

exporter.exportReport();

Dont forget to restart the tomcat :).

Worked like a charm for me.

 

 

 

gprakash's picture
106
Joined: Jul 7 2014 - 8:52am
Last seen: 9 years 2 months ago
Feedback
randomness