I've produced a business plan application that has about 20 different forms, each a section of the business plan, and each can be printed independently.
I need to have a Print All button that goes through and prints all the reports I list (all of them in this scenario) and ideally, put a sequential page number at the bottom of each.
Is this possible It seems to me this would be a common scenario, where you could provide a control with a list of already-coded reports and just print them off. I don't want the print preview popping up for each report! All the data sources are already set in the winform for each of the reports.
Any ideas

Printing Multiple Reports
Jake.K
Hi, I'm not sure what language you are using, but to get the reports to print directly to the printer, here is a snippet of code from c#. You can just have it loop through your selections of reports and have it print each one. As for the page numbers, I have no idea how you could do those except by maybe having a counter in your loop and setting a text box on the report to that value. Good luck!!
ReportDocument crReportDocument=
new ReportDocument();crReportDocument.Load (filePath);
crReportDocument.SetDataSource(ds);
crReportDocument.PrintToPrinter(1,
false,1,991);EShepley
Thanks, I'll give that a try!
I'll have to look at the ReportDocument class; I didn't know it had a PrintToPrinter command!