File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Jasper subreports Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Jasper subreports" Watch "Jasper subreports" New topic

Jasper subreports

Daniel del Castillo

Joined: Oct 17, 2005
Posts: 6
Hey dudes,

I'm doing some jasper reports and I'm having few troubles with subreports. I have a main report (lets say Order) with two subreports. The first shows a list of items, the second a list of payments. The tow problems I have:

1.- When I print the report, one blank page is generated at the end of the PDF file; no matter how many orders I'm printing.

2.- The items subreport always prints exactly 16 items and then a new page is generated, leaving a blank space (more or less half a page).

Doing some testing, I supress the items subreport and then everything works fine. I'dont know what could be the problem. Boh subreports are similir and have the same configuration, but the first is doing some weird thing.

Please, any suggestion?

Thanks in advanced
Nawaz Ahmed

Joined: Aug 17, 2005
Posts: 11

I am also using jasperreports, but I am new for JasperReports can u send me the code which u have developed in ur project.

plz send the code to

Thanking u,

I agree. Here's the link:
subject: Jasper subreports
It's not a secret anymore!