17
Chapter 7 Scanning Functions
7.1 Editing Data
You can edit and output code data read, in any of the two data edit modes—“data extraction mode,” and “ADF script
mode.” These data edit modes can be selected with the configuration software (Scan Tune App). The default is “No
editing.”
In the case of multi-line bar codes, unless all code ID marks read are matched, the data editing processing will result
in an error regardless of whether or not the data read contains any error. Whether the code ID mark matching is not
determined by the combination of code ID marks but by Type 1 only (refer to Chapter 9, Section 9.3).
7.1.1 Extracting AI (Application Identifier)-prefixed strings
If the scanner reads any of GS1-128 (EAN-128), GS1 DataBar (RSS), and EAN.UCC Composite symbols (excluding
linear components in a UPC/EAN Composite symbol), it edits the data according to AIs and outputs it in the data
transmission format selected in the scanner (see Chapter 9, Section 9.3).
The “AI-prefixed string” extraction is available in two modes—AI-delimited mode and AI parenthesizing mode. AIs
to be used for data editing are listed in (3) AI table later.
(1) AI-delimited mode
In this mode, the scanner extracts strings prefixed with AIs specified (up to three types of AIs) and separates them with the
specified delimiters (selectable from headers/terminators, commas and tabs) instead of AIs to output them.
Extraction conditions
Extraction conditions
Choices
“Data transfer regardless of error result
”
Permit/Prohibit
If the scanner fails to extract an AI-prefixed string when the
“
Data transfer regardless of error result
”
is permitted, it
outputs the data read as is without editing.
Delimiters
Header/terminator
Specifying a header/terminator as delimiters prefixes a header and suffixes a terminator to each element string
separated.
A scanner ID, code ID mark, the number of digits, prefix, and suffix can be also added to each element string if their
transmissions are enabled. The number of digits is the count of each element string edited.
Example Data read: (01)94901234567894(11)030808(13)030810
Header: STX, Terminator: ETX, Code ID mark: Disable,
Transmission of the number of digits: Enable
AIs specified
Output data
01, 11, 13
[STX]001494901234567894[ETX][STX]0006030808[ETX][STX]0006030810[ETX]
Comma
Specifying a comma as delimiters outputs comma-delimited data. No comma follows the tail of the data.
A header and terminator are added to the full string. None of a code ID mark and the number of digits is added even if
their transmissions are enabled.
Example Data read: (01)94901234567894(11)030808(13)030810
Header: STX, Terminator: ETX, Code ID mark: Disable,
Transmission of the number of digits: Disable
AIs specified
Output data
01, 11, 13
[STX]94901234567894,030808,030810[ETX]