I can confirm that putting <pageNumberReset/> just before the </story> resets the page count in a wrong way. I've just tried this on a custom report of ours.
The patch attached by Xavier ALT (AJM) seems to fix this problem.
To illustrate the misbehavior, Xavier was suggesting you print a report with at least 1 invoice spanning several pages, and watch the pagecount go wrong.
Lionel
I can confirm that putting <pageNumberReset/> just before the </story> resets the page count in a wrong way. I've just tried this on a custom report of ours.
The patch attached by Xavier ALT (AJM) seems to fix this problem.
To illustrate the misbehavior, Xavier was suggesting you print a report with at least 1 invoice spanning several pages, and watch the pagecount go wrong.
Lionel