Do not repeat Header every Page

Do not repeat Header every Page

Forum member · Oct 22, 2012
Hi I will generate an invoice based on an DPLX-File. I don't want that the Header-Secion repeats every Page, just show the next Record (Body) on top of the new Page and the Footer-Secion at the end of the last Page. I am using below code for conditional header and footer <header id="Header" height="288" > <conditionalHeader id="ConditionalFooter1" condition="FirstPage"> ...... ...... </conditionalHeader> </header> <detail id="Body" height="18"> ...... ...... </detail> <footer id="Footer" height="54"> <conditionalFooter id="ConditionalFooter1" condition="LastPage"> ...... ...... </conditionalFooter> </footer> It is working fine, but when second page is generated then it occupy the header area and that's why item is not started from top of the page, I want to start item (body) section on top of the page from second page. I have same problem in footer, as per the above code snippet footer is showing in only in last page, but it is showing at the bottom of the page even one record is exist on second page. Footer should be start from automatically where item is over. it should not start from the very bottom of the page and put extra space between the records and footer. How Can I do that?

Re: Do not repeat Header every Page

Support · Oct 22, 2012
Hello, The header and footer heights will be fixed and it will be added to all the pages even if you are using default header and footer or conditional header and footers. It is not possible to move the report contents to top or bottom if the header and footer data is missing. The DynamicPDF ReportWriter API takes the maximum height for the header and footer(default or conditional whichever is higher) and adds the other contents accordingly. Thanks, ceTe Software Support Team.

Re: Do not repeat Header every Page

Forum member · Oct 22, 2012
so there is no any other way to control this?

Re: Do not repeat Header every Page

Support · Oct 22, 2012
Hello, The header and footer heights are fixed and there is no other way to control this. Thanks, ceTe Software Support Team.