ferrarihx 发表于 2019-6-13 08:19:36

AR 11 打印账票时,出现错误[Failed to add the custom paper size to the printer]

本帖最后由 ferrarihx 于 2019-6-13 08:22 编辑

有参照以下链接中的这个方法进行修改了,追加了【rpt.Document.Printer.PrinterName = "";】但是还是出现错误了。https://dev.grapecity.co.jp/support/kb/detail.asp?id=27436
我查看了其他资料,说是需要在ReportStart事件中设定才有效果:
https://www.grapecity.com/forums/ar-dev/report-preview-fails-with-
具体的还不大清楚,如果有官方的说法还麻烦说明下,谢谢。

KearneyKang 发表于 2019-6-13 09:12:03

本帖最后由 KearneyKang 于 2019-6-28 17:48 编辑

您好,你这是日文版本的,你是要后代码设置打印机的名称还是别的什么需求?

ferrarihx 发表于 2019-6-13 13:09:01

用以下方法确实可以解决问题。多谢,麻烦关闭该问题。:lol
rpt.Document.Printer.PrinterName = "";

KearneyKang 发表于 2019-6-13 13:58:46

:)
页: [1]
查看完整版本: AR 11 打印账票时,出现错误[Failed to add the custom paper size to the printer]