RubyGems Navigation menu

syc-barcode 0.0.3

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

  • Version 0.0.3 Add valid? to check whether a decoded value (e.g. by a barcode scanner) is valid

Licencse

Barcode is published under the MIT license

Gemfile:
= 复制到剪贴板 已复制!

安装:
=

版本列表:

  1. 0.0.3 - July 06, 2014 (6.0 KB)
  2. 0.0.2 - June 16, 2013 (5.5 KB)
  3. 0.0.1 - June 14, 2013 (5.5 KB)

Runtime 依赖 (1):

prawn >= 0

Development 依赖 (2):

rdoc >= 0
rspec >= 0

业主:

作者:

  • Pierre Sugar

SHA 256 校验和:

2e477424325db94be93dff758cea51b8b1c2dae1cbcb3506b73211964bdedae9

下载总量 8,814

这个版本 3,685

许可:

需要的 Ruby 版本: >= 0

链接: