Honeywell MX7 Webcam User Manual


 
8 - 33
Control Code Replacement Examples
Bar Code Processing Examples
The following table shows examples of stripping and prefix/suffix configurations. The examples assume that the scanner is
configured to transmit an AIM identifier.
Provided that the wedge is configured with the above table, following are examples of scanned bar code data and results of
these manipulations.
Configuration
data
Translation
Example
Control
Character
Example
configuration
Translated data
Ignore(drop) The control character is discarded
from the bar code data, prefix and
suffix
ESCape ‘Ignore (drop)’ 0x1B in the bar code is
discarded.
Printable text Text is substituted for Control Char-
acter.
Start of TeXt ‘STX’ 0x02 in a bar code is con-
verted to the text ‘STX’.
Hat-encoded text The hat-encoded text is translated
to the equivalent hex value.
Carriage Re-
turn
‘^M’ Value 0x0d in a bar code
is converted to the value
0x0d.
Escaped hat-en-
coded text
The hat-encoding to pass thru to
the application.
Horizontal Tab ‘\^I’ Value 0x09 in a bar code
is converted to the text
‘^I’.
Hex-encoded
text
The hex-encoded text is translated
to the equivalent hex value.
Carriage Re-
turn
‘0x0A’ Value 0x0D in a bar code
is converted to a value
0x0A.
Escaped hex-en-
coded text
The hex-encoding to pass thru to
the application.
Vertical Tab ‘\0x0A’ or ‘0\x0A’ Value 0x0C is a bar code
is converted to text ‘0x0A’
Symbology
All EAN-128 (]C1) EAN-13 (]E0) Intrlv 2 of 5 (]IO) Code93
Enable Enabled Enabled Enabled Enabled Disabled
Min length 1 4 1 1
Max length all all all 10
Strip Code ID Enabled Enabled Disabled Enabled
Strip Leading 3 0 3 3
Strip Bar Code Data ‘*123’ ‘1*’ ‘456’
Strip Trailing 0 0 3 3
Prefix ‘aaa’ ‘bbb’ ‘ccc’ ‘ddd’
Suffix ‘www’ ‘xxx’ ‘yyy’ ‘zzz’
Bar Code Symbology Raw Scanner Data
Resulting Data
EAN-128 ]C11234567890123 bbb1234567890xxx
EAN-128 ]C111234567890123 bbb11234567890xxx
EAN-128 ]C1123 < rejected > (too short)
EAN-13 ]E01234567890987 ccc]E04567890yyy
EAN-13 ]E01231234567890987 ccc]E0234567890yyy