我在WPF应用程序中使用Telerik Report打印收据报告:
SalesReport _salesReport = new SalesReport(_netShiftSalesAmount);
System.Drawing.Printing.PrinterSettings printerSettings = new System.Drawing.Printing.PrinterSettings();
System.Drawing.Printing.PrintController standardPrintController = new System.Drawing.Printing.StandardPrintController();
Telerik.Reporting.Processing.ReportProcessor reportProcessor = new Telerik.Reporting.Processing.ReportProcessor();
reportProcessor.PrintController = standardPrintController;
Telerik.Reporting.InstanceReportSource instanceReportSource = new Telerik.Reporting.InstanceReportSource();
instanceReportSource.ReportDocument = _salesReport;
reportProcessor.PrintReport(instanceReportSource, printerSettings);
这是有效的,但我想在每次付款时打印超过收据,(让我们说3张收据)每张收据包含不同的物品。
如何多次拨打同一份报告?
提前致谢