82 Barcodes for Ruby on Rails

I’ve just updated RGhost Barcode, I got last update from BWIPP Terry Burton code and I adapted it to RGhost Barcode v0.9.


RGhost and BWIPP have been created using postscript as core language, the integration is pretty easy to do, there are some advantages to using RGhost and RGhost Barcode(with BWIPP) to render barcodes, among them we can highlight:

  • All complexity is done in low-level, the code runs faster than using a pure-ruby code to do it.
  • It improves the backend performance using Ghostscript native libraries.
  • Many output formats are supported, such pdf, png, jpg, tif, ps, etc.
  • With RGhost templates and RGhost Barcode you can easily create pretty neat documents, using images, shapes, custom fonts and of course, your creativity.

New barcodes

Now it supports new 50 barcodes types, in a total of 82 barcodes, BWIPP supports more barcode formats than any other free or commercial software.
For most of types, only pass the barcode string then the method will render it properly.

The big list

Here is the list of supported barcodes

Installation

Use gem or bundler to install it, but make sure whether rghost version is >= 0.8 and rghost_barcode is >= 0.9.

gem install rghost
gem install rghost_barcode -v=0.9

A simple example using QRCode

require 'rghost'
require 'rghost_barcode'

RGhost::Document.new do |doc|
 doc.barcode_hibcqrcode "A123BJC5D6E71"
 doc.render :pdf, :filename => "my_nice_qrcode.pdf"
end

Need more Info

Barcode Writer in Pure PostScript
RGhost Barcode
RGhost
RGhost Rails

Enjoy it!

Post a comment

You may use the following HTML:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>