直接用show print对话框打印水晶报告 [英] print crystal report directly with show print Dialog box
本文介绍了直接用show print对话框打印水晶报告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用visual studio 2010的水晶报告,并使用asp.net,C#进行编程。
如何将Crystal报告发送到打印机而不进行预览,同时如何显示打印对话框以选择打印机。
我使用以下代码直接打印,但是我需要显示打印对话框,而不显示报表查看器表单。
myreport.PrintToPrinter( 1 ,False, 0 , 0 );
谢谢
解决方案
以下是一些关于您的场景的相关链接
http://stackoverflow.com/q/270674 [ ^ ]
如何在没有预览或打印机对话框的情况下直接从ASP.NET直接打印Crystal Reports到默认客户端打印机 [ ^ ]
http://printinginaspnet6tz.blogspot.com/2012/03/print-pdf-directly-without-preview-from_29.html [ ^
Hi,
I am using crystal reports for visual studio 2010 and using asp.net,C# to programming.
how to send Crystal report to the printer without previewing it, in the same time how to show a Print Dialog to choose the printer.
I used following Code to print directly, but i need to show print Dialog box with out showing the report viewer form.
myreport.PrintToPrinter(1, False, 0, 0);
Thanks
解决方案
Here are some related links about your scenario
http://stackoverflow.com/q/270674[^]
How to Directly Print a Crystal Reports to Default Client Printer from ASP.NET without Preview or Printer Dialog[^]
http://printinginaspnet6tz.blogspot.com/2012/03/print-pdf-directly-without-preview-from_29.html[^]
这篇关于直接用show print对话框打印水晶报告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文