Are there any HTML+CSS to PDF converters in ruby

Hi,
I tried PDF writer , but it doesn’t have HTML to PDF Converter.
Infact it is a PDF writer itself not a converter…

I've HTML pages with rich css  or Strings with html+css such that
they are converted to PDF.

The idea is that web is all about RGB color model and when it comes

to Digital
Printing its all CMYK color model. My html page with rich css in it
should be
converted to PDF document and all the RGB colors in my html and css
should be
converted to CMYK color model in the output pdf document.

Please suggest me any softwares/libraries/servers/tools that does

this…

Even Proprietary softwares/libraries/servers/tools are fine with me.

Any help is appreciated w.r.to PDF converters ?

Thanks,
Ashwin

Hi Ashwin,

PrinceXML (http://www.princexml.com/) seem to be the daddy of all HTML/
CSS to PDF converters. The evaluation is free although a commercial
server license will set you back a hefty US$3800.

Here’s an excellent article on integrating it with Ruby:

http://sublog.subimage.com/articles/2007/05/29/html-css-to-pdf-using-ruby-on-rails

Cheers, Olly.

And that’s for a serverwide license. If you want to install your
rails app on several servers (e.g. installations on several customer
servers), you’ll need to pay that license fee over and over again.

On 14 Jun 2007, at 12:53, Olly L. wrote:

PrinceXML (http://www.princexml.com/) seem to be the daddy of all
HTML/
CSS to PDF converters. The evaluation is free although a commercial
server license will set you back a hefty US$3800.

Best regards

Peter De Berdt

A workaround to this might be to run a PDF service on a single machine
and just make calls to that from your server cluster :slight_smile: