// Create a report instance, assigned to a Print Tool.
ReportPrintTool pt = new ReportPrintTool(new XtraReport1());
// Invoke the Print dialog.
pt.PrintDialog();
// Send the report to the default printer.
pt.Print();
// Send the report to the specified printer.
pt.Print("myPrinter");
时间: 2024-10-27 05:30:27