Jump to content
We've recently updated our Privacy Statement, available here ×

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


danielobs
Go to solution Solved by rw-network,

Recommended Posts

  • Replies 8
  • Created
  • Last Reply

Top Posters In This Topic

  • Solution

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).

Link to comment
Share on other sites

  • 1 year later...
  • 3 months later...

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.

 

 

 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...