In my application, I have several forms that print specific data. For this, I use the PrintDocument PrintPage Event.
If one report has more than 1 page, I set the hasMorePages flag to true, and the event fires again, and my responsibility is to continue printing from where I was at the end of the last page.
Now I need to print all these reports in ONE PrintDocument, and I want to reuse the code of each of them, so that in one print button the user will receive all the reports printed. The idea is not to print multiple documents.
What will be your approach to this?
source
share