Use the textReport.setTrailerLines() function to specify the number of lines that the report engine reserves for the trailer (footer) on any page. This number does not include the number of lines that are reserved for the bottom margin (set when you create a new text report variable). The footer that you provide must have the number of lines that you specify here, or EGL will not print the correct total number of lines on the page.
textReport.setTrailerLines(
numLines INT in)
The following example reserves a single line for the page footer:
myReport TextReport = new TextReport();
...
textReportEngine.setTrailerLines(1);