Specify the Number of Copies to Print

using DevExpress.XtraPrinting;
using DevExpress.XtraReports.UI;
// ...

private void button1_Click(object sender, System.EventArgs e) {
    ReportPrintTool printTool = new ReportPrintTool(new XtraReport1());
    printTool.PrintingSystem.StartPrint += PrintingSystem_StartPrint;
    printTool.Print();
}

void PrintingSystem_StartPrint(object sender, PrintDocumentEventArgs e) {
    // Set the number of document copies to print.
    e.PrintDocument.PrinterSettings.Copies = 3;
}
原文地址:https://www.cnblogs.com/xiaoxihebei/p/13697414.html