Symbology Types in WinUI Barcode
31 May 20228 minutes to read
Barcode Symbology supports 12 variants of one-dimensional and 3 variants of two-dimensional barcodes.
One-Dimensional Barcodes
One-Dimensional barcode is also called as linear barcode. The bars and spaces for each symbol in one-dimensional barcodes are grouped in such a way to represent a specific ASCII character.
The following table represents supported one-dimensional barcode symbologies.
Symbology | Supported characters |
---|---|
[0-9]; [- $ : / . +] | |
[0-9]; [-] | |
[0-9] | |
[0-9]; [A-Z]; [- . $ / + % SPACE] | |
[0-9]; [A-Z]; [a-z] | |
[0-9]; [A-Z]; [- . $ / + % SPACE] | |
All 128 ASCII characters | |
[0-9]; [A-Z]; [NUL (0x00) SOH (0x01) STX (0x02) ETX (0x03) EOT(0x04) ENQ (0x05) ACK (0x06) BEL (0x07) BS (0x08) HT (0x09) LF (0x0A) VT(0x0B) FF (0x0C) CR (0x0D) SO (0x0E) SI (0x0F) DLE (0x10) DC1 (0x11) DC2(0x12) DC3 (0x13) DC4 (0x14) NAK (0x15) SYN (0x16) ETB (0x17) CAN(0x18) EM (0x19) SUB (0x1A) ESC (0x1B) FS (0x1C) GS (0x1D) RS (0x1E) US(0x1F) SPACE (0x20)]; [" ! # $ % & ' ( ) * + , - . / ; < = > ? @ [ / ]^ _ ] | |
[0-9]; [A-Z]; [a-z]; [SPACE (0x20) ! " # $ % & ' ( ) * + , - . / :; < = > ? @ [ / ]^ _ ` { | } ~ DEL (•) ] | |
ASCII 00-99(encodes each two digit with one code) | |
[0-9] | |
ASCII 00-99(encodes each two digit with one code) |
NOTE
Codabar
The [CodabarBarcode] (https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.Barcode.CodabarBarcode.html) is a discrete numerical symbology used in libraries, blood banks, and other information processing applications.
- Encodes only numeric characters and some special characters like dash (-), colon (:), slash (/), plus (+).
- Each character has three bars and four spaces.
- Uses A, B, C, D as start and stop characters.
<syncfusion:SfBarcode.Symbology>
<syncfusion:CodabarBarcode />
</syncfusion:SfBarcode.Symbology>
Code 11
The Code11Barcode Symbology is used primarily for labeling telecommunications equipment and it has the following structure:
- Allows character set of digits (0-9) and dash (-).
- Each character is encoded with 3 bars and 2 spaces.
- There may be two wide and three narrow elements or one wide and four narrow elements among these five elements.
<syncfusion:SfBarcode.Symbology>
<syncfusion:Code11Barcode />
</syncfusion:SfBarcode.Symbology>
Code 32
The Code32Barcode is primarily used for coding pharmaceuticals, cosmetics, and dietetics, and it has the following structure:
- Starts with ‘A’ character (ASCII 65) that is not really encoded.
- Encodes only the character set of length 8.
- Checksum module 10 has one digit that is automatically calculated.
<syncfusion:SfBarcode.Symbology>
<syncfusion:Code32Barcode />
</syncfusion:SfBarcode.Symbology>
Code 39
The Code39Barcode is a type of Barcode Symbology that encodes alphanumeric characters into a series of bars. It can be any length, though more than 25 characters begin to push the bounds. This is the only type of Barcode symbology that does not require a checksum.
- Allows character set of digits (0-9), upper case alphabets (A-Z), and symbols like space, minus (-), plus (+), period (.), dollar sign ($), slash (/), and percent (%).
- Always starts and ends with an asterisk (*) symbol, termed as start and stop character.
- Each character is encoded with five bars and four spaces where three are wide and six are narrow.
<syncfusion:SfBarcode.Symbology>
<syncfusion:Code39Barcode />
</syncfusion:SfBarcode.Symbology>
Code 39 Extended
The Code39ExtendedBarcode Symbology is an extended version of Code39Barcode that supports the full ASCII character set. It encodes lower case alphabets (a-z) as well as special characters in the keyboard.
<syncfusion:SfBarcode.Symbology>
<syncfusion:Code39ExtendedBarcode />
</syncfusion:SfBarcode.Symbology>
Code 93
The Code93Barcode is designed to complement and improve upon Code39Barcode. It represents the full ASCII character set by using the combination of 2 characters. It is a continuous, variable-length symbology that produces a denser code.
- Encodes character set of uppercase alphabets (A-Z), digits (0-9), and special characters like asterisk (*), dash (-), dollar ($), percent (%), Space, dot (.), slash (/), and plus (+).
- The asterisk (*) is not a true encoding character, but it is the start and stop symbol for Code93Barcode Symbology.
<syncfusion:SfBarcode.Symbology>
<syncfusion:Code93Barcode />
</syncfusion:SfBarcode.Symbology>
Code 93 Extended
The Code93ExtendedBarcode is designed to complement and improve upon Code 39. It represents the full ASCII character set by using the combination of 2 characters. It is a continuous, variable-length Symbology that produces a denser code.
- Encodes character set of uppercase alphabets (A-Z), digits (0-9), and special characters like asterisk (*), dash (-), dollar ($), percent (%), Space, dot (.), slash (/), and plus (+).
- The asterisk (*) is not a true encoding character, but it is the start and stop symbol for Code 93 symbology.
<syncfusion:SfBarcode.Symbology>
<syncfusion:Code93ExtendedBarcode />
</syncfusion:SfBarcode.Symbology>
Code 128A
The Code128ABarcode (or Chars Set A) includes all the standard upper case U.S. alphanumeric keyboard characters and punctuation characters together with the control characters, (characters with ASCII values from 0 to 95 inclusive), and seven special characters.
<syncfusion:SfBarcode.Symbology>
<syncfusion:Code128ABarcode />
</syncfusion:SfBarcode.Symbology>
Code128B
The Code128BBarcode (or Chars Set B) includes all the standard upper case alphanumeric keyboard characters and punctuation characters together with the lower case alphabetic characters (characters with ASCII values from 32 to 127 inclusive), and seven special characters.
<syncfusion:SfBarcode.Symbology>
<syncfusion:Code128BBarcode />
</syncfusion:SfBarcode.Symbology>
Code128C
The Code128CBarcode (or Chars Set C) includes a set of 100 digit pairs from 00 to 99 inclusive, as well as three special characters. This allows numeric data to be encoded as two data digits per symbol character effectively twice the density of standard data.
<syncfusion:SfBarcode.Symbology>
<syncfusion:Code128CBarcode />
</syncfusion:SfBarcode.Symbology>
UPC
The UPCBarcode(Universal Product Code), also known as UPC-A. It encodes 12 numeric digits. UPC barcode symbology mostly used in trade items.
<syncfusion:SfBarcode.Symbology>
<syncfusion:UpcBarcode />
</syncfusion:SfBarcode.Symbology>
GS1Code128Barcode
The GS1Code128Barcode also known as EAN-128 barcode. It is commonly used in shipping and supply chain entities.
<syncfusion:SfBarcode.Symbology>
<syncfusion:GS1Code128Barcode />
</syncfusion:SfBarcode.Symbology>
Two Dimensional Barcodes
Two Dimensional Barcode is a way to represent information via two-dimensional approach. It is similar to One Dimensional Barcode, but can represent more data per unit area.
The following table represents the supported two dimensional barcode symbologies
Symbology | Supported characters |
---|---|
[0–9]; [A–Z (upper-case only)]; [space $ % * + - . / , :]; [Shift JIS characters] | |
All ASCII characters | |
All ASCII characters |
NOTE
QR Code
The QRBarcode is a two dimensional barcode symbology that is popularly used in automotive industry. It is known for fast readability and greater storage capacity.
<syncfusion:SfBarcode.Symbology>
<syncfusion:QRBarcode />
</syncfusion:SfBarcode.Symbology>
Data Matrix
The DataMatrixBarcode is widely used in printed media such as labels and letters. It can be read easily by a Barcode reader and also by mobile phones. It consists of a grid of dark and light dots or blocks forming square or rectangular symbol. The data encoded in the Barcode can be either number or alphanumeric.
<syncfusion:SfBarcode.Symbology>
<syncfusion:DataMatrixBarcode />
</syncfusion:SfBarcode.Symbology>
Pdf417Barcode
The Pdf417Barcode is a two dimensional barcode and it can encode text, numbers, files, and actual data bytes. It is mainly used in a variety of applications such as transport, identification cards, and inventory management.
<syncfusion:SfBarcode.Symbology>
<syncfusion:Pdf417Barcode />
</syncfusion:SfBarcode.Symbology>