LXE mx6 Verweisanleitung

Seite von 338
Settings Options 
115 
E-EQ-MX6RG-E 
 
MX6 Reference Guide 
Configuration data 
Translation 
Translated data 
Escaped hex-encoded 
text 
The hex-encoding to pass thru to the 
application. 
e.g. Vertical Tab 
Example configuration is ‘\0x0A’ or 
‘0\x0A’ 
Value 0x0C is a barcode is 
converted to text ‘0x0A’ 
 
If the receiving application recognizes hat-encoded characters instead of hex values, the user will 
'escape' the hat (^) by entering backslash-hat (\^). So to enter the hat encoding for Carriage Return, 
the user would enter '\^M' in the Replacement edit control and then assign it to Carriage 
Return. The Wedge translates the ‘\^M’ into '^M' in the data buffered for the receiving 
application. In this case, the receiving application would have to interpret ‘^M’ and process it. 
The above statement is true for hex-encoded characters, as well. If control codes are needed, hat-
encoded characters or hex-encoded data can be assigned to the control character. 
Interaction between Strip Leading/Trailing and Prefix/Suffix Settings 
1. 
Replacements are not done on the Prefix and Suffix, only the barcode data, for both Block 
and Key Message mode. Control characters in the Prefix and Suffix are translated when 
Translate All is enabled.   
2. 
Replacements are done on the barcode data and then characters are stripped for both Strip 
Leading and Strip Trailing features. As an example, suppose we have the following data 
and configuration: 
- The barcode scanned begins with Group Separator (GS) followed by the character ‘A’ 
- Group Separator is translated to ‘GS’ 
- Strip Leading is set to 2 
In this case, the Group Separator is translated to ‘GS’ and then the ‘GS’ is stripped by the 
Strip Leading setting; rather than the Group Separator and ‘A’ being stripped. 
3. 
If Translate All is enabled and replacements are assigned, the assigned replacements take 
precedence over the default one-to-one translation enabled by Translate all. For example if 
Translate All is enabled and Carriage Return is replaced by ^J, the value, 0x0d, in the 
barcode (prefix and suffix) are replaced with CTRL+Shift+J instead of CTRL+Shift+M 
keystrokes in Key Message mode. 
4. 
Since the assigned replacements are applied before the Translate All is performed, if a 
control character is set to ‘Ignore (drop)’ by the assigned replacements, it is discarded 
before the Translate All processing is performed and is therefore not translated. 
5. 
Since the assigned replacements are applied before the Translate All is performed, if a 
control character is set to text by the assigned replacements, the text is substituted for the 
control character.  In this case, the control character would not be in the data processed by 
the Translate All feature. 
6. 
If the application that is accessing the Barcode Wedge in Block mode, supports Hat 
encoded characters, like ^M, hat encoded characters can be assigned in the defined action 
and then interpreted by the receiving application by using the ‘escape’ format described 
above. The same is true for hex-encoded characters. 
See “Hat Encoding” and “Decimal-Hexadecimal Chart” at the end of this chapter.