BFR报表直接同一文件多份打印

EP.GeneralPrintReport myPrintReport = new EP.GeneralPrintReport();

//获取默认打印机

//string printname = myPrintReport.GetCurrentPrinterName();

int num = 2;//打印份数

myPrintReport.PrintReportAfterView(reportID, myHT, SpreadsheetGear.Printing.PrintWhat.Workbook, (short)num);

posted @ 2024-07-19 16:39  Wangbin0007  阅读(19)  评论(0)    收藏  举报