I don't find any master page, so it is difficult to apply your solution. I took over this project from a consultant, who build it. The subreports are put together by Java code. Do I have to have a master page to set the page number ? I don't find any component related to page number in the pages. How come the page numbers are shown then? Is it default numbering? This is my code: ReportTemplateItem reportTemplateItem = (ReportTemplateItem) item;addPageHeader(reportBuilder, report, messages, reportTemplateItem);addPageFooter(reportBuilder, report, messages, reportTemplateItem);reportHeaderNationalApplication.createSubreport(reportBuilder, report, item, messages);writtenReplyMustBeReceived.createSubreport(reportBuilder, report, item, messages);horizontalLine.createSubreport(reportBuilder, report, item, messages);reportHeaderTemplateText.createSubreport(reportBuilder, report, item, messages);nationalOfficerSignature.createSubreport(reportBuilder, report, item, messages);