3

I am using the JasperReports plugin to generate a complex report. It is working fine with pdf file but requirement is that before download the pdf show exact pdf report preview in html format.

I am just trying to use "inline=true" "_format=html". When It rendering the html there are a big different in PDF and HTML.

The report in html format looks like this:

enter image description here

and in pdf format:

enter image description here

Can you please suggest how I can show exact pdf version in html?

Alex K
  • 22,315
  • 19
  • 108
  • 236
user9873999
  • 311
  • 3
  • 15

1 Answers1

1

You can use the following line in your controller:

params.IS_USING_IMAGES_TO_ALIGN = false 
rvazquezglez
  • 2,284
  • 28
  • 40