直接打印到打印机报告 [英] Print Report directly to Printer

查看:92
本文介绍了直接打印到打印机报告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我想使用vb.net应用程序直接打印水晶报告,没有任何对话框。我怎样才能实现这个目标?


CrystalReportViewer1.ReportSource = System.Environment.CurrentDirectory& " \ MiniStatement.rpt"

''CrystalReportViewer1.Show()

CrystalReportViewer1.PrintReport()


谢谢:

丹麦语Majid

Hi,
I want to print crystal report directly to printer using vb.net application without any dialog box. how can i achieve this?

CrystalReportViewer1.ReportSource = System.Environment.CurrentDirectory & "\MiniStatement.rpt"
''CrystalReportViewer1.Show()
CrystalReportViewer1.PrintReport()

Thanks:
Danish Majid

推荐答案

请搜索网站,有几个例子。
Please search the site, there are a few examples of this.


我搜索网站,但这里的示例是用于将文本文件打印到打印机,我无法找到任何查询将水晶报告直接打印到打印机。

任何帮助?
I search the site but the examples here are for printing the text file to printer and i unable to find any query to print crystal report directly to printer.
Any help?


我搜索网站,但这里的示例是用于将文本文件打印到打印机,我无法找到任何查询将水晶报告直接打印到打印机。

任何帮助?
I search the site but the examples here are for printing the text file to printer and i unable to find any query to print crystal report directly to printer.
Any help?



大多数Crystal Reports报告都有一个PrintToPrinter成员可以调用。

Most Crystal Reports Reports have a PrintToPrinter member to call.


这篇关于直接打印到打印机报告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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