aspose file tools*
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
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
Author

Jasper Report : Passing page type as parameter

Hafiz Yusof
Greenhorn

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.

Thanks,

Hafiz
[ July 25, 2008: Message edited by: Hafiz Yusof ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Jasper Report : Passing page type as parameter