From: Denis Haskin Date: 2009-11-24T09:47:36+09:00 Subject: Re: Printing from Ruby Sounds like a job for prawn: http://prawn.majesticseacreature.com/ We used it for something very similar, and it was superb. dwh Seebs wrote: > Long story short: I wanted to make pretty-printed stuff. I have, after > several hours, gotten something that can produce acceptable output by > rendering as HTML, which I then run through Firefox -- with five mostly > undocumented about:config changes and an elaborate printing procedure. > > That sucks. > > I am looking for the ability to do things that are frankly not much beyond > trivial HTML type layout -- a little CSS, but nothing past font sizes and > colors and the like. What are good choices for PDF or postscript rendering > from Ruby, if any? It might be nice to have visibility into rendering at > the level of "if I render this block of text, how tall does it come out?" > > I don't need any graphics past maybe the ability to draw solid-colored boxes > behind text. > > -s >