SourceForge Project Page

Codabar

also known as: USD-4, NW-7, 2 of 7 code

Example

Example Codabar symbol

Structure

The configuration for the default implementation is:

<barcode>
  <codabar>
      <height>{length:15mm}</height>
      <module-width>{length:0.21mm}</module-width>
      <wide-factor>{number:3.0}</wide-factor>
      <quiet-zone enabled="{boolean:true}">{length:10mw}</quiet-zone>
      <human-readable>
        <placement>{human-readable-placement:bottom}</placement>
        <font-name>{font-name:Helvetica}</font-name>
        <font-size>{length:8pt}</font-size>
        <display-start-stop>{boolean:false}</display-start-stop>
      </human-readable>
  </codabar>
</barcode>

Notes

  • No checksums are implemented at the moment

Message format

  • Valid characters are 0-9, the characters: - $ : / . +
  • Start and stop characters are: a b c d e * n t
  • display-start-stop controls whether the start and stop characters should be included in the human-readable part.