如何转换html报告以打印pdf格式 [英] how to convert the html report to print the pdf format
本文介绍了如何转换html报告以打印pdf格式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨
模块-发票报告
这是我的表单设计和方法
类别,名称(如果此选择表示在html页面中生成发票报告).
但是我必须将此页面转换为pdf格式才能打印此页面,并且我已经处于打印选项,但是它们将显示正常打印,但是我必须转换此pdf格式.
我有一个HTML报告,我想使用Java脚本转换为pdf格式.
实际上,用于将html文件转换为pdf的Java脚本代码.
谢谢.
Hi
Modules - Invoice Report
This''s my form design and method
category, name if this select means to generate the invoice report in html page.
But I have to convert this page in pdf format to print this page and I have already in print option but they will show the normal print but i have to convert this pdf format.
I have a html report and i want to convert into pdf format using java script.
Indeed Java script code for converting html file into pdf.
Thanks.
推荐答案
在Javascript中,您需要使用ActiveX对象.
查看此处提出的类似问题的答案:如何将html文件转换为pdf [ ^ ]
From Javascript, you need to use ActiveX object.
Look at the answer for similar question asked here: How to convert html file into pdf [^]
尝试一下!!!!!!!!!
[ ^ ]
http://www.adobe.com/devnet/acrobat/javascript.html [ ^ ]
http://stackoverflow.com/questions/1686280/convert- html-having-javascript-to-pdf-using-java-javascript [
try this !!!!!!!!!
[^]
http://www.adobe.com/devnet/acrobat/javascript.html[^]
http://stackoverflow.com/questions/1686280/convert-html-having-javascript-to-pdf-using-java-javascript[^]
这篇关于如何转换html报告以打印pdf格式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文