使用PrintToPrinter时会出现问题? [英] Problem occur when using PrintToPrinter?
问题描述
我正在尝试通过Vb.net直接打印报告但是在使用ReportDocument的printToPrinter方法后出错。
这是我的代码:
Dim c As ReportDocument = New ReportDocument
c.Load(" CRImport.rpt") '我的报告包含在调试中
c.PrintToPrinter(1,False,0,0)
以下是错误信息。
请帮助!!
作为MSFT且此论坛不支持CR,请在此处发布相反: http://scn.sap.com /小区/晶体的报告换视觉工作室/内容?filterID = OBJECTTYPE [线程]
I'm trying to print report directly via Vb.net but I got error after using printToPrinter method of ReportDocument.
Here is my code:
Dim c As ReportDocument = New ReportDocument
c.Load("CRImport.rpt") ' My report contain in debug
c.PrintToPrinter(1, False, 0, 0)
Below is the error message .
Please help!!
Hi,
as MSFT and this forum doesn't support CR, post here instead: http://scn.sap.com/community/crystal-reports-for-visual-studio/content?filterID=objecttype[thread]
这篇关于使用PrintToPrinter时会出现问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!