public
Description: The Ruby barcode generator
Homepage: http://barby.rubyforge.org/
Clone URL: git://github.com/toretore/barby.git
barby /
name age message
file .gitignore Sun Feb 17 12:49:50 -0800 2008 Ignoring files [toretore]
file CHANGELOG Wed Jul 16 11:38:53 -0700 2008 Update changelig [toretore]
file LICENSE Mon Mar 17 06:16:18 -0700 2008 Added license [toretore]
file README Mon Mar 17 14:05:14 -0700 2008 Added some more documentation [toretore]
file Rakefile Sat Jul 19 05:56:18 -0700 2008 Update site + rdoc [toretore]
directory bin/ Wed Jul 16 11:25:36 -0700 2008 Update barby bin [toretore]
directory lib/ Wed Oct 29 05:45:51 -0700 2008 Remove custom Prawn require now that it's a gem [toretore]
directory pkg/ Wed Jul 16 11:35:39 -0700 2008 Add 0.2 gem [toretore]
directory site/ Tue Oct 14 03:38:23 -0700 2008 Move Bookland to EAN13 where it belongs [toretore]
directory spec/ Wed Oct 29 04:34:10 -0700 2008 Add TODO [toretore]
directory vendor/ Sat Jul 12 14:46:59 -0700 2008 Add QRCode using RQRCode [toretore]
README
Barby is a Ruby barcode generator. It does not depend on other libraries
(for the core functionality) and is easily extentable.

The barcode objects are separated from the process of generating graphical
(or other) representations. A barcode's only responsibility is to provide
a string representation consisting of 1s and 0s representing bars and spaces.
This string can then be used to generate (for example) an image with the
RMagickOutputter, or an ASCII string such as the one below.

See Barby::Barcode and Barby::Outputter for more information.

 require 'barby'
 require 'barby/outputter/ascii_outputter'

 barcode = Barby::Code128B.new('BARBY')
 
 puts barcode.to_ascii

 ## #    #  #   # ##   # #   ##   ##   # ### #   # ##   ### ## #   ## ### ### ##   ### # ##
 ## #    #  #   # ##   # #   ##   ##   # ### #   # ##   ### ## #   ## ### ### ##   ### # ##
 ## #    #  #   # ##   # #   ##   ##   # ### #   # ##   ### ## #   ## ### ### ##   ### # ##
 ## #    #  #   # ##   # #   ##   ##   # ### #   # ##   ### ## #   ## ### ### ##   ### # ##
 ## #    #  #   # ##   # #   ##   ##   # ### #   # ##   ### ## #   ## ### ### ##   ### # ##
 ## #    #  #   # ##   # #   ##   ##   # ### #   # ##   ### ## #   ## ### ### ##   ### # ##
 ## #    #  #   # ##   # #   ##   ##   # ### #   # ##   ### ## #   ## ### ### ##   ### # ##
 ## #    #  #   # ##   # #   ##   ##   # ### #   # ##   ### ## #   ## ### ### ##   ### # ##
 ## #    #  #   # ##   # #   ##   ##   # ### #   # ##   ### ## #   ## ### ### ##   ### # ##
 ## #    #  #   # ##   # #   ##   ##   # ### #   # ##   ### ## #   ## ### ### ##   ### # ##
            B          A          R          B          Y