
22
7.2.1.3 Extracting AI (Application Identifier)-prefixed strings
If the scanner reads any of GS1-128 (EAN-128) and GS1DataBar (RSS) symbols, it edits the data according to AI
and outputs it in the data transmission format selected in the scanner (see Chapter 9, Section 9.4).
The “AI-prefixed string” extraction is available in two modes--AI-delimited mode and AI parenthesizing mode. AI 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 AI specified (up to three types of AI) and separates them
with the specified delimiters (selectable from headers / terminators, commas and tabs) instead of AI to output
them.
Extraction conditions
Extraction conditions Setting data
“Transmit data regardless of the results” Permit/Prohibit
If the scanner fails to extract an AI-prefixed string when the “Transmit data regardless of the results” 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, Scanner ID : Disable, Code ID mark : Disable,
Transmission of the number of digits : 2 digits, Prefix / Suffix : None, BCC : Disable
AI specified Output data
01,11,13 [STX]1494901234567894[ETX][STX]06030808[ETX][STX]06030810[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 scanner ID, code ID mark, the number of
digits, prefix, and suffix is added even if their transmissions are enabled.
Example Data read : (01)94901234567894(11)030808(13)030810
Header : STX, Terminator : ETX, Scanner ID : Disable, Code ID mark : Disable,
Transmission of the number of digits : Disable, Prefix/Suffix : None, BCC : Disable
AI specified Output data
01,11,13 [STX]94901234567894,030808,030810[ETX]
Tab (ASCII 09H (HT))
Specifying a tab as delimiters outputs tab-delimited data. No tab follows the tail of the data.
A header and terminator are added to the full string. None of a scanner ID, code ID mark, the number of
digits, prefix, and suffix is added even if their transmissions are enabled.
Example Data read : (01)94901234567894(11)030808(13)030810
Header : STX, Terminator : ETX, Scanner ID : Disable, Code ID mark : Disable,
Transmission of the number of digits : Disable, Prefix/Suffix : None, BCC : Disable
AI specified Output data
01,11,13 [STX]94901234567894[TAB]030808[TAB]030810[ETX]
Comentários a estes Manuais