SunQuest
           Scripts
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb Site ManagementScripts

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old March 19th, 2004, 08:38 AM
davey1024 davey1024 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: Germany
Posts: 73 davey1024 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 51 m 37 sec
Reputation Power: 5
html->pdf conversion

hey there!

does anybody know a good tool to convert complete html pages to a pdf document?

i DO know there are solutions like pdflib or ezpdf, id DO ALSO know htmldoc, but that one seems to be to new an incomplete to translate complete html pages incl. styles and the most possible tag attributes.

that meeans: i need a tool to pass an url or local file to and get back a completely assembled pdf document.

dont't care whether it is php based. any suggestion is highly appreciated

thanks a bunch in advance!

Reply With Quote
  #2  
Old March 19th, 2004, 08:41 AM
drgroove's Avatar
drgroove drgroove is offline
pushing envelopes, not pencils
Dev Shed God 2nd Plane (6000 - 6499 posts)
 
Join Date: Feb 2002
Posts: 6,224 drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Day 4 h 34 m 57 sec
Reputation Power: 174
Moved to Scripts

How is your HTML document formed?

One thought would be to have all of your data in XML, then use XSLT to transform your XML into XHTML, use XSL:FO to transform the XML into PDF... but, it depends on where the HTML is originating from (database, flat file, etc) and if its possible to re-develop that part of your app.
__________________
Give a person code, and they'll hack for a day; Teach them how to code, and they'll hack forever.
Analyze twice; hack once.
The world's first existential ITIL question: If a change is released into production without a ticket to track it,
was it actually released?


About DrGroove: ITIL-Certified IT Process Engineer - Enterprise Application Architect -
Freelance IT Journalist - Devshed Moderator - Funk Bassist Extraordinaire


Reply With Quote
  #3  
Old March 19th, 2004, 08:47 AM
davey1024 davey1024 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: Germany
Posts: 73 davey1024 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 51 m 37 sec
Reputation Power: 5
right now, im getting a complete html page via its url. this could also be an foreign external document. i could also parse the content an grab all images to local filesystem id necessary. but how to make sure that the pdf doc os optically identical to the rendered html page?

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb Site ManagementScripts > html->pdf conversion


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway