Matrix 2 of 5

Last updated
Matrix 2 of 5 barcode Matrix2of5.svg
Matrix 2 of 5 barcode

Matrix 2 of 5 (also known as Code 2 of 5 Matrix. [1] ) is a variable length, discrete, two width symbology. Matrix 2 of 5 is a subset of two-out-of-five codes. Unlike Industrial 2 of 5 code, Matrix 2 of 5 can encode data not only with black bars but with white spaces.

Contents

Matrix 2 of 5 [2] [3] was developed in 1970-х by Nieaf Co. [4] in The Netherlands and commonly was uses for warehouse sorting, photo finishing, and airline ticket marking. [5]

Matrix 2 of 5 can encode only digits 0-9. Matrix 2 of 5 can include optional check digit. Most of barcode readers support this symbology. [6] [7]

Encoding

Matrix 2 of 5 [8] is a subset of two-out-of-five codes family and uses wide and narrow elements for encoding. Unlike previously developed Industrial 2 of 5 it uses both black bars and white spaces for data encoding. [9] However, it has lower density then Interleaved 2 of 5 code, because it is discrete symbology and requires additional space between data patterns. Main advantage over Interleaved 2 of 5 codes is ability to encode odd number of characters in message.

Matrix 2 of 5 encodes only digits from 0 to 9 in three black bars and two white spaces, with every data pattern split by additional white space. Matrix 2 of 5 could include optional checksum character which is added to the end of the barcode.

Matrix 2 of 5 features: [10]

Four starting bars and spaces in pattern have own weights which encode value of the symbol (except zero). Also, last black bar is used as parity bit to avoid single error. Value of the symbol is a sum of nonzero weights of four first pattern elements.

Matrix 2 of 5 digits encoding
DigitBar weightBarsEncodingMnemonic (using weights)
1247Parity Bit
000110||NNWWN4+7=11, replaced by 0
110001|WNNNW1+0=1
201001||NWNNW0+2=2
311000||WWNNN1+2=3
400101|▮▮NNWNW4+0=4
510100▮▮|WNWNN1+4=5
601100||NWWNN2+4=6
700011||NNNWW7+0=7
810010||WNNWN1+7=8
901010|||NWNWN2+7=9

N - narrow black bar or white space.
W - wide black bar or white space.
Narrow to wide components difference could be from 1/3 to 2/5.

Matrix 2 of 5 Start/Stop values
ValueBarsEncoding
Start||WNNNN
Stop||WNNNN

The barcode has the following physical structure: [11]
1. Quiet zone 10X wide
2. Start character
3. Variable length digit characters, properly encoded
4. Optional check digit
5. Stop character
6. Quiet zone 10X wide

Checksum

Matrix 2 of 5 may include an optional check digit which is calculated as mod 10/3 checksum. Because specification of Matrix 2 of 5 does not require checksum any other checksum types could be used with the symbology. However mod 10/3 checksum is most common.
,
where is the most right data digit.

Example for the first 6 digits 423456:

Calculating the Industrial 2 of 5 checksum
Digit423456
Position
Weight131313
Weighted sum46312518
Check digit10 - (48 mod 10) = 2

Result: 4234562 barcode

Datalogic 2 of 5

Datalogic 2 of 5 barcode DataLogic2of5.svg
Datalogic 2 of 5 barcode

Data Logic 2 of 5 [12] (also known as Code 2 of 5 Datalogic, [13] China Post Code [14] ) is proprietary Chinese version of Matrix 2 of 5 symbology developed by Datalogic. [15] It has difference from Matrix 2 of 5 code only in start/stop patterns usage and, in this way, it has all advantages and issues of Matrix 2 of 5.

Datalogic 2 of 5 was used mostly in Chinese Postal Services. Some readers currently still support this symbology [16]

Datalogic 2 of 5 Start/Stop values
ValueBarsEncoding
Start||NNN
Stop|WNN

N - narrow black bar or white space.
W - wide black bar or white space.

See also

Related Research Articles

<span class="mw-page-title-main">Universal Product Code</span> Barcode symbology used for tracking trade items in stores

The Universal Product Code is a barcode symbology that is used worldwide for tracking trade items in stores.

<span class="mw-page-title-main">Barcode</span> Optical machine-readable representation of data

A barcode or bar code is a method of representing data in a visual, machine-readable form. Initially, barcodes represented data by varying the widths, spacings and sizes of parallel lines. These barcodes, now commonly referred to as linear or one-dimensional (1D), can be scanned by special optical scanners, called barcode readers, of which there are several types.

<span class="mw-page-title-main">Code 39</span> Variable length, discrete barcode symbology

Code 39 is a variable length, discrete barcode symbology defined in ISO/IEC 16388:2007.

