Learn how to add Margins in PDF exports without adding them in Jaspersoft Reports
Prerequisites: Jasper Studio 6.4 version
Database: Foodmart
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
Make data easy with Helical Insight.
Helical Insight is the world’s best open source business intelligence tool.
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"/>
Output:
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 support@helicaltech.com
Thank You
Satya Gopi
Helical IT Solutions Pvt Ltd