HPRT HN-1308SR User manual

Disclaimer
Please read all the contents of the manual carefully before using the products described in this
manual to ensure the safe and effective use of the products. After reading, please keep this manual
properly for the next time you use it.
Not disassemble or tear the sealed bidding of the scanner on your own, otherwise our company shall
not assume the responsibility of warranty or replacement of the scanner.
The images in this manual are for reference only. If there are some pictures that Not match the actual
product, please refer to the actual product. For the improvement and renewal of this product, our
company reserves the right to modify the document at any time without notice.
All information contained in this manual is protected by copyright, and our company reserves all rights.
No unit or individual may, in any way or for any reason, extract or copy all or part of the contents of
this document in any form without written permission.
The products described in this manual may include the copyrighted software of Xiamen Hanin
Electronic Technology Co., Ltd. or a third party. Unless authorized by the relevant rights holder, no
unit or individual can copy, distribute, modify, extract, decompile, disassemble, decrypt, reverse
engineer, rent, convert, Sub-license and other infringement of software copyright.
Xiamen Hanin Electronic Technology Co., Ltd. has the final right of interpretation of this statement.

Change Record
Rev.
Date
Description
1.0
2018.11.14
First edition
1.1
2020.02.18
Add barcode settings
1.2
2020.04.14
1. Modify the setting of prefix and suffix
2. Add the setting of Bluetooth mode (Bluetooth mode
device)
1.3
2020.08.19
1. Add buzzer tone and volume settings
2. Add power on and scan success tone
3. Add offline storage settings barcode
4. Add 1D and 2D barcode settings
5. Add language settings

CONTENT
Chapter 1 Introduction.................................................................................................................1
Appearance....................................................................................................................................2
Dimension ......................................................................................................................................3
Scanner Data Cable Interface Definition........................................................................................4
Interface.........................................................................................................................................5
USB Cable Connection............................................................................................................6
RS-232 Cable Connection.......................................................................................................7
Power on, Power off and Restart...................................................................................................8
Maintenance ..................................................................................................................................8
Barcode Read .................................................................................................................................8
Use the Setting Barcode.................................................................................................................9
Restore Factory Defaults................................................................................................................9
Chapter 2 Communication Interface ...........................................................................................10
Serial Interface.............................................................................................................................10
RS232 General Serial Interface.............................................................................................10
Baud Rate.............................................................................................................................11
USB Interface................................................................................................................................12
HID Virtual Keyboard............................................................................................................12
USB International Keyboard Setting.....................................................................................12
Character Output Setting (China, Japan, Korea and Thailand) ............................................18
USB Virtual Serial Port..........................................................................................................18
Bluetooth Interface......................................................................................................................19
Set scanner switch time (Bluetooth mode only)..................................................................19
Bluetooth pop-up iPhone keyboard settings (Bluetooth mode only)..................................19
VID & PID Table ............................................................................................................................20
Chapter 3 Scanning Mode...........................................................................................................21
Manual Mode...............................................................................................................................21
Sense Mode..................................................................................................................................21
Sensitivity.............................................................................................................................22
Continuous Mode ........................................................................................................................22
Command Programming..............................................................................................................23
Offline Storage Mode (Only Available for Bluetooth mode)........................................................23
Chapter 4 Illumination and Aiming .............................................................................................24
Aiming ..........................................................................................................................................24
Illumination..................................................................................................................................24
Power on and Read Successfully Prompt Tone............................................................................25
Power on Prompt Sound Settings ........................................................................................25
Buzzer Volume and Tone Settings........................................................................................25
Chapter 5 Symbologies...............................................................................................................27

