Page 1
Handheld Barcode Scanner HN-1308SR User Manual Xiamen Hanin Electronic Technology Co., Ltd. ADD: 5F, 8#, Aide Airport Industrial Park, Huli District, Xiamen, China Web: www.hprt.com Rev.1.3...
Page 2
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.
Page 3
Change Record Rev. Date Description 2018.11.14 First edition 2020.02.18 Add barcode settings 1. Modify the setting of prefix and suffix 2020.04.14 2. Add the setting of Bluetooth mode (Bluetooth mode device) 1. Add buzzer tone and volume settings 2. Add power on and scan success tone 2020.08.19 3.
Page 6
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 ..................
Page 7
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) .................
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.
HN-1308SR User Manual Scanner Data Cable Interface Definition Define Input / Output Function USB_DP USB Signal USB_DM USB Signal POWER Ground Wire VBUS POWER Power, +5V POWER Ground Wire RS232 Clear to Send RS232 Request to Send RS232 Receive RS232 Send...
HN-1308SR User Manual 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. RS-232...
HN-1308SR User Manual 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 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.
HN-1308SR User Manual 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.
HN-1308SR User Manual 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.
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.
HN-1308SR User Manual 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 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...
Page 20
HN-1308SR User Manual Hebrew Portuguese Latin(America) Czech_DEC Brazilian Greek_DEC Canadian (French) Hungarian Polish Slovakian_DEC Swedish Turkish_Q Romanian Russian Turkis_F...
Page 21
HN-1308SR User Manual Japanese(ASCII) Swiss(French) USA(International) Slovenian Croatian Bosnian Macedonian Albanian Serbian(Latin) Serbian(Cyrillic) Czech_QWERTZ Czech_QWERTY Czech(Programmers) Estonian Latvian Latvian_QWERT...
HN-1308SR User Manual Character Output Setting (China, Japan, Korea and Thailand) Chinese Simplified (Word) Chinese Simplified (Notepad) Chinese Traditional (Word) Chinese Traditional (Notepad) Japan (Word) Japan (Notepad) Korea (Word) Korea (Notepad) Thailand (Word) Thailand (Notepad) USB Virtual Serial Port When the scanner uses a USB communication interface, but the host application uses serial communication to receive data, you can set the scanner to the USB virtual serial port.
HN-1308SR User Manual Bluetooth Interface In this mode, the scanner outputs data to the host in Bluetooth transmission mode. Bluetooth transmission mode settings Set scanner switch time (Bluetooth mode only) No Shutdown 5 min 10 min 15 min 30 min...
HN-1308SR User Manual VID & PID Table USB uses 2 numbers to identify the device and find the correct device. The first number is VID (Supplier ID), designated by USB Implementers Forum. The second number is PID (Device ID), and each interface type assigns a PID number.
HN-1308SR User Manual Chapter 3 Scanning Mode Manual Mode In manual mode, when the trigger control interface of the scanner changes into trigger electrical level, the scanner will start to shoot and read. In the limited time of “single reading time”, the scanner will continuously shoot and read until it is successful.
HN-1308SR User Manual Sensitivity Normal (Default) Fast Ultra-fast Single Reading Time In sensing reading mode, the parameter indicates the maximum time of allowing reading engine to continuously collect and identify barcode before reading successfully. After reading successfully or single read timeout, the reading engine will enter the interval of not collecting the read. The range of single read time is 0.1~9.9s, step length is 0.1s.
HN-1308SR User Manual Command Programming In this mode, scanner needs the host to trigger and decode the barcode. The scanner can set the length of the reading time. The reading code time can be set to 0.1~9.9s. When it be set to 0 that indicates no wait.
HN-1308SR User Manual Chapter 4 Illumination and Aiming Aiming There is a projecting device on the scanner that is used to project a special image when reading, which characterizes the center of the scene image taken by the scanner. When the scanner is used for shooting, the image is projected on the reading target, and the scanner aims at the reading target, which makes it easier to read the target.
HN-1308SR User Manual Power on and Read Successfully Prompt Tone The scanner can output PWM signal to drive the external buzzer circuit to make sound. The sound signal can be turned off or allowed to be output by setting. The corresponding settings can be made through the following setting codes.
Page 33
HN-1308SR User Manual Buzzer Tone ⚫ High tone Medium tone (Default) Low tone...
HN-1308SR User Manual Chapter 5 Symbologies Every symbology (barcode type) has its own unique attributes. This chapter provides programming barcodes for configuring the scanner so that it can identify various symbologies. It is recommended to disable those that are rarely used to increase the efficiency of the scanner.
HN-1308SR User Manual 1D Barcode Setting ENA-8 Enable/Disable EAN-8 Enable (Default) Disable Enable/Disable 2/5-bit Add-On code The 2/5-digit Add-On code refers to the 2/5-digit digital barcode added after the ordinary barcode. Enable (Default) Disable Auto Convert EAN-8 to EAN-13 The result is converted to EAN-13, i.e. the barcode data of EAN-8 is filled with 5 bits of 0 before transmission.
HN-1308SR User Manual ENA-13 Enable/Disable EAN-13 Enable (Default) Disable Enable/Disable 2/5-bit Add-On code The 2/5-digit Add-On code refers to the 2/5-digit digital barcode added after the ordinary barcode. Enable (Default) Disable Auto UPC-E Enable/Disable UPC-E Enable (Default) Disable Transmit check character UPC-E barcode data is fixed to 8 characters, and the eighth character is the check bit, which is used to check the correctness of all 8 characters.
HN-1308SR User Manual Enable/Disable 2/5-bit Add-On code The 2/5-digit Add-On code refers to the 2/5-digit digital barcode added after the ordinary barcode. Enable (Default) Disable Auto Convert UPC-E to UPC-A The chip can convert the decoding results of UPC-E type barcodes to UPC-A type barcodes according to standard algorithms.
HN-1308SR User Manual UPC-E1 Transmit system character (Default) Transmit system character and country code (“0” only for USA) Not transmit preamble Enable/Disable 2/5 Add-On code The 2/5-digit Add-On code refers to the 2/5-digit digital barcode added after the ordinary barcode.
HN-1308SR User Manual Transmit check character UPC-A bar code data is fixed to 13 characters, and the 13th character is check bit, which is used to check the correctness of all 13 characters. Transmit check character (Default) Disable Enable/Disable 2/5-bit Add-On code The 2/5-digit Add-On code refers to the 2/5-digit digital barcode added after the ordinary barcode.
HN-1308SR User Manual Code 39 Enable/Disable Code 39 Enable (Default) Disable Check character verification and transmit Code 39 barcode data does not contain a check character. If there is a check character, it is the last character of the data. A check character is a value calculated from all data to verify that the data is correct.
HN-1308SR User Manual Convert Code 39 to Code32 Enable Disable (Default) Code 32 prefix Enable add prefix character "a" Disable (Default) Code 93 Enable/Disable code 93 Enable (Default) Disable Code 11 Enable/Disable code 11 Enable Disable (Default) Check Setting Code 11 barcode data does not contain the check digit. If there is a check digit, it can be the last one or two characters of the data.
HN-1308SR User Manual Not check (Default) 1-bit check 2-bit check Transmit check character Transmit check character Disable (Default) Code 128 Enable/Disable code 128 Enable (Default) Disable Note: if this barcode is set to disable, the scanner will not be able to scan and switch the corresponding function settings.
HN-1308SR User Manual Codabar Enable/Disable Codabar Enable (Default) Disable Start and stop characters Enable CLSI Disable CLSI (Default) Enable this parameter to remove the start and stop characters, and insert spaces after the first, fifth and tenth characters of the 14-character Codabar barcode.
HN-1308SR User Manual 1-bit check 2-bit check Check bit algorithm 1 MSI MOD10/MOD10 (Default) 2 MSI MOD10/MOD11 Transmit check character Transmit check character Disable (Default) Interleaved 2 of 5 Enable/Disable Interleaved 2 of 5 Enable (Default) Disable Check and transmit character Interleaved 2 of 5 barcode data does not contain the check digit.
HN-1308SR User Manual Not check (Default) USS check OPCC check Transmit check character: Transmit check character Disable (Default) Convert I 2 of 5 to EAN-13 Convert I 2 of 5 to EAN-13 Disable (Default) Matrix 2 of 5 Enable/Disable Matrix 2 of 5...
HN-1308SR User Manual Not check (Default) Check Transmit check character Transmit check character Disable (Default) Industrial 2 of 5 Enable/Disable Industrial 2 of 5 Enable Disable (Default) Standard 25 Enable/Disable Standard 25 Enable Disable (Default) ISSN Enable Disable (Default)
HN-1308SR User Manual 2D Barcode Setting PDF417 Enable/Disable PDF417 Enable (Default) Disable Data Matrix Anti-color Auto (Default) Disable Only read Anti-color color Enable/Disable Data Matrix Enable (Default) Disable Mirror Images Auto (Default) Enable Disable...
HN-1308SR User Manual Inverse Disable (Default) Enable Auto Enable/Disable QR Enable (Default) Disable Enable/Disable Micro QR code (this setting is only valid when enable QR) Enable (Default) Disable Inverse Disable (Default) Enable Auto...
HN-1308SR User Manual Anti-color Auto (Default) Only read Anti-color color Disable Aztec Inverse Disable (Default) Enable Auto Anti-color Auto (Default) Only read Anti-color color Disable...
HN-1308SR User Manual Chapter 7 Troubleshooting Q: There are some barcodes cannot be scanned. A: Check the barcode type, open the barcode function; if it is verified, try to turn off. Q: The barcode data is incorrect. A: Check the error display of barcodes (all barcodes errors or specific barcode error) Q: Barcode can be read but not displayed.
HN-1308SR User Manual General settings (default HID single scan mode) Host mode (CDC, HID, BT, COM) Operand: 0x41 USB Virtual Serial Port USB Virtual Keyboard General Serial Port Data 0x02 0x01 0x03 0x04 Set scanner interface mode Trigger mode (Single scanning, scanning continuously, auto sensing)
HN-1308SR User Manual Data prefix Operand: 0x52 Disable Custom Define Data0 0x00(Default) 0x01~0xfd Data1 0x00 0x01~0xfd Note: 1. If the character set to be 0x20, you need to set the data = 0xFE. 2. If only one character is set, you need to set another to 0x00 Disable.
HN-1308SR User Manual Baud rate of virtual serial port Operand: 0x48 115200 38400 19200 9600 4800 2400 1200 Data 0x00 0x01 0x02 0x03(Default) 0x04 0x05 0x06 Set serial port baud rate, this setting applies to USB virtual serial port and normal serial port only.
HN-1308SR User Manual The convert rate in HID mode Operand: 0x4E Fast Normal Slow Data 0x01 0x02 (Default) 0x0a Timeout setting of the same barcode in non-single scan mode Operand: 0x4F Variable Data 0x00~0x63 Data: 0x00 indicates that there is no Timeout Invalid. If there is a barcode, it can still output.
Page 60
HN-1308SR User Manual ◼ Commands that support only barcodes Set F1~F12 (only analog key output is supported) Set the barcode content as follows: Name F1 Value 0x16 0x17 0x18 0x19 0x1A 0x1B 0x1C 0x1D 0x1E 0x1 0x10 0x15 Users can directly write the appropriate data to generate the appropriate barcode, then scan the barcode can achieve the function of virtual key output.
HN-1308SR User Manual Virtual serial port mode command settings Start scanning Operand: 0xE4 Data: 0x00 This feature only supports serial mode. Stop scanning Operand: 0xE5 Data: 0x00 This feature only supports serial mode. Setting barcode convert mode Operand: 0xEE Data:...
HN-1308SR User Manual Barcode function settings ITF cut the first few bits of data Operand: 0x55 Enable Disable Data 0x01 (Default) 0x02~0x32 Note: 0x02 indicates cutting the first data; 0x32 indicates cutting 49 data from the front. Disable Cut the first data...
HN-1308SR User Manual Skip the number of characters before barcode data Operand: 0x59 data: *0: Do not skip barcode data 1-31: skip the number of characters before barcode data *Not skip barcode data Skip 1 character before barcode data Skip 5 character before barcode data...
HN-1308SR User Manual Insert characters into barcode data (up to 8 characters) Operand: 0x5C Data: Data0 ~ data1: the position of the inserted data in the barcode data Data2: data inserted in corresponding position (range: 0x01 ~ 0x7F) Note: Data0 ~ data1 Calculation method: data0 = (x/64) +0x20 data1 = (x%64) +0x20, where x is the position of the character to be inserted (range: 1 ~ 6143).
HN-1308SR User Manual Appendix Ⅰ Barcode Enabling Settings Operand: 0x40 Data: 2BYTE data Set the barcode enabling parameter, DATA 0 is the barcode parameter, DATA 1 is the barcode parameter variable. The following is the parameter default value. 0 is OFF, 1 is ON...
HN-1308SR User Manual Appendix Ⅱ Data code prefix and suffix Steps: Scan the setting barcode【open prefix 1】--> Scan the setting barcode【@】 Scan the setting barcode【open prefix 2】--> Scan the setting barcode【!】 The detailed barcode is set as follows: Open prefix...
Need help?
Do you have a question about the HN-1308SR and is the answer not in the manual?
Questions and answers