<span class="mw-page-title-main">PDF417</span> Type of barcode

PDF417 is a stacked linear barcode format used in a variety of applications such as transport, identification cards, and inventory management. "PDF" stands for Portable Data File. The "417" signifies that each pattern in the code consists of 4 bars and spaces in a pattern that is 17 units (modules) long. The PDF417 symbology was invented by Dr. Ynjiun P. Wang at Symbol Technologies in 1991. It is defined in ISO 15438.

<span class="mw-page-title-main">Code 128</span> Barcode format

Code 128 is a high-density linear barcode symbology defined in ISO/IEC 15417:2007. It is used for alphanumeric or numeric-only barcodes. It can encode all 128 characters of ASCII and, by use of an extension symbol (FNC4), the Latin-1 characters defined in ISO/IEC 8859-1. It generally results in more compact barcodes compared to other methods like Code 39, especially when the texts contain mostly digits. Code 128 was developed by the Computer Identics Corporation in 1981.

<span class="mw-page-title-main">Code 93</span>

Code 93 is a barcode symbology designed in 1982 by Intermec to provide a higher density and data security enhancement to Code 39. It is an alphanumeric, variable length symbology. Code 93 is used primarily by Canada Post to encode supplementary delivery information. Every symbol includes two check characters.

<span class="mw-page-title-main">Interleaved 2 of 5</span> Type of barcode

Interleaved 2 of 5 (ITF) is a continuous two-width barcode symbology encoding digits. It is used commercially on 135 film, for ITF-14 barcodes, and on cartons of some products, while the products inside are labeled with UPC or EAN.

<span class="mw-page-title-main">Data Matrix</span> Two-dimensional matrix barcode

A Data Matrix is a two-dimensional code consisting of black and white "cells" or dots arranged in either a square or rectangular pattern, also known as a matrix. The information to be encoded can be text or numeric data. Usual data size is from a few bytes up to 1556 bytes. The length of the encoded data depends on the number of cells in the matrix. Error correction codes are often used to increase reliability: even if one or more cells are damaged so it is unreadable, the message can still be read. A Data Matrix symbol can store up to 2,335 alphanumeric characters.

<span class="mw-page-title-main">International Article Number</span> Standard barcode system used in global trade

The International Article Number is a standard describing a barcode symbology and numbering system used in global trade to identify a specific retail product type, in a specific packaging configuration, from a specific manufacturer. The standard has been subsumed in the Global Trade Item Number standard from the GS1 organization; the same numbers can be referred to as GTINs and can be encoded in other barcode symbologies defined by GS1. EAN barcodes are used worldwide for lookup at retail point of sale, but can also be used as numbers for other purposes such as wholesale ordering or accounting. These barcodes only represent the digits 0–9, unlike some other barcode symbologies which can represent additional characters.

Codabar is a linear barcode symbology developed in 1972 by Pitney Bowes Corp. It and its variants are also known as Codeabar, Ames Code, NW-7, Monarch, Code 2 of 7, Rationalized Codabar, ANSI/AIM BC3-1995 or USD-4. Although Codabar has not been registered for US federal trademark status, its hyphenated variant Code-a-bar is a registered trademark.

<span class="mw-page-title-main">MSI Barcode</span> Barcode symbology

MSI is a barcode symbology developed by the MSI Data Corporation, based on the original Plessey Code symbology. It is a continuous symbology that is not self-checking. MSI is used primarily for inventory control, marking storage containers and shelves in warehouse environments.

<span class="mw-page-title-main">Code 11</span> Barcode symbology

Code 11 is a barcode symbology developed by Intermec in 1977, and it is used primarily in telecommunications. The symbol can encode any length string consisting of the digits 0–9 and the dash character (-). A twelfth code represents the start/stop character, commonly printed as "*". One or two modulo-11 check digit(s) can be included.

Plessey Code is a 1D linear barcode symbology based on pulse-width modulation, developed in 1971 by The Plessey Company plc, a British-based company. It is one of the first barcode symbology, and is still used rarely in some libraries and for shelf tags in retail stores, in part as a solution to their internal requirement for stock control. The system was first used in the early 1970s by J.Sainsbury to identify all of its products on supermarket shelves for its product restocking system.

<span class="mw-page-title-main">David Allais</span> American expert and inventor (born 1933)

David Allais is an American expert and inventor in the fields of bar coding and automatic identification and data capture. As vice president and later president and chief executive officer of Everett, Washington-based Intermec Inc. (NYSE:IN), he built the company from a small startup into the leading manufacturer of bar code and printing equipment. Prior to Allais' role at Intermec, he served as a manager for IBM. Most recently, Allais founded PathGuide Technologies, a Bothell, Washington-based developer of warehouse management systems for distributors.

