SourceForge Project Page

Interleaved 2 of 5


Example Interleaved 2 of 5 symbol


The configuration for the default implementation is:

      <quiet-zone enabled="{boolean:true}">{length:10mw}</quiet-zone>


  • The height should be at least 0.15 times the barcode's length or 0.25 inches, whichever is larger.
  • The module width (width of narrow element) should be at least 7.5 mils (a mil is 1/1000 inch) or 0.19mm.
  • The multiple for the wide element should be between 2.0 and 3.0 if the narrow element is greater than 20 mils. If the narrow element is less than 20 mils, the ratio must exceed 2.2.
  • Quiet zones must be at least 10 times the module width or at least 0.25 inches.
  • display-checksum controls whether the calculated checksum should be included in the human-readable part.
  • Since this symbology interleaves two characters (one character in the bars, the next in the spaces), the message returned by the scanner always has an even number of digits. A zero digit is added in front if necessary.

Message format

  • Valid characters are 0-9.