https://gcdn.grapecity.com.cn/forum.php?mod=viewthread&tid=49016&extra=page%3D5如这里所示,为什么 ...
您好,16版本已关闭该接口,所以暂时没办法进行使用,打印方向相反,您设置纸张方向为横向测试看看。
打印代码也可以参考下面的写法:
GrapeCity.ActiveReports.PageReport pageReport = new GrapeCity.ActiveReports.PageReport(new System.IO.FileInfo(@"demo无参数1.rdlx"));
GrapeCity.ActiveReports.Document.PageDocument reportDocument = new GrapeCity.ActiveReports.Document.PageDocument(pageReport);
reportDocument.Printer.PrinterName = @"\\xa-printer\XA-205-Lobby";//打印机名称
reportDocument.Printer.PrinterSettings.DefaultPageSettings.Margins.Bottom = 0;
GrapeCity.ActiveReports.PrintExtension.Print(reportDocument, false, false);
解决了
tangke888 发表于 2023-5-30 11:09
解决了
好的,那本贴就先结贴啦,有问题您开新帖哦~:handshake
页:
1
[2]