<span class="mw-page-title-main">ITF-6</span>

ITF-6 is the implementation of an Interleaved 2 of 5 (ITF) barcode to encode a addon to ITF-14 and ITF-16 barcodes. Originally was developed as a part of JIS specification for Physical Distribution Center. Instead of ITF-14, it wasn’t standardized by ISO Committee but it is widely used to encode additional data to Global Trade Item Number such as items quantity or container weight.

<span class="mw-page-title-main">Industrial 2 of 5</span>

Industrial 2 of 5. is a variable length, discrete, two width symbology. Industrial 2 of 5 is a subset of two-out-of-five codes.

<span class="mw-page-title-main">Codablock</span>

Codablock is a family of stacked 1D barcodes which was invented in Identcode Systeme GmbH in Germany in 1989 by Heinrich Oehlmann. Codablock barcodes are based on stacked Code 39 and Code 128 symbologies and have some advantages of 2D barcodes.

<span class="mw-page-title-main">MicroPDF417</span>

MicroPDF417 is two-dimensional (2D) stacked barcode symbology invented in 1996, by Frederick Schuessler, Kevin Hunter, Sundeep Kumar and Cary Chu from Symbol Technologies company. MicroPDF417 consists from specially encoded Row Address Patterns (RAP) columns and aligned to them Data columns encoded in "417" sequence which was invented in 1990. In 2006, the standard was registered as ISO/IEC 24728:2006.

<span class="mw-page-title-main">DotCode</span> Type of matrix barcode

DotCode is two-dimensional (2D) matrix barcode invented in 2008 by Hand Held Products company to replace outdated Code 128. At this time, it is issued by Association for Automatic Identification and Mobility (AIM) as “ISS DotCode Symbology Specification 4.0”. DotCode consists of sparse black round dots and white spaces on white background. In case of black background round dots, creating barcode, can be white. DotCode was developed to use with high-speed industrial printers where printing accuracy can be low. Because DotCode by the standard does not require complicated elements like continuous lines or special shapes it can be applied with laser engraving or industrial drills.

<span class="mw-page-title-main">Rectangular Micro QR Code</span> Type of matrix barcode

Rectangular Micro QR Code is two-dimensional (2D) matrix barcode invented and standardized in 2022 by Denso Wave as ISO/IEC 23941. rMQR Code is designed as a rectangular variation of QR code and has the same parameters and applications as original QR code. But rMQR Code is more suitable for the rectangular areas and has difference between width and height up to 19 in R7x139 version. In this way it can be used in places where 1D barcodes are used. rMQR Code can replace Code 128 and Code 39 barcodes with more effective data encoding.

References

  1. "Code 2 of 5 Matrix". www.smp-soft.com. Archived from the original on 2021-08-02.
  2. Roger C. Palmer (1991). The Bar Code Book: Reading, Printing, and Specification of Bar Code Symbols. Helmers Pub. p. 50. ISBN   9780911261059.
  3. Craig K. Harmon, Russ Adams (1984). Reading Between the Lines: An Introduction to Bar Code Technology. Helmers Pub. p. 243. ISBN   0911261001.
  4. Benjamin Nelson (1997). Punched Cards to Bar Codes: A 200 Year Journey. Helmers Publishing Company. p. 302. ISBN   0911261125.
  5. Windows Developer's Journal V8 N1. Miller Freeman, Incorporated. 1997. p. 29.
  6. "TS-200 Image Barcode Scanner User Manual". www.manualslib.com.
  7. "EM2037-V4 OEM scan engine user guide" (PDF). www.newland-id.com.
  8. "Barcode Types Support". ABBYY Technology Portal. Archived from the original on 2020-09-21.
  9. "Matrix 2 of 5". www.n-barcode.com.
  10. "2 of 5 Matrix". www.suchymips.de. Archived from the original on 2018-05-04.
  11. "Barcode Guide: Matrix 2 of 5". barcodeguide.seagullscientific.com.
  12. Building IBM Enterprise Content Management Solutions From End to End. IBM Redbooks. 2014. p. 192. ISBN   978-0738439969.
  13. "2 of 5 Datalogic". www.suchymips.de. Archived from the original on 2016-05-29.
  14. "Datalogic 2 of 5 (China Post)". Barcode Guide.
  15. David Bouda (2012). RFID - und Barcodesysteme: Ein kritischer Vergleich unter besonderer Berücksichtigung logistischer Aspekte (in German). diplom.de. p. 6. ISBN   978-3842823983.
  16. "DYscan 2D Barcode ScannerSetting Manual" (PDF). sparkfun.com.