.NET Barcode

.NET Barcode



.NET Postnet Generator

Barcode Postnet Generation in .NET, C#, ASP.NET, VB.NET

POSTNET (Postal Numeric Encoding Technique) is a barcode symbology that is used by the United States Postal Service to assist in directing mail. The ZIP Code or ZIP+4 code is encoded in half- and full-height bars. Most often, the delivery point is added, usually being the last two digits of the address or PO box number.

The barcode starts and ends with a full bar (often called a guard rail or frame bar and represented as the letter "S" in the USPS TrueType Font) and has a check digit after the ZIP or ZIP+4. The encoding table is shown on the right.

Each individual digit is represented by a set of five bars, two of which are full bars (i.e. two-out-of-five code). The full bars represent "on" bits in a pseudo-binary code in which the places represent, from left to right: 7, 4, 2, 1, 0. (Though in this scheme, zero is encoded as 11 decimal, or "binary" 11000.)


.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