HH490 User Guide
65
Page 1252),
beginning on page 203 for decimal, hex and character codes.
B9 Example: Send all characters up to a defined string
Using the barcode above, send all characters up to but not including “AB.”
Command string: B900024142
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
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 203 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