Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

lablr

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lablr

  • 0.2.0
  • Rubygems
  • Socket score

Version published
Maintainers
2
Created
Source

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:

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

FAQs

Package last updated on 16 Jan 2012

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc