![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/8/04/8049be07-9718-4959-9f80-0eca3dfbc121/8049be07-9718-4959-9f80-0eca3dfbc121-bg82.png)
114 Settings | Control Panel Options
MX7 Reference Guide E-EQ-MX7RG-B
message mode sends the prefix, barcode, and suffix to the application with the focus as
keystrokes. In Key message mode all keys on the keypad can be entered.
When the “Send Key Messages” is not checked, Block mode is enabled. Block mode allows
ASCII characters (0x0 – 0x7F), plus backspace, tab, delete, return and escape. In Block mode the
prefix/suffix data is added to the beginning and end of the buffered barcode data that can then be
read by an application from the WDG: device.
Up to 19 characters can be specified for the prefix and up to 19 characters can be specified for the
suffix. The characters can be text or control characters, e.g. tab, carriage return. The characters
can be entered into the prefix and suffix text boxes by typing from the keypad, entering the key’s
hex equivalent, or entering in hat ( ^ ) encoded delimited (8-bit code table) notation.
• To enable the Prefix or Suffix processing, check the associated checkbox. When the box
is checked, the edit controls to the right are enabled. Keys/characters are typed into the
edit control following the checkbox.
• Selecting the Add button then adds the key to the associated list of keys in the read-only
edit control to the right of the Add / Clear buttons. The keys are shown as comma-
delimited strings.
• To erase the Prefix or Suffix, select the read-only edit control that contains the currently
configured Prefix or Suffix and select the Clear button.
• The Add and Clear buttons function on the control that is selected when the button is
pressed.
• Hex values can be entered by preceding the two digit hex value with ‘0x’. Control
characters can also be entered using the ‘hat’ delimited notation, i.e. ^M for Carriage
Return.
• All keypad keys can be entered by typing the key. Some keypad keys are only valid if in
“Key Message” mode. For example, the Function Keys (F1, PF1) are only valid in “Key
Message” mode.
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