Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old March 28th, 2008, 02:25 PM
Anees
Guest
 
Posts: n/a
Default PDF generation from HTML

Hi,

I hav created a newsletter creator, that will will the out put as a
PDF to the user
User can select some articles with one template

And we will merge the articles with templates to generate simple HTML
(using Table in HTML)

First i went with FPDF
it given almost fine result except two problems
1) We cant give ant font or CSS for the whole pdf everything will be
in same font ( can negotiate though)
2) i created the article in row wise. so each article content will
come in each row
but its breaking(Skipping) the page when it found that it will not be
fit in the remaining part of the current page

Then i went for html2ps
It is working quit well with all the above two problems

But it giving an error when i go for little bit large contents ( we
may able to fix if we got the server with us)
the second error is with images . they are told that we may need to
give absolute path if inserts images
but still we arn't


Please help me out of this two
in which i should go with..??
and where i should be concentrated more??

Regards
Anees
  #2  
Old March 28th, 2008, 05:45 PM
=?iso-8859-1?Q?=C1lvaro?= G. Vicario
Guest
 
Posts: n/a
Default Re: PDF generation from HTML

*** Anees escribió/wrote (Fri, 28 Mar 2008 06:16:49 -0700 (PDT)):
Quote:
I hav created a newsletter creator, that will will the out put as a
PDF to the user
User can select some articles with one template
[...]
Quote:
Then i went for html2ps
One more option is dompdf:

http://www.digitaljunkies.ca/dompdf/

However, it's still version 0.5 and it hasn't had important releases in two
years. It may suit your needs or not.


--
-- http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
-- Mi sitio sobre programación web: http://bits.demogracia.com
-- Mi web de humor en cubitos: http://www.demogracia.com
--
 

Bookmarks

Thread Tools

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

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles