nlscan.com
Page 154
Code Programming ON
Code Programming OFF
Tools
Data Formatter
Add a Data Format
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 symbology (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. 500 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 Bar-
code
”
section in Batch Programming Chapter to learn how to put a batch barcode into use.
Example: Program format_0 using formatter command type 6, Code 128 containing 10 characters appli-
cable, send all characters followed by
“
A
”
.
Batch command: nls0323000=
“
069990020010F141
”
;