Is there any way to generate PDF files from classic ASP? I have a bunch of user-entered data that needs to be turned into a PDF that the user can download. How can I do this? OpenOffice allows exporting documents to PDF, so could this somehow be leveraged?
有没有办法从经典ASP生成PDF文件?我有一堆用户输入的数据需要转换成用户可以下载的PDF。我怎样才能做到这一点? OpenOffice允许将文档导出为PDF,因此可以以某种方式利用它吗?
3 个解决方案
#1
I played around a bit with this (Persits ASPPDF): http://www.asppdf.com/
我玩了很多(Persits ASPPDF):http://www.asppdf.com/
#2
Maybe running an external application that could be using CrystalReports... and you just pass it as an xml?
也许正在运行可能正在使用CrystalReports的外部应用程序...而你只是将其作为xml传递?
That's how i would do it... (lazy mode)
这就是我会怎么做...(懒惰模式)
#3
See a full list of PDF components here: http://www.aspin.com/home/components/document/pdf Many of them are free.
请在此处查看PDF组件的完整列表:http://www.aspin.com/home/components/document/pdf其中许多都是免费的。
It is also possible to use XSLT to output PDF but I am not sure if this is supported by the Microsoft XML Parser. I remember there were something stopping me when I tried to do this 3-4 years ago. Might be worth checking out know depending out the type of data you have as source.
也可以使用XSLT输出PDF,但我不确定Microsoft XML Parser是否支持它。我记得当我在3 - 4年前尝试这样做时,有些事阻止了我。根据您拥有的数据类型,可能值得一试。
However if these are static files or a one time job consider using a PDF converter on your computer and just upload the files to the server. There are heaps of tools for this, including Adobe Acrobat.
但是,如果这些是静态文件或一次性作业,请考虑在计算机上使用PDF转换器并将文件上载到服务器。有很多工具,包括Adobe Acrobat。
#1
I played around a bit with this (Persits ASPPDF): http://www.asppdf.com/
我玩了很多(Persits ASPPDF):http://www.asppdf.com/
#2
Maybe running an external application that could be using CrystalReports... and you just pass it as an xml?
也许正在运行可能正在使用CrystalReports的外部应用程序...而你只是将其作为xml传递?
That's how i would do it... (lazy mode)
这就是我会怎么做...(懒惰模式)
#3
See a full list of PDF components here: http://www.aspin.com/home/components/document/pdf Many of them are free.
请在此处查看PDF组件的完整列表:http://www.aspin.com/home/components/document/pdf其中许多都是免费的。
It is also possible to use XSLT to output PDF but I am not sure if this is supported by the Microsoft XML Parser. I remember there were something stopping me when I tried to do this 3-4 years ago. Might be worth checking out know depending out the type of data you have as source.
也可以使用XSLT输出PDF,但我不确定Microsoft XML Parser是否支持它。我记得当我在3 - 4年前尝试这样做时,有些事阻止了我。根据您拥有的数据类型,可能值得一试。
However if these are static files or a one time job consider using a PDF converter on your computer and just upload the files to the server. There are heaps of tools for this, including Adobe Acrobat.
但是,如果这些是静态文件或一次性作业,请考虑在计算机上使用PDF转换器并将文件上载到服务器。有很多工具,包括Adobe Acrobat。