Programming Guide - HR2150-HP HP Value Barcode Scanner

Enter Setup
15 ** Exit Setup
The value of the StoreType field in a query command can be either “@” (HEX: 40) or “#” (HEX: 23).
A query command with the SubTag field omitted means to query all the settings concerning a tag. For example, to query
all the current settings about Code 11, you should enter 7E 01 30 30 30 30 40 43 31 31 2A 3B 03 (i.e.
~<SOH>0000@C11*;<ETX>).
Responses
Different from command sequence, the prefix of a response consists of the six characters of “<STX><SOH>0000” (HEX: 02
01 30 30 30 30).
The scanner responds to serial commands with one of the following three responses:
<ACK> (HEX: 06) Indicates a good command which has been processed.
<NAK> (HEX: 15) Indicates a good configuration command with its Data field entry out of the allowable range for this
Tag and SubTag combination (e.g. an entry for an inter-keystroke delay of 100 when the field will
only allow 2 digits), or an invalid query command.
<ENQ> (HEX: 05) Indicates an invalid Tag or SubTag command.
When responding, the scanner echoes back the command sequence with the status character above inserted directly before
each of the punctuation marks (the comma or semicolon) in the command.
Examples
Example 1: Enable Code 11, set the minimum and maximum lengths to 12 and 22 respectively.
Enter: 7E 01 30 30 30 30 40 43 31 31 45 4E 41 31 2C 4D 49 4E 31 32 2C 4D 41 58 32 32 3B 03
(~<SOH>0000@C11ENA1,MIN12,MAX22;<ETX>)
Response: 02 01 30 30 30 30 40 43 31 31 45 4E 41 31 06 2C 4D 49 4E 31 32 06 2C 4D 41 58 32 32 06 3B 03
(<STX><SOH>0000@C11ENA1<ACK>,MIN12<ACK>,MAX22<ACK>;<ETX>)
Example 2: Query the current minimum and maximum lengths of Code 11.
Enter: 7E 01 30 30 30 30 40 43 31 31 4D 49 4E 2A 2C 4D 41 58 2A 3B 03
(~<SOH>0000@C11MIN*,MAX*;<ETX>)
Response: 02 01 30 30 30 30 40 43 31 31 4D 49 4E 31 32 06 2C 4D 41 58 32 32 06 3B 03
(<STX><SOH>0000@C11MIN12<ACK>,MAX22<ACK>;<ETX>)