Send all but the last characters, Insert a character multiple times, Insert a string – Honeywell Granit 1991iSR Ultra-Rugged Standard-Range Barcode Scanner User Manual

Page 141

Advertising
background image

Granit XP User Guide

125

42 is the hex value for B

The data is output as:

1234567890

Send all but the last characters

E9

Include in the output message all but the last “nn” characters, starting from the
current cursor position. The cursor is moved forward to one position past the last
input message character included.

Syntax = E9nn

where nn stands for the numeric

value (00-99) for the number of characters that will not be sent at the end of the
message.

Insert a character multiple times

F4

Send “xx” character “nn” times in the output message, leaving the cursor in the
current position.

Syntax = F4xxnn

where xx stands for the insert character’s hex

value for its ASCII code, and nn is the numeric value (00-99) for the number of times
it should be sent. Refer to the

ASCII Conversion Chart (Code Page 1252),

beginning

on page 280 for decimal, hex and character codes.

E9 and F4 Example: Send all but the last characters, followed by 2 tabs

Send all characters except for the last 8 from the barcode above, followed by 2
tabs.

Command string:

E908F40902

E9 is the “Send all but the last characters” command

08 is the number of characters at the end to ignore

F4 is the “Insert a character multiple times” command

09 is the hex value for a horizontal tab

02 is the number of times the tab character is sent

The data is output as:

1234567890AB <tab><tab>

Insert a string

BA

Send “ss” string of “nn” length in the output message, leaving the cursor in the
current position.

Syntax = BAnnnns...s

where nnnn stands for the length of the

string, and s...s stands for the string. The string is made up of hex values for the
characters in the string. Refer to the

ASCII Conversion Chart (Code Page 1252),

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

Advertising