在客户端静默打印PDF文档 - quries [英] Print PDF document on client side silently - quries
本文介绍了在客户端静默打印PDF文档 - quries的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
From last couple of days , I was searching for printing pdf document at client side . Some what I tried some codes given online ,but yielded no result .
On further search ,some says adobe doesn't allow such method , or can't be done because of security issues , etc ...
I have following queries :-
Whole scenario behind printing pdf at client end silently and issues related to it.
Any genuine approach to achieve it OR other alternative .
thanks in advance ......
我尝试了什么:
What I have tried:
what if we attach report like (rdlc or crystal) in hidden mode and print that report when client click on Print Button (ASP.NET button ) and this report got printed to default printer of client without any print preview .
推荐答案
你不能这样做。您无法从服务器访问客户端打印机(或其他硬件):当您将PDF文件发送给他时,甚至无法强制用户打开PDF文件,更不用说安装PDF阅读器并告诉它打印 - 这是你需要什么。
这就是为什么你会发现像你这样的结果:故意不可能。
You can't do it. You do not have access to the client printer (or other hardware) from your server: you cannot even force the user to open the PDF file when you send it to him, much less install a PDF reader and tell it to print - which is what you would need.
This is why you find results like you are: it is deliberately not possible.
这篇关于在客户端静默打印PDF文档 - quries的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文