Use Of Programming Command; Command Syntax; Query Commands - Newland NLS-HR52 User Manual

Hand-held barcode scanner
Table of Contents

Advertisement

Use of Programming Command

Besides the barcode programming method, the scanner can also be configured by serial commands (HEX) sent from the
host device. All commands must be entered in uppercase letters.

Command Syntax

Prefix StorageType Tag SubTag {Data} [,SubTag {Data}] [;Tag SubTag {Data}] [...] Suffix
Prefix: "~<SOH>0000" (HEX: 7E 01 30 30 30 30), 6 characters.
StorageType: "@" (HEX: 40) or "#" (HEX: 23), 1 character. "@" means permanent setting which will not be lost by removing
power from the scanner or rebooting it; "#" means temporary setting which will be lost by removing power from the scanner
or rebooting it.
Tag: A 3-character case-sensitive field that identifies the desired command group. For example, all USB HID Keyboard
configuration settings are identified with a Tag of KBW.
SubTag: A 3-character case-sensitive field that identifies the desired parameter within the tag group. For example, the
SubTag for the keyboard layout is CTY.
Data: The value for a feature or parameter setting, identified by the Tag and SubTag.
Suffix: ";<ETX>" (HEX: 3B 03), 2 characters.
Multiple commands can be issued within one Prefix/Suffix sequence. For configuration commands, only the Tag, SubTag,
and Data fields must be repeated for each command in sequence. If an additional command is to be applied to the same
Tag, then the command is separated with a comma (,) and only the SubTag and Data fields of the additional commands
are issued. If the additional command requires a different Tag field, the command is separated from previous command by
a semicolon (;).

Query Commands

For query commands, the entry in the Data field in the syntax above is one of the following characters means:
* (HEX: 2A)
What is the scanner's current value for the setting(s).
& (HEX: 26)
What is the factory default value for the setting(s).
^ (HEX: 5E)
What is the range of possible values for the setting(s).
19
Enter Setup
** Exit Setup

Advertisement

Table of Contents
loading

Table of Contents