Enter Setup
** Exit Setup
124
Programming with a Batch Command
A data format can also be created by a batch command sent from the host device.
Syntax:
“nls0323000” + “=” + Double Quotation Mark (”) + Parameter Value + Double Quotation
Mark (
”) + “;”
Parameter Value consists of the following elements:
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. 112 characters). For more
information, see the
“Formatter Command Type 6” section.
Note: A batch command used to create a data format must conform to the syntax above. Returned value
0x06 indicates success; returned value 0x15 indicates failure.
To streamline the programming process, you may as well generate a batch barcode by inputting the
batch command (e.g.
0323000=
“069990020010F141”;
) used to create a data format. See the
“Use
Batch Barcode
”
section in Chapter 11 to learn how to put a batch barcode into use.
Example 1:
Program format_0 using formatter command type 6, Code 128 containing 10 characters
applicable, send all characters followed by
“A”.
Batch command:
nls0323000=
“069990020010F141”;
Example 2:
Program format_0 using formatter command type 6, all symbologies, all lengths applicable,
send the first 5 characters in barcode, wait for 1s, send the next 6 characters, wait for 1s, then send the
rest of the barcode data.
Batch command:
nls0323000=
“069999999999F20500EF0200F20600EF0200E900”;
Summary of Contents for NLS-HR3290
Page 1: ...NLS HR3290 Corded 2D Barcode Scanner User Guide...
Page 20: ...Enter Setup Exit Setup 8 Dimensions unit mm Left View Front View...
Page 21: ...Enter Setup 9 Exit Setup Top View...
Page 58: ...Enter Setup Exit Setup 46 Beep Type Type 1 Type 3 Type 2 Beep Volume Loud Low Medium...
Page 184: ...172 Appendix 6 Digit Barcodes 0 9 0 5 1 6 2 7 3 8 4 9...
Page 185: ...173 A F A B C D E F...