views:

466

answers:

4

There seems to be a lot of paid components out there and stuff for .Net, but are there any free ways to convert an HTML page into PDF using Classic ASP VBScript? There has to be something from Adobe maybe?

A: 

There's ASPPDF.

Diodeus
Looks like ASPPDF costs $300
go minimal
+2  A: 
  • If you can install custom components there's AspPDF.
  • If you can't install custom components give FPDF a try.
Simone Carletti
+3  A: 

I've done a few jobs involving this sort of stuff. ABCPDF from websupergoo is the only way to go if you ask me. They will give you a free licence if you link back to them and their kit is by far the best performing and easiest to use and setup that I've come across.

If you can I'd go with the .net version but they do a ASP version too. Can't fault them.

Its a tricky job to do it right though, you might have to amend your HTML pages to get them to look right as HTML is free flowing where as PDF's are per page. We tend to create seperate templates for ours or pass in a flag which appends a CSS class selector to the body tag which allows us to modify the page layout if being called from our PDF generator (ie don't fix a width, hide stuff you don't want rendered out, banners etc, search forms, change fonts, background images, etc.)

Pete Duncanson
Just a side note...from experience...avoid ActivePDF at all costs and OmniPDF too...oh the pain.
Pete Duncanson
A: 

You can also install php (included even with most windows hosting plans) and use its included library http://php.net/manual/en/book.pdf.php

RandyMorris