200
Programming with Serial Commands
A data format can also be created by serial commands sent from the host device. The maximum size of a
command string is 128 characters. The syntax consists of the following elements:
Add Data Format Command:
$$%^5917 (8 characters).
Data format:
0~3 (1 character). 0, 1, 2 and 3 represent Format_0, Format_1, Format_2 and Format_3
respectively.
Formatter command type:
6 (1 character).
Interface type:
999 (3 characters).
Symbology ID Number:
The ID number of the symbology to which you want to apply the data format (3
characters). 999 indicates all symbologies.
Data length:
The length of data that will be acceptable for this symbologyrs (4 characters). 9999
indicates all lengths. For example, 32 characters should be entered as 0032.
Formatter commands:
The command string used to edit data (max. 128 characters). For more
information, see the
“Formatter Command Type 6” section.
Note: Serial command used to create a data format must conform to the syntax above. Returning
“\r\n$$%~OK\r\n\” indicates success; returning “\r\n$$%~ER\r\n” indicates failure.
Example:
Program format_0 using formatter command type 6, Code 128 containing 10 characters
applicable, send all characters followed by
“A”.
Serial command:
$$%^5917069990020010F141
Summary of Contents for NLS-BS80
Page 1: ...NLS BS80 Pocket Bluetooth Barcode Scanner User Guide...
Page 16: ......
Page 46: ...30 Romania Russia Slovakia Spain Sweden Switzerland Turkey_F Turkey_Q UK Japan...
Page 52: ...36 6ms 7ms 8ms 9ms 10ms 11ms 12ms 13ms 14ms 15ms...
Page 54: ...38 Step 6 Wait for the Firmware upgraded window to pop up and click OK to exit the program...
Page 243: ...227 Digit Barcodes 1D Scanner 0 9 0 1 2 3 4 5 6 7 8 9...
Page 244: ...228 A F A B C D E F...
Page 245: ...229 Digit Barcodes 2D Scanner 0 9 0 5 1 6 2 7 3 8 4 9...
Page 246: ...230 A F A B C D E F...
Page 247: ...231 Digit Barcodes 0 9 0 5 1 6 2 7 3 8 4 9...
Page 248: ...232 A F A B C D E F...
Page 251: ...235 Save Cancel Barcodes Save Cancel Delete the Last Digit Delete All Digits...