Learn how to add Margins in PDF exports without adding them in Jaspersoft Reports
Prerequisites: Jasper Studio 6.4 version
We have come with one requirement like they need to show margins only for PDF Export but not in Jasper Studio HTML.To achieve the requirement please follow the below steps
Step1: Create a sample Report with no margins within it.
Step2: Add the below property in source file to exclude margins from HTML view, then automatically margins will appear in PDF export and for some other exports as well.
<property name="net.sf.jasperreports.export.ignore.page.margins" value="true"/>
Now check the PDF Export the margins will appear.
Best Open Source Business Intelligence Software Helical Insight is Here
A Business Intelligence Framework
In case if you have any queries please get us at email@example.com
Helical IT Solutions Pvt Ltd