Use the textReport.setFirstHeaderLines() function to specify the number of lines that the report engine reserves for the first page header. This number does not include the number of lines reserved for the top margin (set when you create a new text report variable). The header that you provide must have the number of lines you specify here, or EGL will not print the correct total number of lines on the page.
To specify the number of header lines on a page other than the first, use setHeaderLines().
textReport.setFirstHeaderLines(
numLines INT in)
The following example reserves a single line for the first page header:
myReport TextReport = new TextReport();
...
textReportEngine.setFirstHeaderLines(1);