Programming With A Batch Command - Newland NLS-HR3290 User Manual

Corded 2d barcode scanner
Hide thumbs Also See for NLS-HR3290:
Table of Contents

Advertisement

Enter Setup

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";
** Exit Setup
124

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents