.NET UPC-A Generator
Barcode UPC-A Generation in .NET, C#, ASP.NET, VB.NET
The Universal Product Code (UPC) is a barcode symbology (i.e., a specific type of barcode), that is widely used in Canada and the United States for tracking trade items in stores.
The UPC encodes 12 decimal digits as SLLLLLLMRRRRRRE, where S (start) and E (end) are the bit pattern 101, M (middle) is the bit pattern 01010 (called guard bars), and each L (left) and R (right) are digits, each one represented by a seven-bit code. This is a total of 95 bits. The bit pattern for each numeral is designed to be as little like the others as possible, and to have no more than four consecutive 1s or 0s in order. Both are for reliability in scanning.
Since S, M, and E all include two bars, and each of the 12 digits of the UPC-A barcode consists of two bars and two spaces, all UPC-A barcodes consist of exactly (3 �� 2) + (12 �� 2) = 30 bars.
.NET Barcode Supporting Types
Data Matrix,
PDF-417,
QR-Code
Codabar,
Code 2 of 5,
Code 11,
Code 39
Code 93,
Code 128,
EAN 8,
EAN 13
EAN 128,
Identcode,
Interleaved 2 of 5,
Leitcode
ISBN,
ISSN,
ITF14,
MSI Plessey
Onecode,
Planet,
Postnet,
RM4SCC
UPC-A,
UPC-E
In .NET Barcode Generator - How to create barcodes in C# Class?
Code39 barcode = new Code39(); barcode.Data("456456456"); barcode.createBarcode("C://csharp-barcode-code-39.png");
In .NET Barcode Generator - How to create barcodes in VB.NET class?
Dim barcode As Avapose.Barcode.Linear barcode = New Avapose.Barcode.Linear() barcode.Type = Avapose.Barcode.LinearType.CODE128 barcode.Data = "456456456" barcode.createBarcode("C://barcode-code39-vbnet.gif")
In C#, VB.NET Barcode Generator - How to draw barcodes to .NET Bitmap & Graphics objects?
Dim barcode As Avapose.Barcode.Linear barcode = New Avapose.Barcode.Linear() barcode.Type = Avapose.Barcode.LinearType.CODE128 barcode.Data = "456456456" barcode.createBarcode("your VB.NET Bitmap & Graphics object")
In .NET Barcode Generator - How to draw & encode barcodes into GIF, JPEG, PNG & BMP images?
Code39 barcode = new Code39(); barcode.Data("456456456"); barcode.createBarcode("C://csharp-barcode-code-39.png"); // you can change to .png, .jpg, .bmp