242
Programming Reference Guide
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
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:
Scanned bar code data:12345
Resulting message string output: $12345
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
representing your desired character(s). If less
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.
NOTE
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.
Prefix
Suffix
AIM ID
Label ID
Label ID
Bar Code Data
00 - 20 Characters (ASCII)
AND
OR
OR...
Summary of Contents for Linear Barcode Scanner II
Page 1: ...HP Linear Barcode Scanner II Programming Reference Guide ...
Page 10: ...viii Programming Reference Guide ...
Page 240: ...Symbologies 230 Programming Reference Guide NOTES ...
Page 288: ...278 Programming Reference Guide Code 32 Codabar Code 93 Code 11 ...
Page 290: ...280 Programming Reference Guide NOTES ...
Page 292: ...282 Programming Reference Guide 6 7 8 9 ...
Page 293: ...Programming Reference Guide 283 A B C D E F ...
Page 294: ...284 Programming Reference Guide NOTES ...
Page 306: ......