Global Prefix/Suffix - HP Linear Barcode Scanner II Programming Reference Manual

Hide thumbs Also See for Linear Barcode Scanner II:
Table of Contents

Advertisement

Global Prefix/Suffix

Up to 20 ASCII characters may be added as a prefix (in a position before the bar
code data) and/or as a suffix (in a position following the bar code data) as indi-
cated in Figure 4.
Figure 4. Prefix and Suffix Positions
Example: Setting a Prefix
In this example, we'll set a prefix for all symbologies.
1. Determine which ASCII character(s) are to be added to scanned bar code
data. In this example, we'll add a dollar sign ('$') as a prefix.
2. Scan the ENTER/EXIT bar code.
3. Scan the SET GLOBAL PREFIX bar code.
4. Reference the ASCII Chart on the inside back cover of this manual, to find
the hex value assigned to the desired character. The corresponding hex
number for the '$' character is 24. To enter this selection code, scan the
'2' and '4' bar codes from
NOTE
5. If less than the expected string of 20 characters are selected, scan the
ENTER/EXIT bar code to terminate the string.
6. Scan the ENTER/EXIT bar code once again to exit Programming Mode.
7. The resulting message string would appear as follows:
This option sets up to 20 characters each from the set of ASCII characters or
any hex value from 00 to FF. To configure this feature, scan the ENTER/EXIT bar
code to place the unit in Programming Mode, then the "Set Global Prefix" or "Set
Global Suffix," bar code followed by the digits (in hex) from the Alphanumeric
characters in
than the expected string of 20 characters are selected, scan the ENTER/EXIT bar
code to terminate the string. Reference the section,
page 242, for more information. Exit programming mode by scanning the
ENTER/EXIT bar code once again.
242
Prefix
Label ID
AIM ID
If you make a mistake before the last character, scan the CANCEL bar
code to abort and not save the entry string. You can then start again at
the beginning.
Scanned bar code data:12345
Resulting message string output: $12345
Appendix D, Keypad
OR...
Bar Code Data
Label ID
00 - 20 Characters (ASCII)
AND
OR
Appendix D,
Keypad.
representing your desired character(s). If less
"Example: Setting a Prefix"
Programming Reference Guide
Suffix
on

Advertisement

Table of Contents
loading

Table of Contents