Home > printable

printable

Printable is a project mainly written in Ruby, it's free.

two layer pdf generation with a nice dsl

h1. Printable

This is a gem that aims to provide simple PDF generation for a model using a basic DSL. The idea is to use a background image and tie an attribute from a model to a set of X-Y coordinates on the background. Ideally there will be a web based XY selector at some point that will help create the DSL for you. Associations will be supported through chained method calls. Also, attributes returning arrays will also be supported (for listing line items).

h3. Todo

Write example DSL

Fail the tests

Create basic DSL parser

Write generator using prawn and pdftk

Test the f(ail) out of it

Make DSL generator app

mac 10.6.2 pdftk installer: http://fredericiana.com/2010/03/01/pdftk-1-41-for-mac-os-x-10-6/