Ruby Ghostscript (RGhost) is a library for document developers wanting a quick and easy way to generate pdf files. It’s optimized to work with larger documents.
Notable features include: auto pagination, dynamic cursor, custom font tags, TTF and Type1 font support, virtual page(splitting into columns), image insertion, , text wrap, 32 barcodes, geometric shapes and vector drawing, EPS template support, PDF links, PDF password, Ruby on Rails data grid and multiple output formats.
Create a file with content
doc=RGhost::Document.new doc.show 'Hello World' , :color => :blue doc.render :pdf, :filename => "hello.pdf"
Both above are outdated, please see this wiki, it has been updating constantly …
Last edited by shairontoledo,