如何在Asp.net中将Crystal报表直接打印到客户端打印机? [英] How to print Crystal report directly to client printer in Asp.net ?

查看:136
本文介绍了如何在Asp.net中将Crystal报表直接打印到客户端打印机?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发ASP.Net应用程序,我正在使用Crystal报告进行报告,

我现在面临的一个大问题是如何从我的网站直接将报告打印到客户端打印机上/>
我试过这段代码:

I'm developing ASP.Net Application and I'm using Crystal report for my reports,
My big problem now is how to print the report directly to the client printer from my site
I tried this code :

crystalReport.PrintToPrinter(new PrinterSettings(), new PageSettings(), false);



但是它在服务器上打印报告而不是在客户端


but it print the report at the server not at the client

推荐答案

检查没有查看器的Crystal Reports客户端打印 [ ^ ]


我在快速遇到同样的问题只需要在服务器上的aspnet_client文件夹中添加水晶报告dll
I faced same problem in fast just do one thing add crystal report dll in aspnet_client folder on the server


这篇关于如何在Asp.net中将Crystal报表直接打印到客户端打印机?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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