Barcode General Settings.............................................................................................................27
1D Barcode Switch ...............................................................................................................27
2D Barcode Switch ...............................................................................................................27
All Barcode Switch................................................................................................................27
1D Barcode Setting.......................................................................................................................28
ENA-8 ...................................................................................................................................28
Enable/Disable EAN-8 ..................................................................................................28
Enable/Disable 2/5-bit Add-On code...........................................................................28
Convert EAN-8 to EAN-13.............................................................................................28
ENA-13 .................................................................................................................................29
Enable/Disable EAN-13 ................................................................................................29
Enable/Disable 2/5-bit Add-On code...........................................................................29
UPC-E....................................................................................................................................29
Enable/Disable UPC-E ..................................................................................................29
Transmit check character.............................................................................................29
Enable/Disable 2/5-bit Add-On code...........................................................................30
Convert UPC-E to UPC-A ..............................................................................................30
System character transmit ...........................................................................................30
UPC-E1..................................................................................................................................31
Enable/Disable 2/5 Add-On code ................................................................................31
UPC-A ...................................................................................................................................31
Enable/Disable UPC-A..................................................................................................31
Transmit check character.............................................................................................32
Enable/Disable 2/5-bit Add-On code...........................................................................32
Transfer system character ............................................................................................32
Code 39 ................................................................................................................................33
Enable/Disable Code 39...............................................................................................33
Check character verification and transmit...................................................................33
Enable/Disable code 39 Full ASCII................................................................................33
Convert Code 39 to Code32.........................................................................................34
Code 32 prefix......................................................................................................................34
Code 93 ................................................................................................................................34
Enable/Disable code 93 ...............................................................................................34
Code 11 ................................................................................................................................34
Enable/Disable code 11 ...............................................................................................34
Transmit check character.............................................................................................35
Code 128 ..............................................................................................................................35
Enable/Disable code 128 .............................................................................................35
Code 128 <FNC4>.........................................................................................................35
Codabar................................................................................................................................36
Enable/Disable Codabar...............................................................................................36
Start and stop characters.............................................................................................36
MSI .......................................................................................................................................36
Enable/Disable MSI......................................................................................................36

Check bit algorithm......................................................................................................37
Transmit check character.............................................................................................37
Interleaved 2 of 5.................................................................................................................37
Enable/Disable Interleaved 2 of 5................................................................................37
Check and transmit character......................................................................................37
Convert I 2 of 5 to EAN-13 ...........................................................................................38
Matrix 2 of 5.........................................................................................................................38
Enable/Disable Matrix 2 of 5 .......................................................................................38
Check and transmit character......................................................................................38
Industrial 2 of 5....................................................................................................................39
Enable/Disable Industrial 2 of 5...................................................................................39
Standard 25..........................................................................................................................39
Enable/Disable Standard 25.........................................................................................39
ISSN ......................................................................................................................................39
ISBN......................................................................................................................................40
Data bit setting.....................................................................................................................40
ISBT 128................................................................................................................................40
Enable/Disable ISBT 128 ..............................................................................................40
GS1 128 ................................................................................................................................40
Enable/Disable GS1 128...............................................................................................40
Gs1-128 emulation mode for UCC/EAN composite code ............................................40
GS1 DataBar .........................................................................................................................41
Enable/Disable GS1 DataBar........................................................................................41
Convert GS1 DataBar to UPC/ENA ...............................................................................41
GS1 DataBar Limited ............................................................................................................41
Enable/Disable GS1 DataBar Limited...........................................................................41
GS1 DataBar Expanded ........................................................................................................41
Enable/Disable GS1 DataBar Expanded.......................................................................41
1D Barcode Inverse ..............................................................................................................42
1D Barcode Anti-color..........................................................................................................42
2D Barcode Setting.......................................................................................................................43
PDF417 .................................................................................................................................43
Enable/Disable PDF417................................................................................................43
Data Matrix ..........................................................................................................................43
Anti-color......................................................................................................................43
Enable/Disable Data Matrix.........................................................................................43
Mirror Images...............................................................................................................43
Inverse..........................................................................................................................44
QR.........................................................................................................................................44
Enable/Disable QR .......................................................................................................44
Enable/Disable Micro QR code ....................................................................................44
Inverse..........................................................................................................................44
Anti-color......................................................................................................................45
Aztec.....................................................................................................................................45

