以pdf格式下载Asp表格 [英] Download the Asp form in pdf format

查看:76
本文介绍了以pdf格式下载Asp表格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们可以下载pdf格式的表格(使用ASP / HTML创建)。我想知道如何实现这一点,因为我试图在我的网页中添加此功能。请指教。

Can we download the form (created using ASP/HTML) in a pdf format. I am wondering how can this be achieved since i am trying to add this functionality in my web page. Please advise.

推荐答案

1)获取表格的截图。

2)将该图片转换为PDF格式。

3)将PDF文件发布到您的网站上供用户下载。
1) Take a screenshot of the form.
2) Convert that picture to PDF format.
3) Post the PDF file on your website for users to download.


感谢回复民众!!


Infact i试过这个,但pdf在一个新的IE中开放。但是,一旦点击超链接,我想看到一个新窗口打开,其中有两个选项OPEN。和保存。我怎么能做到这一点。请指教


感谢您的了解!!


问候

Chandhseke
Thanks for the reply folk!!

Infact i tried this but the pdf gets openup in a new IE. But, once the hyperlink is clicked i want to see a new window opened with 2 options "OPEN" and "Save". how can i achieve this.? Please advise

Thanks for your knowledge!!

Regards
Chandhseke


这是因为IE安装了一个用于阅读PDF文件的插件。大多数网站通过告诉用户右键单击链接并选择将目标另存为...来解决问题。不幸的是我不知道用javascript来模拟这种效果的任何方法。顺便说一句,这个问题对于PDF和图像来说是非常独特的,因此.doc格式可能会更好。
This is because IE has a plugin installed for reading PDF files. Most websites get around the problem by telling their users to "right click on the link and choose save target as...". Unfortunately I don''t know of any way to simulate this effect using javascript. This problem is quite unique to PDFs and images, by the way, so a .doc format would perhaps work better.


这篇关于以pdf格式下载Asp表格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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