How can I create a PDF file in classic ASP?

2020-07-10 09:24发布

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?

3条回答
淡お忘
2楼-- · 2020-07-10 10:01

See a full list of PDF components here: http://www.aspin.com/home/components/document/pdf Many of them are free.

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.

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.

查看更多
Ridiculous、
3楼-- · 2020-07-10 10:06

I played around a bit with this (Persits ASPPDF): http://www.asppdf.com/

查看更多
看我几分像从前
4楼-- · 2020-07-10 10:06

Maybe running an external application that could be using CrystalReports... and you just pass it as an xml?

That's how i would do it... (lazy mode)

查看更多
登录 后发表回答