Insert symbology name, Insert barcode length – Honeywell Granit 1991iSR Ultra-Rugged Standard-Range Barcode Scanner User Manual

Page 142

Advertising
background image

126

Granit XP User Guide

B9 and BA Example: Look for the string “AB” and insert 2 asterisks (**)

Using the barcode above, send all characters up to but not including “AB.” Insert 2
asterisks at that point, and send the rest of the data with a carriage return after.

Command string:

B900024142BA00022A2AF10D

B9 is the “Send all characters up to a string” command

0002 is the length of the string (2 characters)

41 is the hex value for A

42 is the hex value for B

BA is the “Insert a string” command

0002 is the length of the string to be added (2 characters)

2A is the hex value for an asterisk (*)

2A is the hex value for an asterisk (*)

F1 is the “Send all characters” command

0D is the hex value for a CR

The data is output as:

1234567890**ABCDEFGHIJ
<CR>

Insert symbology name

B3

Insert the name of the barcode symbology in the output message, without moving
the cursor. Only symbologies with a Honeywell ID are included (see

Symbology

Charts

on page 277). Refer to the

ASCII Conversion Chart (Code Page 1252),

beginning on page 280 for decimal, hex and character codes.

Insert barcode length

B4

Insert the barcode length in the output message, without moving the cursor. The
length is expressed as a numeric string and does not include leading zeros.

B3 and B4 Example: Insert the symbology name and length

Send the symbology name and length before the barcode data from the barcode
above. Break up these insertions with spaces. End with a carriage return.

Command string:

B3F42001B4F42001F10D

Advertising