动态查找客户端默认打印机 [英] To Find Client Side Default Printer Dynamically
问题描述
此网站在局域网(局域网)中工作
我将我的项目发布到IIS 7(我的系统操作系统:Windows Server 2008)
然后我浏览,客户端系统(客户端Os Windows 7)
现在我查看一些报告(使用RDLC本地报告)
客户端系统
然后我点击打印btn
那个客户端打印机不打印该报告,
我的软件搜索服务器端的打印机名称或默认打印机
我想在客户默认打印机中打印Rdlc报告,
我该怎么办?
Plz给出一些代码
尽快发布
感谢U
This WebSite Works In LAN (Local Area Network)
I Publish My Project To IIS 7 ( my sys OS : Windows Server 2008 )
Then I Browse , Client System ( Client Os Windows 7)
Now I View Some Report ( using RDLC Local Report)
in the client sys
then i click print btn
that client side Printer Not Print that report ,
My Software Search Printer Name or Default Printer in Server Side
I Want to Print Rdlc Report In Client Default Printer ,
What Can I Do ?
Plz Give Some Code
As Soon As Posible
Thank U
推荐答案
我想,除非你在部署的服务器机器上做某事,否则你无法控制任何客户端资源。
您只能调用Print方法,w他只会向用户显示打印预览。然后用户有责任选择打印机。你不应该为此烦恼。
I guess, unless you are doing something on the deployed Server machine itself, you can't have control on any client resources.
You can only call the Print method, which will just show the Print preview to the user. Then it is the responsibility of user to select the Printer. You should not bother about that.
这篇关于动态查找客户端默认打印机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!