Sha256: 907286961661280011e7a6cced5c0b8cb1d8a9348a90d3a6261aa3a5d195207c

Contents?: true

Size: 816 Bytes

Versions: 1

Compression:

Stored size: 816 Bytes

Contents

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:

* Avery 5163/5963

h2. Requirements

Lablr uses HTMLDOC and the htmldoc gem to generate pdf files. You need to install HTMLDOC like so:

<pre>
sudo apt-get install
</pre> 

Then install the htmldoc gem:
<pre>
sudo gem install htmldoc
</pre> 

h2. Installation
<pre>
gem install Lablr
</pre>

h2. Usage

<pre>
# 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")

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lablr-0.0.1 README.textile