Hi Teodor, I am starting this new thread as per discussion with you. I am putting a page break in summary band which appears on the last page if the number of pages are odd. This works perfectly fine and a blank page appears in the last if number of pages are odd. I am using below condition on print when expression: new Boolean(!( ($V{PAGE_NUMBER}.intValue())%2==0 )) This gets printed on last page because currently it has been put on summary band and summary band is printed in the last. Now, the client requirements have changed and client wants header and footer to be printed on this blank page. I want to put it in detail section so that my page header and page footer can also come on this blank page. I tried to put it on detail section but it does not work because it does not able to recognize the last page as it does in summary. I am using a dummy condition in summary to determine the last page : new Boolean($P{REPORT_PARAMETERS_MAP}.put("LastPageNumber",$V{PAGE_NUMBER}).equals("dummyPrintWhen")) Now, in detail I am putting the condition to determine the last page new Boolean ( $V{PAGE_NUMBER}.equals($P{REPORT_PARAMETERS_MAP}.get("LastPageNumber")) && (!( ($V{PAGE_NUMBER}.intValue())%2==0 )) ) This condition works perfectly fine if I put it in footer section but as per the requirements I want to put it in detail so that the page header and footer can be displayed on the blank page. This trick has been explained in the thread http://jasperforge.org/plugins/espforum/view.php?group_id=102&forumid=103&topicid=46357 Please help.