Resize jasper report in runtime java

0

Hi!

When printing a report it is cut horizontally. The template apparently is larger than A4. The problem is that I cannot modify the template. 
Is it possible to modify some property to adapt the size of the report to the press sheet using java code

Thanks

noe.montes.developer's picture
Joined: Aug 6 2020 - 5:09am
Last seen: 1 month 2 weeks ago

1 Answer:

0

If you know the size of the template then you can edit the Page Format (width/height)

If the issue with printing on the A4 page then select Fit, Shrink oversized pages, or Custom Scale in the print property.

bigalex's picture
58
Joined: Apr 12 2019 - 9:15am
Last seen: 1 week 14 hours ago
Feedback