views:

1692

answers:

4

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  A: 

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

Diodeus
That is what we use, and it seems to do pretty much anything we need.
Kevin
This looks promising, but less costly(aka. gratis) options are preferred.
cdeszaq
+2  A: 

Check out this site: http://www.aspxnet.it/public/default.asp It's in Italian, but the source is available for download. It's an ASP port of fpdf.

Hope that helps.

volatilsis
A: 

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)

Ironicnet
Do you know of any other external applications that can take xml and do this? Can OpenOffice do this?
cdeszaq
I don't know for sure... i think that infopath maybe can achieve this... but it's just a guess...
Ironicnet
A: 

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.

Espen