beautypg.com

Advanced data formatting, Introduction, Rules: criteria linked to actions – Motorola LS3478 User Manual

Page 211: Chapter 14, Chapter 14, advanced data formatting, Adf) de, Chapter 14 advanced data formatting

background image

Chapter 14 Advanced Data Formatting

Introduction

Advanced Data Formatting (ADF) is a means of customizing data before transmission to the host device. Scan
data can be edited to suit the particular requirements.

ADF can be implemented through scanning a related series of bar codes, which begin on

page 14-6

, or by

installing the 123Scan utility (see

Chapter 11, 123Scan

) which allows the scanner to be set up and programmed

with Advanced Data Formatting (ADF) Rules.

Rules: Criteria Linked to Actions

In ADF, data is customized through rules. These rules perform detailed actions when the data meet certain criteria.
One rule may consist of single or multiple criteria applied to single or multiple actions.

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.

If a Code 39 bar code of 1299X1559828 is scanned, the following is transmitted: 00001299. If a Code 39
bar code of 1299X15598 is scanned, this rule is ignored because the length criterion has not been met.

The rule specifies the editing conditions and requirements before data transmission occurs.

NOTE

If the Wand Emulation interface is being used with the scanner, it is not possible to use ADF rules to
format the data unless

Convert All to Code 39 on page 9-6

is enabled.