0.0
No commit activity in last 3 years
No release in over 3 years
= 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
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

>= 0
>= 0

Runtime

>= 0
 Project Readme

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