heyin365 发表于 2018-5-22 16:15:33

报表 网络打印机打印问题

本帖最后由 Lenka.Guo 于 2018-5-23 09:33 编辑

ystem.Drawing.Printing.InvalidPrinterException: 对访问打印机“HP LaserJet Professional M1136 MFP”的设置无效。
   在 GrapeCity.ActiveReports.Viewer.Win.Printing.PrintImpl.#kUo(Printer printer, Boolean showPrintDialog)
   在 GrapeCity.ActiveReports.Viewer.Win.Printing.PrintImpl.Print(#q0B documentPrintAdapter, Boolean showPrintDialog, Boolean showPrintProgressDialog, Boolean usePrintingThread, Boolean useStandardDialog, Action`1 action)
   在 GrapeCity.ActiveReports.PrintExtension.Print(PageDocument pageDocument, Boolean showPrintDialog, Boolean showPrintProgressDialog, Boolean usePrintingThread, Boolean useStandardDialog)
   在 HeYin.ERP.Client.Reportings.ReportViewerPanel.PrintReport()


以上是我在网络打印机上出现的错误

我是用了 Printr.PrintrName=“HP LaserJet Professional M1136 MFP” (网络打印机名称)

但是 打印机 直接连接 程序 所在的机器 可以打印 。

网络打印机 是不是还需要设置其他属性呢?


KearneyKang 发表于 2018-5-22 16:45:57

这个本地打印和网络打印的设置都是一样的,没有什么需要特别注意的。
首先在你本地电脑能检测到你这个网络打印机不, 网络是否连通。

heyin365 发表于 2018-5-22 22:01:57

KearneyKang 发表于 2018-5-22 16:45
这个本地打印和网络打印的设置都是一样的,没有什么需要特别注意的。
首先在你本地电脑能检测到你这个网络 ...

可以找到,都没有问题呀

Lenka.Guo 发表于 2018-5-23 09:32:50

如果打印机是网络打印机,建议将打印机的名称设置为:网络访问名,如“\\xa-printer.Net\打印机名”
页: [1]
查看完整版本: 报表 网络打印机打印问题