Hi,
I am trying to print a 2 page document. However, only the first page is printed.
When I render the report with reportProcessor.RenderReport and write the rendered report to a PDF. This PDF has two pages, as expected . (However, the printed document is only 1 page long... )
I use the following code to print:
PrinterSettings printerSettings = new PrinterSettings { PrinterName = printerName, PrintRange = PrintRange.AllPages, MinimumPage = 0, MaximumPage = 1000, FromPage = 0, PrintToFile = false }; PrintController standardPrintController = new StandardPrintController(); ReportProcessor reportProcessor = new ReportProcessor { PrintController = standardPrintController }; reportProcessor.PrintReport(reportSource, printerSettings, Globals.OutputFormat);