// 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");
转载于:https://www.cnblogs.com/zeroone/p/4978965.html