RubyGems.org

syc-barcode

0.0.2

Barcode

Creating barcodes (at the moment only Interleaved2of5).

Usage

Create the barcode string and the barcode graphics data

i2o5 = Interleave2of5("01199")
code = i2o5.encode
barcode = i2o5.barcode
pdf = Prawn::Document.new
barcode.to_pdf(pdf)

When used with rails add

require 'interleave2of5'

to config/application.rb

The barcode can be used to create a graphical representation of the barcode.

Release Notes

  • Version 0.0.1 Create barcode Interleaved 2 of 5 that can be added to a pdf file

  • Version 0.0.2 Fix check digit calculation

Licencse

Barcode is published under the MIT license

installgem install syc-barcode
Authors

Pierre Sugar

800 total downloads 426 for this version
Owners

Be6f00c0eca5a388684b15edff85880b

Gemfile
gem 'syc-barcode', '~> 0.0.2'
Versions
  1. 0.0.2 June 16, 2013 (5.5 KB)
  2. 0.0.1 June 14, 2013 (5.5 KB)
Runtime Dependencies
  1. prawn >= 0
Development Dependencies
  1. rdoc >= 0
  2. rspec >= 0