Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   ASP (http://www.programmingforums.org/forum32.html)
-   -   Convert HTML to PDF in ASP Application (http://www.programmingforums.org/showthread.php?t=10632)

rag05 Jul 5th, 2006 7:20 PM

Convert HTML to PDF in ASP Application
 
Hello,

I am currently writing a web application using ASP, and would like to give my users the capability of coverting some HTML documents (like reports, lists, etc.) into PDF "on the fly", so they can immediately view and print.

In other words, I want the user to generate a report in HTML at first (for example), and then, have a link/button available for him/her to click and automatically have another window open with a PDF document displaying the same report.

Is there any tool available that could help me with this task?

I appreciate your help.

DaWei Jul 5th, 2006 8:05 PM

This may be zero help, but there's something called EasyPDF available for PHP. Maybe they have it for ASP, also. If so, it's a great tool.

tempest Jul 6th, 2006 12:03 PM

The idea that comes to my head first is installing a "PDF printer" and using COM objects to communicate with IE or Word to open the HTML document then instructing it to print to a pdf file.

DaWei Jul 6th, 2006 1:51 PM

I find that I rarely want to print a page that's a duplicate of the HTML presentation, but a print-friendly representation of the same content (minus navbars and all that chit).

big_k105 Jul 6th, 2006 1:55 PM

http://dypso.free.fr/tech/generer_pd...rs_html-en.php
http://www.pdfonline.com/absolutenew...r.asp?a=24&z=6

I don't know how much those will help, as I don't know ASP but I found them on google so maybe they will. good luck, let us know if they help.

Mocker Jul 6th, 2006 2:15 PM

I've used FPDF before with php and it worked pretty good. It is somewhat clunky to use but it gets the job done
http://www.fpdf.org

rag05 Jul 6th, 2006 6:40 PM

Thanx!
 
Thank you all for your responses...

So far I've found a version of easyPDF that does work with W2k and 2003 server. I've tested it and it does exactly what I need! ;) The only problem I've found is the price $$$... :(

I'll take a look at the other information you've posted and will let you know what I find. :rolleyes:

Once again, I appreciate your help

DaWei Jul 6th, 2006 8:59 PM

Man! It's free for PHP. Mine is actually called EZpdf.


All times are GMT -5. The time now is 12:42 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC