Yes, wkhtmltopdf is doing well, only installation procedure was complex, and we got a static binary package with x-server installation , but right now if i embed that in our code its converting only sites urls pages to pdf ie wkhtmltopdf www.google.com google.pdf works fine also with hebrew sites :-), but if I render my database content and want to convert that, its not in proper, specifically hebrew, greek content., even if I save my database stored content in an html file(UTF-8 encoded), and execute through command line ie wkhtmltopdf hebrew.html hebrew.pdf, its not able to convert. It means that,non-latin content is not properly saving into the database. I need to check with that. This is happening in Ubuntu.
On Oct 16, 2009 6:48am, Doug Sparling <[email protected]> wrote: > Thanks, Luis. > Sent from my iPhone > On Oct 15, 2009, at 2:18 PM, Luis Felipe Campo [email protected]> wrote: > Doug you are right, you need to have a xhtml compilant page to generate > de pdf > 2009/10/15 Doug Sparling [email protected]> > Ah, didn't see that mentioned in the blog post. > I used iText (open source - Java) for some PDF stuff a few years ago. I > don't believe it supports html to pdf out of the box, but I had this > article bookmarked as well: > http://today.java.net/pub/a/today/2007/06/26/generating-pdfs-with-flying-saucer-and-itext.html > May not be what you want, but it's the only other thing I'd bookmarked > for further review. > On Thu, Oct 15, 2009 at 8:45 AM, [email protected]> wrote: > princexml is not freeware.. so we can't try that. > On Oct 15, 2009 6:59pm, [email protected] wrote: > > Thanks for that, > > > > But to some extent I got succeeded with wkhtmltopdf, on centOS and > ubuntu, but conversion of non latin characters like hebrew and greek > files, is not properly formatting, but they are stored in db in their > original and correct format, but when pdf is downloaded it is turning > into some other characters..:( > > > > On Oct 15, 2009 6:47pm, Doug Sparling [email protected]> wrote: > > > As I need to do the same thing fairly soon, I had a few other > resources I've been meaning to look at closer: > > > > > > http://www.princexml.com/ > > > > http://jimneath.org/2009/02/16/creating-pdf-documents-in-ruby-on-rails/ > > > > > > > > > On Thu, Oct 15, 2009 at 8:12 AM, Doug Sparling > [email protected]> wrote: > > > > > > Oops, my bad, just reread your question - you need to go from html to > pdf... > > > > > > > > > On Thu, Oct 15, 2009 at 8:10 AM, Doug Sparling > [email protected]> wrote: > > > > > > > > > I have no idea if it does what you want, have you tried pdftohtml, > based on Xpdf? I've used a different Xpdf tool, pdftotext quite > successfully. It's been a while, but I believe it comes with Xpdf install. > > > > > > > > > > > > > > > > > > On Wed, Oct 14, 2009 at 11:13 PM, [email protected]> wrote: > > > > > > > > > > > > Hi Friends, > > > > > > Is there any open source PDF converter, which converts html files > into pdf, keeping the css and everything used in html file. I used > pdfwriter,htmldoc, but returned with no luck. wkhtmltodoc cannot be > installed properly on ubuntu or centOS. Please help. > > > > > > > > > > > > > > > Thanks, > > > Santosh > > > > > > > > > > > > > > > > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "ruby-on-rails-programming-with-passion" group. To unsubscribe from this group, send email to ruby-on-rails-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/ruby-on-rails-programming-with-passion?hl=en?hl=en -~----------~----~----~----~------~----~------~--~---