Inverse..........................................................................................................................45
Anti-color......................................................................................................................45
Han Xin.................................................................................................................................46
Anti-color......................................................................................................................46
Inverse..........................................................................................................................46
Chapter 7 Troubleshooting .........................................................................................................47
Chapter 8 Scanner Settings.........................................................................................................48
Serial Port Command Format...............................................................................................48
Barcode Setting Format .......................................................................................................48
Version number——HYRS_RE..............................................................................................48
General settings (default HID single scan mode).........................................................................49
Host mode (CDC, HID, BT, COM)........................................................................................49
Trigger mode (Single scanning, scanning continuously, auto sensing) ................................49
Default parameters (Restore factory settings).....................................................................49
Decoding timeout(0.1s~9s)............................................................................................49
Data prefix............................................................................................................................50
Data suffix ............................................................................................................................50
Aiming device (ON/OFF) ......................................................................................................50
Illumination light (ON/OFF)..................................................................................................50
Baud rate of virtual serial port.............................................................................................51
Check bit of virtual serial port..............................................................................................51
Multi code quantity..............................................................................................................51
Multi code sensitivity...........................................................................................................51
Buzzer enable.......................................................................................................................51
The convert rate in HID mode..............................................................................................52
Timeout setting of the same barcode in non-single scan mode..........................................52
Sensitivity.............................................................................................................................52
Center aiming decode setting..............................................................................................52
Virtual serial port mode command settings ................................................................................54
Barcode function settings ............................................................................................................55
ITF cut the first few bits of data...........................................................................................55
Convert grouping character to space...................................................................................55
Remove zero data at the beginning of barcode...................................................................55
Remove or reduce space......................................................................................................55
Skip the number of characters before barcode data...........................................................56
Skip the number of characters after barcode data..............................................................56
Barcode data case conversion..............................................................................................56
Insert characters into barcode data.....................................................................................57
Compound command parameters.......................................................................................57
Common suffix.....................................................................................................................57
Appendix Ⅰ Barcode Enabling Settings ......................................................................................58
Appendix Ⅱ Data code prefix and suffix.....................................................................................60
Appendix Ⅲ ASCII Code Table ....................................................................................................67

HN-1308SR User Manual
1
Chapter 1 Introduction
HN-1308SR uses the international leading chip intelligent image read technology, and it mainly uses
for image-based 2D scanner.
2D decoding chip combines the advanced image read algorithm with advanced chip design and
manufacturing technology that greatly simplifies the design difficulty of 2D barcode to scan products,
and establishes an excellent benchmark for high performance, high reliability and low power
consumption of 2D l image products.
HN-1308SR can read all kinds of 1D barcodes and standard 2D barcodes (various versions of PDF417,
QR code, and Data matrix) can easily scan paper, plastic cards, LCD and other barcode printed media.
Its fully integrated design makes it easy to embed in a wide range of product applications.
About Manual
This guide mainly provides various functional setup instructions for HN-1308SR. By scanning the setup
barcodes in this guide, you can change the functional parameters of HN-1308SR, such as
communication interface parameters, scanning mode, prompt mode, data processing and output, etc.
HN-1308SR provides parameter configurations that are suitable for most used functions at the factory.
And in most cases users can put them into use without making adjustment. In most cases, users can
put it into use without making adjustment.

HN-1308SR User Manual
2
Appearance

HN-1308SR User Manual
3
Dimension

HN-1308SR User Manual
4
Scanner Data Cable Interface Definition
PIN
Define
Input / Output
Function
1
USB_DP
I/O
USB Signal
2
USB_DM
I/O
USB Signal
3
GND
POWER
Ground Wire
4
VBUS
POWER
Power, +5V
5
NC
NC
NC
6
GND
POWER
Ground Wire
7
CTS
I
RS232 Clear to Send
8
RTS
O
RS232 Request to Send
9
RXD
I
RS232 Receive
10
TXD
O
RS232 Send

HN-1308SR User Manual
5
Interface
The scanner must be connected to a Host in actual application, such as PC, POS or any intelligent
terminal with USB orRS-232 port.
USB
RS-232

HN-1308SR User Manual
6
Connect HN-1308SR to Host
USB Cable Connection
Connect the scanner to a Host through a USB cable with RJ45 and USB connectors:
1) Plug the RJ45 connector into the serial port on the scanner.
2) Plug the USB connector into the USB port on the Host.

