Problem:
Printing is not stopping at the end of the page additional lines are printed on the next page.
Resolution:
Use the compiler directive RWHARDPAGE
This directive causes the Report Writer control module to execute a form feed after the last item has been printed on a page, instead of the usual multiple blank lines. This ensures that the paper is positioned correctly ready for a new page.