Note that there are some explanatory texts on larger screens.

plurals
  1. PO"Codabar" barcode generation seems not correct with rghost_barcode in ruby
    primarykey
    data
    text
    <p>I referred to <a href="https://github.com/shairontoledo/rghost-barcode/wiki/82-Barcodes" rel="nofollow noreferrer">here</a> and ran the following code in ruby:</p> <pre><code>require 'rghost' require 'rghost_barcode' doc=RGhost::Document.new doc.barcode_rationalizedCodabar('515893649655',{:text=&gt;{:size=&gt;8}, :enable=&gt;[:text, :checkintext, :check]}) doc.render :pdf, :resolution =&gt; 300, :filename =&gt; "barcode.pdf" </code></pre> <p>Below is the generated barcode:</p> <p><img src="https://i.stack.imgur.com/KONMq.png" alt="enter image description here"></p> <p><strong>The problem:</strong> I was not able to read this barcode with my barcode reader, and this barcode looks different from the one generated with online free barcode generator <a href="http://www.racoindustries.com/barcodegenerator/1d/codabar.aspx" rel="nofollow noreferrer">here</a>: <img src="https://i.stack.imgur.com/UZV9e.jpg" alt="enter image description here"></p> <p>You may notice the difference in the very first bars, where red rectangle.</p> <p>I thought maybe this is because I was generating "rationalizedCodabar". But the article <a href="https://code.google.com/p/postscriptbarcode/wiki/RationalizedCodabar" rel="nofollow noreferrer">here</a> says that it is the same as "Codabar".</p> <p><strong>Is there anyone who ever tried codabar generation successfully with ruby with whatever gem?</strong></p> <p>In general, I'm looking for an established barcode generator for Code39 and Codabar to generate barcodes within from RoR application.</p> <p>I'm aware of the "barby" gem, but it seems it doesn't generate Codabar barcodes...</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload