Adding Margins in PDF Export but Not in Jaspersoft Report

Posted on by By Satya Gopi, in Jaspersoft | 0

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.

Get your 30 Days Trail Version

Step1: Create a sample Report with no margins within it.

Adding Margins in PDF

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="" value="true"/>

Adding HTML tag in the source file


Now check the PDF Export the margins will appear.

Margins in PDF Export


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

Thank You
Satya Gopi
Helical IT Solutions Pvt Ltd

0 0 votes
Article Rating
Notify of
Inline Feedbacks
View all comments