无法找到打印机进行打印
打印ActiveReport的账票,设置的是本地的虚拟打印机 Microsoft XPS Document Writer调用SectionReport的Run()
<#ZwA.#wb("Desc_ActiveReport_Run")>
Public Sub Run()
结果出现打印机无法找到的错误,
打出了stacktrack的log如下,请问是什么原因?或者如何继续调查?谢谢!
ailed to open the Microsoft XPS Document Writer printer, System error number: 0
場所 GrapeCity.ActiveReports.Extensibility.Printing.DDPaperSize.AddCustomPaperSize(String printerName, String paperName, Single width, Single height)
場所 GrapeCity.ActiveReports.Extensibility.Printing.DDPaperSize..ctor(String printerName, String paperName, Single width, Single height)
場所 GrapeCity.ActiveReports.SectionReport.#azb()
場所 GrapeCity.ActiveReports.SectionReport.#1yb(Boolean bDelayedInit)
場所 GrapeCity.ActiveReports.SectionReport.Run(Boolean syncDocument)
場所 GrapeCity.ActiveReports.SectionReport.Run()
你是C/S端的项目是吧! KearneyKang 发表于 2019-2-26 19:28
你是C/S端的项目是吧!
是的,在客户端打印,有的电脑可以,
现在出问题的是客户的电脑,让客户确认过,
用XPS打印excel文档是可以的,证明XPS是有效的
你使用的事ActiveReports的那个版本,关于打印这块你可以参考下这个列子,设置默认打印机:https://gcdn.grapecity.com.cn/forum.php?mod=viewthread&tid=49016&extra=page%3D2
页:
[1]