使用PrintToPrinter时会出现问题? [英] Problem occur when using PrintToPrinter?

查看:349
本文介绍了使用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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