3-1
Chapter 3
Advanced Data Formatting (ADF)
Introduction
Advanced Data Formatting (ADF) is a means of customizing, or editing, the data scanned by
the scanner before transmitting the data to your host device. Scanned data can be edited to
suit your particular requirements.
ADF is implemented by scanning a related series of bar codes to create rules to apply to the
scanned data. These bar codes appear later in this chapter.
Rules: Criteria Linked to Actions
In ADF, data is customized through
rules
. These rules perform specific actions when the data
meets certain criteria. One rule may consist of single or multiple actions applied to single or
multiple criteria.
For instance, a data formatting rule could be the following:
Criteria: When scan data is Code 39, length 12,
and data at the start position is the string “129”,
Actions: pad all sends with zeros to length 8,
send all data up to X,
send a space.
In this example, if a Code 39 bar code of 1299X1559828 is scanned, the following is
transmitted: 00001299<space>. If a Code 39 bar code of 1299X15598 is scanned, this rule
is ignored because the length (10 characters) does not pass the criteria.
The rule specifies the editing conditions and requirements before data transmission occurs.