Repository navigation
Han Xin Code
Terry Burton edited this page Oct 15, 2026
·
12 revisions
The Han Xin Code symbology is a 2D matrix-style barcode symbology that can encode full 256 character extended-ASCII.
Also known as: Chinese Sensible.
Standards: GB/T 21049-2007, ISO/IEC 20830.
- The data field can contain any extended ASCII data. The default interpretation of data by readers is in accordance with ISO/IEC 8859-1.
- The encoder chooses the shortest encodation of the data among the numeric, text, binary byte and Chinese character modes. Byte pairs and quadruples within the GB 18030 ranges of the Chinese character modes are compacted whatever their interpretation.
- When the parse option is specified, any instances of
^NNNin the data field are replaced with their equivalent ASCII value, useful for specifying unprintable characters. - When the parsefnc option is specified,
^FNC1in the first position of the data selects GS1 mode, in which further^FNC1separate the element strings. Outside GS1 mode, FNC1 cannot appear. - The eclevel option is used to specify the error correction level:
-
eclevel=L1- Lowest -
eclevel=L2(default) eclevel=L3-
eclevel=L4- Highest
-
- The version option is used to specify the size of the symbol, 1 to 84.
- If unspecified the encoder will select the version of the symbol that is the minimum size to represent the given data at the selected error correction level.
- The mask option is used to specify the mask pattern, 1 to 4. If unspecified the encoder selects the best mask.
A fixed-size symbol with maximum error correction:
Data: Han Xin Code
Options: version=10 eclevel=L4
Encoder: hanxin
Home | Download | Documentation (PDF) | Source | Support | Issues | Online Barcode Generator
Point of Sale
GS1 DataBar
- GS1 DataBar Omnidirectional
- GS1 DataBar Stacked Omnidirectional
- GS1 DataBar Expanded
- GS1 DataBar Expanded Stacked
- GS1 DataBar Truncated
- GS1 DataBar Stacked
- GS1 DataBar Limited
- GS1 North American Coupon Code
Supply Chain
- EAN-14
- ITF-14
- SSCC-18
- GS1-128
- GS1 DataMatrix
- GS1 QR Code
- GS1 Digital Link Data Matrix
- GS1 Digital Link QR Code
- GS1 DotCode
Two-dimensional Symbols
- Aztec Code
- Compact Aztec Code
- Aztec Runes
- Data Matrix
- Data Matrix Rectangular
- Data Matrix Rectangular Extension
- DotCode
- Han Xin Code
- PDF417
- Compact PDF417
- MicroPDF417
- QR Code
- Micro QR Code
- Rectangular Micro QR Code
- Swiss QR Code
- EPC QR Code
- EMV QR Code
One-dimensional Symbols
Postal Symbols
- Australia Post
- Canada Post PostBar
- CEPNet
- DPD Parcel Label
- Deutsche Post Identcode
- Deutsche Post Leitcode
- Japan Post
- Korea Post
- MaxiCode
- UPS MaxiCode
- Royal Mail
- Royal Mail Mailmark
- Royal Mail Mailmark 4-state
- Royal TNT Post
- UPU S10
- USPS Intelligent Mail
- USPS POSTNET
- USPS PLANET
- USPS FIM symbols
Pharmaceutical Symbols
- Italian Pharmacode
- Pharmacode
- Two-track Pharmacode
- PZN
- PPN-Code
- HIBC Code 39
- HIBC Code 128
- HIBC PDF417
- HIBC MicroPDF417
- HIBC QR Code
- HIBC Data Matrix
- HIBC Data Matrix Rectangular
- HIBC Codablock F
- HIBC Aztec Code
Less-used Symbols
- BC412
- Channel Code
- Codabar
- Codablock F
- Codablock A
- Code 11
- Code 16K
- Code 25
- Ultracode
- IATA 2 of 5
- Marks & Spencer
- Matrix 2 of 5
- Datalogic 2 of 5
- COOP 2 of 5
- Code 49
- Code One
- Grid Matrix
- Datastrip 2D
- MSI Plessey
- Plessey
- Anker Code
- PosiCode
- Telepen
- Telepen Numeric
- Kodak Patch Codes
- VIN
- LOGMARS
- DX Film Edge
- EAN-13 Composite
- EAN-8 Composite
- UPC-A Composite
- UPC-E Composite
- GS1 DataBar Omnidirectional Composite
- GS1 DataBar Stacked Omnidirectional Composite
- GS1 DataBar Expanded Composite
- GS1 DataBar Expanded Stacked Composite
- GS1 DataBar Truncated Composite
- GS1 DataBar Stacked Composite
- GS1 DataBar Limited Composite
- GS1-128 Composite
Raw Symbols
Partial Symbols