
MDI-4000 Series Serial Interface Manual
85
7.2
How to Add Characters
You can add special characters that provide additional information to the beginning or end of a
barcode. The output format depends on whether you add a prefix/suffix or a
preamble/postamble.
Prefix/Suffix
You can add a prefix or suffix of up to 4 digits to the data string. For each barcode symbology,
you can specify characters to add before or after the data. By default, the prefix is empty and
the suffix for all barcodes is the
“CR” character.
Note:
If the number of configured prefix/suffix characters exceeds the maximum of 4 digits, the
configuration is ignored.
Note:
You cannot add a prefix or suffix if you are using Optical Character Recognition Data Edit
Reading. For more information, see
“Optical Character Recognition” on page 59
Preamble/Postamble
You can add a preamble or postamble of up to 8 digits to the data string. For all barcode
symbologies, you can specify characters to add before or after the data. By default, the
preamble and postamble are empty.
Preamble
Prefix
for each code
Decoded Data
Suffix
for each code*
Postamble
8 digits max
4 digits max
4 digits max
8 digits max
*By default, <CR> is added to suffix. To clear the default suffix, use the
“RZ” command.
Figure 40: Prefix/Suffix and Preamble/Postamble
7.2.1
How to Set the Prefix/Suffix
When you set the prefix/suffix, the prefix/suffix commands clear the current values, including the
default suffix “CR” and configure new settings.
For all barcodes, the default suffix is:
•
HID: “Enter”
•
COM:
“CR”
•
UART:
“CR”
To set the Prefix/Suffix
1. Send a prefix/suffix command from
“Prefix/Suffix Commands” on page 85
2. Send a value command from
“Prefix/Suffix Value Commands” on page 86
Содержание MDI-4000 Series
Страница 4: ...MDI 4000 Series Serial Interface Manual iv...
Страница 12: ...MDI 4000 Series Serial Interface Manual xii...