HN-1308SR User Manual
7
RS-232 Cable Connection
Connect the scanner to a Host through an RS-232 cable with RJ45 and RS-232 connectors and a
power jack:
1) Plug the RJ45 connector into the serial port on the scanner.
2) Plug the RS-232 connector into the RS-232 port on the Host.
3) Plug the supplied power adapter into the power jack on the RS-232 cable.

HN-1308SR User Manual
8
Power on, Power off and Restart
Power on: power on automatically when the scanner is connected to the host.
Power off: unplug the data cable.
Restart: if the scanner stops responding to input or runs abnormally please re-plug the data cable.
Maintenance
The reading window must be kept clean. Supplier is exempt from warranty liability for damage
caused by improper maintenance.
Avoid hard and rough objects to scratch the reading window.
Remove the stains from widow with a brush.
Please use a soft cloth to clean the window, such as glasses cloth.
Not spray any liquid on the window.
Not use any cleaner other than cleaning water.
Barcode Read
In manual read mode, the procedure for scanning barcodes is as follows:
(1) Make sure that the scanner, data cable, data receiving host, and power supply are properly
connected and turned on.
(2) Hold down the trigger to activate the light.
(3) Align the aiming line to the center of the barcode, move the scanner and adjust the distance
between it and the barcode to find the optimal scanning distance.
(4) When hear the prompt sound, the infrared light goes out and the barcode reading successfully,
then the scanner will decode the data to the host.
(5) All set barcodes are saved by power outage.
▲Note: For the same batch of barcodes, the scanner keeps a very high success ratio in certain
distance which is regarded as the optimal scanning distance.

HN-1308SR User Manual
9
Use the Setting Barcode
Set the parameter to a special barcode whose barcode type is barcode128. When it scans to a barcode
software that matches the setting type of setting, it will automatically enter the setting and does not
send the results on the host. All set barcodes are saved by power outage. (except to restore factory
settings)
Restore Factory Defaults
Note: Please use the "Restore Factory Defaults" function carefully, and when you scan this setup
barcode, the current parameter settings will be lost and replaced with the factory default values.
Restore Factory defaults

HN-1308SR User Manual
10
Chapter 2 Communication Interface
HN-1308SR Handheld Barcode Scanner provides RS-232 serial interface and USB interface (optional)
to connect to the host. Through communication interfaces, it can receive and read the data, control
the scanner by sending the commands, and modify the parameter of scanner, etc.
Serial Interface
Serial interface is a common way to connect the scanner to the host (e.g. PC, POS devices). HN-1308SR
handheld scanner provides RS-232 electrical level interface, which can directly connect to PC’s serial
interface. When using serial interface, the scanner and the host should be completely match with
each other on communication parameter configuration, to ensure fluent communication and correct
content.
The default serial interface parameter is as below shown, when it is inconsistent with the host, it can
be modified by Read Setting Barcode.
Parameter
Default
Type of Serial Interface
USB virtual serial interface
Baud Rate
115200
Parity Type
None
Data Bits
8
Stop Bits
1
Hardware Flow Control
None
RS232 General Serial Interface
None (Default) Odd parity
Even parity

HN-1308SR User Manual
11
Baud Rate
The unit of Baud Rate is bps: bits per second, the optional configuration parameter is as below shown:
115200 (Default) 38400
19200 9600
4800 2400
1200

HN-1308SR User Manual
12
USB Interface
HID Virtual Keyboard
When using USB interface, the scanner can be simulated as a HID-KBW device. In this mode, the
scanner would be a virtual keyboard that output the data to the host.
HID Virtual Keyboard Setting
USB International Keyboard Setting
USA (Default) Belgian
Finnish (Swedish) French
German Italian
Swiss (German) British
Danish Norwegian
Spanish Dutch

HN-1308SR User Manual
13
Hebrew Portuguese
Latin(America) Czech_DEC
Brazilian Greek_DEC
Canadian (French) Hungarian
Polish SCS
Slovakian_DEC Swedish
Turkish_Q Romanian
Russian Turkis_F
Table of contents
Other HPRT Barcode Reader manuals