h1. Lablr
Lablr is a Ruby Gem for generating printable labels in a variety of formats(pdf, html, etc.) and templates.
h2. Supported Label Templates
The following templates are supported by Lablr:
h2. Requirements
Lablr uses HTMLDOC and the htmldoc gem to generate pdf files. You need to install HTMLDOC like so:
sudo apt-get install
Then install the htmldoc gem:
sudo gem install htmldoc
h2. Installation
gem install lablr
h2. Usage
# Generate PDF Label Sheet
Lablr.generate_labels(:template => :avery_5163, :format => :pdf, :content => "Test Label!")
# Generate PDF and write to file
Lablr.generate_labels(:template => :avery_5163, :format => :pdf, :content => "Test Label!", :to_file => "x.pdf")