Han Xin Code - Chinese 2D Barcode

This Barcode Symbology is supported by the following Neodynamic products:

Overview

Han Xin Code - Chinese 2D Barcode Han Xin Code is a two-dimensional matrix symbology made up of an array of square modules arranged in an overall square pattern. Unique finder patterns assist in easy location of its position, size and inclination.

In addition to the symbology's capability to efficiently encode double-byte Chinese characters (GB18030), Han Xin Code can efficiently encode numeric and ASCII characters (reference to ISO/IEC 8859-1) plus octet bytes such as graphic and audio information. The symbology includes user-selectable levels of Reed-Solomon error correction to ensure correct decoding even with damaged symbols.

There are eighty-four sizes (versions) of Han Xin Code symbols. Version 1 measures 23 modules × 23 modules; Version 84 measures 189 modules × 189 modules. Module dimension is user-specified to enable production of symbols by a wide variety of techniques.

Maximum symbol data capacities are 7827 numeric characters, 4350 ASCII characters, 2174 Common Chinese Characters in Region one or Region 2, 1739 2-byte Chinese characters data, 1044 4-byte Chinese characters, and 3261 binary byte data. Multiple data types can be encoded in the same symbol.

How to create Han Xin Code barcodes using Barcode Professional for

Note: Please refer to the Class Reference documentation for more information about the properties and methods stated in this document.
In order to get a Han Xin Code barcode image, please follow these steps:
  • Set the Symbology property to HanXinCode
  • Set the HanXinCodeVersion property
  • Set the HanXinCodeErrorCorrectionLevel property
  • Set the HanXinCodeEncoding property
  • Setting up dimensions and quiet zones:
    • Set the HanXinCodeModuleSize property (Value is expressed in Inches)
    • Set the QuietZoneWidth property (Value is expressed in Inches)
    • Set the TopMargin and BottomMargin properties (Values are expressed in Inches)
  • Set the Code property with the value to encode
  • If desired, you can use the tilde character "~" to specify special characters in the input data. To do that you must set the HanXinCodeProcessTilde property to True. Read more about how it works.
Note: Please refer to the Class Reference documentation for more information about the properties and methods stated in this document.
In order to get a HanXin Code barcode image, please follow these steps:
  • Set the Symbology property to HanXinCode
  • Set the HanXinCodeVersion property
  • Set the HanXinCodeErrorCorrectionLevel property
  • Set the HanXinCodeEncoding property
  • Setting up dimensions and quiet zones:
    All values for barcode dimensions are expressed in INCHES by default. However, Barcode Professional supports other unit of measurement such as Millimeter, Centimeter, and Mils. For modifying the unit of measurement for barcoding, please set up the BarcodeUnit property as needed.
    • Set the HanXinCodeModuleSize property (Value is expressed in Inches)
    • Set the QuietZone property (Value is expressed in Inches)
    • Set the TopMargin and BottomMargin properties (Values are expressed in Inches)
  • Set the Code property with the value to encode
  • If desired, you can use the tilde character "~" to specify special characters in the input data. To do that you must set the HanXinCodeProcessTilde property to True. Read more about how it works.

How Han Xin Code tilde processing works

When working with Han Xin Code tilde processing keep in mind the following rules:
  • ~eNNNNNN: is used to specify the Extended Channel Interpretation (ECI) and NNNNNN is a value between 000000 and 999999. Default is ECI 000003 which represents the ISO 8859-1 Latin Alphabet No. 1
  • ~dNNN: is used to represent a byte value in decimal notation. NNN must be a numeric value ranging from 000 to 255
  • ~hXX: is used to represent a byte value in hexadecimal notation. XX must be a hexadecimal value ranging from 00 to FF

Example of HanXin Code barcode images

Code property = ABCDE-1234567890 will produce the following barcode image:

Example of Han Xin Code barcode images