<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN" "document-v11.dtd">
<document>
  <header>
    <title>ITF-14</title>
  </header>
  <body>
    <section id="example">
      <title>Example</title>
      <figure src="../images/example-itf-14.png" alt="Example ITF-14 symbol"/>
    </section>
    <section id="structure">
      <title>Structure</title>
      <p>The configuration for the default implementation is:</p>
      <source>&#60;barcode&#62;
  &#60;<strong>itf-14</strong>&#62;
      &#60;height&#62;{<link href="barcode-xml.html#length">length</link>:32mm}&#60;/height&#62;
      &#60;module-width&#62;{<link href="barcode-xml.html#length">length</link>:1.106mm}&#60;/module-width&#62;
      &#60;wide-factor&#62;{<link href="barcode-xml.html#number">number</link>:2.5}&#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}&#60;/checksum&#62;
      &#60;bearer-bar-width&#62;{<link href="barcode-xml.html#length">length</link>:4.8mm}&#60;/bearer-bar-width&#62;
      &#60;bearer-box&#62;{<link href="barcode-xml.html#boolean">boolean</link>:true}&#60;/bearer-box&#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>:true}&#60;/display-checksum&#62;
      &#60;/human-readable&#62;
  &#60;/<strong>itf-14</strong>&#62;
&#60;/barcode&#62;</source>
    </section>
    <section>
      <title>Notes</title>
      <ul>
        <li>
          Since ITF-14 is basically an enhanced Interleaved 2 of 5, the
          <link href="symbol-interleaved2of5.html">notes from that symbol</link>
          also apply to a certain degree.
        </li>
        <li>
          The default values for ITF-14 shown above represent the nominal size as found in the
          GS-1 specification.
        </li>
        <li>Quiet zones must be at least 10 times the module width.</li>
        <li>
          The "bearer-bar-width" setting controls the thickness of the bearer bar around the
          symbol.
        </li>
        <li>
          The "bearer-box" setting controls whether a bearer box is drawn (true) or if only the
          top and bottom bearer bars are generated (false).
        </li>
      </ul>
    </section>
    <section>
      <title>Message format</title>
      <ul>
        <li>Valid characters are 0-9.</li>
        <li>
          The normal message length for ITF-14 is 14 digits (including the check digit). If the
          checksum mode is set to "auto", Barcode4J automatically adds the checksum if the message
          length is 13 digits. If the message length is 14 digits the checksum is verified.
          If the message is not exactly 13 or 14 digits (depending on your checksum mode setting)
          you will get an error.
        </li>
      </ul>
    </section>
    <section id="links">
      <title>Links</title>
      <ul>
        <li><link href="http://en.wikipedia.org/wiki/ITF-14">Wikipedia on ITF-14</link></li>
      </ul>
    </section>
  </body>
</document>

