Posted 30 August 2020, 6:37 am EST
I have two ActiveReports where the data is related. One is letter page while the other is legal. They have different datasources.
I want to interleave the two reports so I print the letter size report for a given subset of data (could be multiple pages) then the legal size report for the corresponding data. The goal is to automate the matching of the letter report with the corresponding legal report in the printed output so it is already collated.
I can’t simply send them to the printer one after the other because each label will be a separate print job and if the letter paper jams the legal will continue to print and the collation will be destroyed.
I’ve found this blog post but it falls a bit short of my requirement
https://www.grapecity.com/blogs/merge-multiple-activereports
The gap is that when you merge reports in this fashion the resulting merged report it seems can only have a single common page size so the legal report is printed on two pages.
I found some code that can do this with .NET PrintDocument but I can’t find a path to get from SectionReport objects to PrintDocument.
Any ideas on a solution would be appreciated.