Universal Menu Book/String options/Set prefix and suffix

From OptiWiki

Jump to: navigation, search


A prefix and suffix of maximum 4 direct input entries each may be included in front and at the end of the string respectively.

Bar code readers with an RS232 interface may be programmed with all 128 ASCII characters. Keyboard wedges may additionally be programmed with the special keys supported by the keyboard, e.g. function keys.

Default settings are:

  • RS232: Prefix - None, Suffix - ^M (CR)
  • Wedge: Prefix - None, Suffix - return

How to set a prefix or a suffix:
To configure a prefix for example for Code-39 as C39: scan the following labels from this current chapter "String Options":
<Set prefix Code 39>

Bar code readers which do not support a different prefix or suffix for each symbology have to make use of <ALL>.

How to clear a prefix or suffix:
To clear the suffix for example for Code 128 scan the following labels from this current chapter "String Options":
<Set suffix Code 128>

How to set a suffix for all symbologies:
To configure for example the suffix <CR> for all symbologies scan the following labels:
<Set suffix ALL>
<^M (CR)>

Note that this last example is for an RS232 interface. For a wedge interface a ^M (CR) results in the key combination <ctrl>M.

If the direct input keyboard key <return> from this chapter is selected then the result is a <carriage return> or <Enter> key. See figure 4.03.


Preamble and postamble:
A preamble is transmitted before the prefix and can contain up to 8 direct input characters. A postamble is transmitted after the suffix and can contain up to 8 direct input characters. A preamble and postamble will be transmitted for all symbologies. By default, the preamble and postamble is empty.

Code identification Opticon:
A code identification and the code length may be included as a prefix or suffix. The direct input "code identifier" provides a quick method of programming in addition to programming a separate prefix or suffix for each bar code type. See figure 4.04.


Code identification AIM/ISO:
The Code identifier will be transmitted in the ISO 15424 format : ]cm, where:

  • ] is ASCII value decimal 93
  • c is code character
  • m is modifier character(s)

For a detailed list of the modifier character "m" and the AIM-ID’s, refer to the ISO15424 standard. See figure 4.05.

In case the modifier is an asterix (*), the value depends on the options of the symbology or on the configured Code options. For details refer to their own respective modifier tables. See figures 4.06 up to 4.16.

Code length:
The code length is transmitted as 2 digits, representing the decimal number of data characters transmitted, excluding prefix and suffix characters. For 2D bar codes the code length is transmitted as 6 digits. It is also possible to send for both 1D and 2D codes the length as 6 digits.

These direct input characters count as 1 entry of the 4 permissible entries for a prefix or suffix.

<Set prefix all>

If you want to use the code identifiers, but need another code identifier for Code 39, you scan the following labels:
<Code identification>
<Code length>

If you want to configure the prefix <code identifier>:<code length>: scan the following labels:
<Set prefix all>
<Code identification>
<Set prefix Code 39>













Personal tools