5 - 38 DS6878 Product Reference Guide
Multicode Expression
Parameter # 661
Use this feature to program a multicode expression for
indicates any bar code.
To set the multicode expression:
Scan the bar code below.
1.
Scan bar codes from the alphanumeric keyboard in
2.
expression.
Scan the
3.
End of Message
Multicode Expression Syntax
[n] [Element 1]; [Element 2 ]; ... [Element n];
Where:
n is the number of elements in the overall expression.
The multicode expression describes the bar code(s) that the digital scanner can expect to find in an
image. Each element represents one bar code in the digital scanner's field of view. The order of elements
in the expression is the order in which bar code data from each element transmits to the host. Elements
are defined using one or more of the following methods:
•
. This type of element limits decoding to a specific area within the digital scanner's field of view.
By Region
Region coordinates are defined as the top left and bottom right corners of the region, expressed in
percentages of the field of view. These can range from 0% to 100%, or 0x00 to 0x64 in hex, for both
horizontal and vertical axes. A region element is constructed as:
[R] [4] [Top, Left] [Bottom, Right]
Where:
• [R] is the character R
• [4] is 0x04, indicating there are four bytes thereafter to describe the region
• [Top, Left] are two values representing the top left corner of the region
• [Bottom, Right] are two values representing the bottom right corner of the region
•
By Code Type
the field of view. A code type element is constructed as:
[C] [2] [Code Type]
Where:
• [C] is the character C
• [2] is 0x02, indicating there are two bytes thereafter to describe the code type
• [Code Type] is the desired symbology's parameter number (see
single-byte parameter numbers, extend the value to two bytes by adding 00 before the parameter
number.
bar code from
Multicode Expression
. An element can specify a specific bar code symbology to find and decode somewhere in
Multicode Mode
Chapter 16, Advanced Data Formatting
Chapter 16, Advanced Data
(grid method). The default is 1, which
to define the
Formatting.
Chapter 15,
Symbologies). For