Printing a report

Hi all,

I am using Natural to print reports for the first time and not getting the trailer at the bottom of the page as expected. I am attaching the program. Please have a look and reply if you see something fishy in the code.

Thanks, gb
program.txt (2.04 KB)

The only thing that I see fishy is the NEWPAGE statement. It should be inside your loop either before or after your write statement.

Otherwise, perhaps the footer is being printed off of the page, though since your page size is 30, that doesn’t seem possible.

From the Natural manual: