![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Oct 2005
Location: Texas
Posts: 11
Rep Power: 0
![]() |
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.
__________________
There are only two kinds of programming languages: those people always bitch about and those nobody uses. -- Bjarne Stroustrup |
|
|
|
|
|
#2 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
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.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#3 |
|
Programming Guru
![]() |
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.
__________________
|
|
|
|
|
|
#4 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
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).
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#5 |
|
PFO Founder
![]() ![]() |
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.
__________________
BIG K aka Kyle Programming Forums Kyle K Online Please do not PM or email me programming questions. Post them in the forums instead. |
|
|
|
|
|
#6 |
|
Hobbyist Programmer
|
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
__________________
#programmingforums relay - http://thegupstudio.com/cgi-bin/pforelay.cgi freelance scripts - http://ryanguthrie.com/index.html |
|
|
|
|
|
#7 |
|
Newbie
Join Date: Oct 2005
Location: Texas
Posts: 11
Rep Power: 0
![]() |
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. Once again, I appreciate your help
__________________
There are only two kinds of programming languages: those people always bitch about and those nobody uses. -- Bjarne Stroustrup |
|
|
|
|
|
#8 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
Man! It's free for PHP. Mine is actually called EZpdf.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|