It's not a secret anymore!*
The moose likes Other Open Source Projects and the fly likes Jasper Report : Passing page type as parameter Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Jasper Report : Passing page type as parameter" Watch "Jasper Report : Passing page type as parameter" New topic

Jasper Report : Passing page type as parameter

Hafiz Yusof

Joined: May 03, 2006
Posts: 4
Hi All,

I have been tasked to RnD whether ireport /jasperreport can accept page type from parameter passed from java program and print the print report accordingly.

The page type is like A3, A4, B4, B5 and others.

I have tested print report with pre-defined page size as A4 from iReport JasperViewer and print it by changing page size from properties window to other size like A3 and B4.

Result of the printing from all page size is very similar, no much different. But if I change the page size directly from ireport itself from Edit > Report Properties, yes, the report size change accordingly.

So, my question is , are there any possibility to make page size as parameter, so that we can pass it from java program to make it printed nicely.


[ July 25, 2008: Message edited by: Hafiz Yusof ]
I agree. Here's the link:
subject: Jasper Report : Passing page type as parameter
Similar Threads
java printing - printing a pdf
Making a genealogy tree
howto create a print function ?
byte array as a parameter in JasperReports
Single table two column dependency query