如何在客户端计算机上打印pdf文件而不显示PDF文件 [英] How to print a pdf file in client machine without showing the PDF file

查看:348
本文介绍了如何在客户端计算机上打印pdf文件而不显示PDF文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用telerik报告。实际上我需要将telerik报告转换为PDF文件,然后打印pdf文件。所有这一切都应该在一次点击中发生。当我在我的本地机器上尝试时,我得到了输出。但是当我发布它并上传它不起作用!任何人都可以提出想法



我尝试过:



我有在我的本地机器上完成

I am using telerik report.Actually I need to convert the telerik report into PDF file and then print the pdf file .All this this should happen in one click.When I tried in my local machine ,I have got the output.But when i publish it and upload it is not working !!! Can anyone give idea

What I have tried:

I have done it in my local machine

推荐答案

您无法在客户端的计算机上静默打印。它在本地工作的原因可能是因为您使用服务器端代码将文档发送到打印机,并且服务器和客户端是它看起来工作的同一台机器。发布时,文档将被发送到连接到网络服务器的打印机,而且不会有。
You can't silently print on the client's machine. The reason it works locally is probably because you are using server-side code to send the document to the printer and as the server and client are the same machine it appears to work. When published the document is being sent to the printer attached to the webserver and there won't be one.


这篇关于如何在客户端计算机上打印pdf文件而不显示PDF文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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