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 zeroes.
B3 and B4 Example: Insert the symbology name and lengthSend 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: B3F42001B4F42001F10DB3 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>Insert key strokes
B5 Insert a key stroke or combination of key strokes. Key strokes are dependent on your keyboard (see Unicode Key Maps on page
No Key Modifier | 00 |
Shift Left | 01 |
|
|
Shift Right | 02 |
|
|
Alt Left | 04 |
|
|
Alt Right | 08 |
|
|
Control Left | 10 |
|
|
Control Right | 20 |
|
|
For example, B501021F inserts an “A” on a 104 key, U.S. style keyboard. B5 = the command, 01 = number of keys pressed (without the key modifier), 02 is the key modifier for Shift Right, and 1F is the “a” key. If a lower case “a” were to be inserted, B501001F would be entered.
If there are three keystrokes, the syntax would change from B5xxssnn for one keystroke to B5xxssnnssnnssnn. An example that would insert "abc" is as follows: B503001F00320030F833.
Note: Key modifiers can be added together when needed. Example: Control Left+Shift Left = 11.
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
5 - 6