How To…Print a Report Backwards

Question

“How do I print my report backwards from last page to first?”

Solution

Start by caching the pages to memory.  Next rearrange the pages as you need by manually starting and ending the print job using the TppDevice.StartJob and TppDevice.EndJob routines.

Download: PrintReportBackwards.zip

Sample Delphi code: