<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN" "document-v11.dtd">
<document>
  <header>
    <title>Interleaved 2 of 5</title>
  </header>
  <body>
    <section id="example">
      <title>Example</title>
      <figure src="../images/example-intl2of5.png" alt="Example Interleaved 2 of 5 symbol"/>
    </section>
    <section id="structure">
      <title>Structure</title>
      <p>The configuration for the default implementation is:</p>
      <source>&#60;barcode&#62;
  &#60;<strong>intl2of5</strong>&#62;
      &#60;height&#62;{<link href="barcode-xml.html#length">length</link>:15mm}&#60;/height&#62;
      &#60;module-width&#62;{<link href="barcode-xml.html#length">length</link>:0.21mm}&#60;/module-width&#62;
      &#60;wide-factor&#62;{<link href="barcode-xml.html#number">number</link>:3.0}&#60;/wide-factor&#62;
      &#60;quiet-zone enabled="{<link href="barcode-xml.html#boolean">boolean</link>:true}"&#62;{<link href="barcode-xml.html#length">length</link>:10mw}&#60;/quiet-zone&#62;
      &#60;checksum&#62;{<link href="barcode-xml.html#checksum-mode">checksum-mode</link>:auto=ignore}&#60;/checksum&#62;
      &#60;human-readable&#62;
        &#60;placement&#62;{<link href="barcode-xml.html#human-readable-placement">human-readable-placement</link>:bottom}&#60;/placement&#62;
        &#60;font-name&#62;{<link href="barcode-xml.html#font-name">font-name</link>:Helvetica}&#60;/font-name&#62;
        &#60;font-size&#62;{<link href="barcode-xml.html#length">length</link>:8pt}&#60;/font-size&#62;
        &#60;display-checksum&#62;{<link href="barcode-xml.html#boolean">boolean</link>:false}&#60;/display-checksum&#62;
      &#60;/human-readable&#62;
  &#60;/<strong>intl2of5</strong>&#62;
&#60;/barcode&#62;</source>
    </section>
    <section>
      <title>Notes</title>
      <ul>
        <li>The height should be at least 0.15 times the barcode's length or 0.25 inches, whichever is larger.</li>
        <li>
          The module width (width of narrow element) should be at least 
          7.5 mils (a mil is 1/1000 inch) or 0.19mm.
        </li>
        <li>
          The multiple for the wide element should be between 2.0 and 3.0 <strong>if</strong> 
          the narrow element is greater than 20 mils. If the narrow element is less than 20 mils,
          the ratio must exceed 2.2.
        </li>
        <li>Quiet zones must be at least 10 times the module width or at least 0.25 inches.</li>
        <li>display-checksum controls whether the calculated checksum should be included in the human-readable part.</li>
        <li>
          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.
        </li>
      </ul>
    </section>
    <section>
      <title>Message format</title>
      <ul>
        <li>Valid characters are 0-9.</li>
      </ul>
    </section>
    <section id="links">
      <title>Links</title>
      <ul>
        <li><link href="http://www.adams1.com/pub/russadam/i25code.html">Russ Adams' page on Interleaved 2 of 5</link></li>
        <li><link href="http://www.barcodeman.com/info/c2of5.php">Altek Instruments' page  on Interleaved 2 of 5</link></li>
      </ul>
    </section>
  </body>
</document>

