6 - 5
Insert bar code length
B4 Insert the bar code’s 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 bar code data from the bar code above. Break up these insertions
with spaces. End with a carriage return.
Command string: B3F42001B4F42001F10D
B3 is the “Insert symbology name” command
F4 is the “Insert a character multiple times” command
20 is the hex value for a space
01 is the number of times the space character is sent
B4 is the “Insert bar code length” command
F4 is the “Insert a character multiple times” command
20 is the hex value for a space
01 is the number of times the space character is sent
F1 is the “Send all characters” command
0D is the hex value for a CR
The data is output as:
Code128 20 1234567890ABCDEFGHIJ
<CR>
Move Commands
Move the cursor forward a number of characters
F5 Move the cursor ahead “nn” characters from current cursor position.
Syntax = F5nn where nn is the numeric value (00-99) for the number of characters the cursor should be moved ahead.
F5 Example: Move the cursor forward and send the data
Move the cursor forward 3 characters, then send the rest of the bar code data from the bar code above. End with a
carriage return.
Command string: F503F10D
F5 is the “Move the cursor forward a number of characters” command
03 is the number of characters to move the cursor
F1 is the “Send all characters” command
0D is the hex value for a CR
The data is output as:
4567890ABCDEFGHIJ
<CR>
Move the cursor backward a number of characters
F6 Move the cursor back “nn” characters from current cursor position.
Syntax = F6nn where nn is the numeric value (00-99) for the number of characters the cursor should be moved back.