HH1800 User Guide
65
Using the barcode above, send all characters up to but n
ot including “AB.”
Command string:
B900024142
B9
is the “Send all characters up to a string” comma
nd
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 th
e 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
whe
re 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
E
9 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
x
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>