#-- # Copyright 2012 Michael Chaney Consulting Corporation # # Released under the terms of the MIT License or the GNU # General Public License, v. 2 #++ RELEASE VERSION This is an implementation of 1D barcodes in pure Ruby. Code currently works to generate and decode Code 128, Code 3 of 9, Code 93, Code 11, Codabar, Interleaved 2 of 5 (I 2/5), COOP 2 of 5, Matrix 2 of 5, Industrial 2 of 5, IATA 2 of 5, PostNet, Plessey, MSI (Modified Plessey), EAN-13, EAN-8, UPC-A, UPC-E, UPC Supplemental 2, and UPC Supplemental 5 symbologies. This is a pretty complete set of 1D symbologies and most or all other common symbologies are based on one of the above. As of the 2000s most bar code advancement is taking place in the 2D realm so it's unlikely that anything more will come about. Additionally, Code 128 is general purpose and sufficiently compact and robust enough to cover any application. I recommend any new application using 1D barcodes use Code 128. Strictly numeric data might also use Interleaved 2 of 5. Of course, 2D barcodes are common now but 1D codes still have a huge installed base of readers and are generally easier to deal with. Contact Michael Chaney Consulting Corporation for commercial support for this code: sales@michaelchaney.com I also have a fairly complete Perl implementation at: https://github.com/mdchaney/barcodes I believe those work fine, but consider it legacy code. Copyright 2012 Michael Chaney Consulting Corporation, All Rights Reserved Released under the terms of the MIT License or the GPL version 2 license.
Project
barcode1dtools
Barcode1D is a pure Ruby gem for handling many kinds of
1-dimensional barcodes. Implemented are Code 128, Code 3 of 9, Code
93, Code 11, Codabar, Interleaved 2 of 5, COOP 2 of 5, Matrix 2 of
5, Industrial 2 of 5, IATA 2 of 5, PostNet, Plessey, MSI (Modified
Plessey), EAN-13, EAN-8, UPC-A, UPC-E, UPC Supplemental 2, and UPC
Supplemental 5. Patterns are created in either a simple format of
bars and spaces or as a run-length encoded string. This only
generates and decodes the patterns; actual display or reading from a
device must be implemented by the programmer.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
Development
Primary Language
Ruby
Licenses
MIT and GPL-2
Dependencies
Project Readme