本文介绍了从HTML打印嵌入的PDF的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好...我想问一下是否有一种方法可以从嵌入的html标签打印pdf吗?您看我已使用此代码嵌入pdf
< embed class =''soa''width =''650''height =''815''id ="plugin" name ="plugin" src ="myPDF.pdf" type ="application/pdf"/> ;

现在,我想使用一个按钮打印该pdf.是否可以使用普通的javascript?还是我们需要服务器端脚本?

好吧,嵌入表单提供了打印并保存"按钮,但是问题是当用户客户端计算机没有安装任何acrobat阅读器时.这意味着他们将没有此按钮.所以我想为他们提供一个打印按钮...但是我不知道该怎么做...请帮助大家...

Hello guys... I would like to ask if there is a way to print a pdf from an embed html tag? You see i have embeded the pdf using this code
<embed class=''soa'' width=''650'' height=''815'' id="plugin" name="plugin" src="myPDF.pdf" type="application/pdf" />

Now i would like to print that pdf using a button. is it possible using plain javascript? or do we need a server side script?

Well the embed form offers a print and save button but the problem is when the user clients computer doesnt have any acrobat reader installed. it means they will not have this button. so i want to provide a print button for them... but i dont know how to accomplish this... please help guys...

推荐答案


这篇关于从HTML打印嵌入的PDF的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-29 21:35
查看更多