Hi Jasper experts, Need your help for an issue i am struggling with. I am using Jasper reports 2.0.5, ireports 2.0.5. for PDF generation. My document has multiple subreports which is called one in another like a chain. Each subreport can span to multiple pages. The requirement is, if at all it happens the last page for any section(group) has just 1 record, i need to borrow 1 rec from previous page to make sure there are always atleast 2 rows of detail section data in the last page. Currently i am making sure every page has 39 records max and when i reach at the last 2 recs(groupcount-recordcount=2 and if it crosses 34 records on that page) i am issuing a page break. This works fine for pages more than 2. It fails, if my section started in the middle of the first page and ends at the begin of the 2nd page when very less data. If there is a way, i can find the co-ordinates of print location and if it crossed 700px then i can issue a page break. But till now the research in the forum says finding coordinates is not possible. I saw some dummy group approach in the forum to give minheighttostartnewpage but this will not help in my case. Only approach i did not try is scriptlets as i am facing an issue with jdk unsupported major/minor 49.0 error. Please suggest me how can i make sure always i have 2 recs in the last page of my group. Thanks, Venkat