Home > VB.NET Barcode Generator > VB.NET Linear Barcode Generator - POSTNET Generator

POSTNET Barcode Generator SDK in VB.NET

How to generate and print USPS Postnet barcode in an image in VB.NET applications

  • Create, draw and print POSTNET barcodes in Visual Basic ASP.NET Web Forms and VB.NET Winforms applications

  • Generate POSTNET in VB.NET class & console application, SQL Server Reporting Service (SSRS) & Crystal Reports for .NET projects

  • Easy to adjust short bar/ tall bar ratio of POSTNET with ShortTallRatio option

  • Rich barcode image option provided. Including image format, DPI, Angle

  • 100% run in Visual Basic.NET and compatible with .NET 2.0/3.0/3.5 and advanced version

  • Show human readable text with customizable Font, Color, and Margin Settings;

  • Easy to be integrate barcode generating component into Microsoft Visual Studio, and support VS 2005/2008/2010

  • Automatically checksum digit for POSTNET barcodes

  • Mature barcode generating component DLL

VB.NET Barcode Generator for USPS Postnet barcode creation - Overview

VB.NET POSTNET generator is a powerful .NET barcode generating component used for creating POSTNET barcodes in VB.NET programs. It is easy to use, not requiring complex or special configurations. It is completely written in VB.NET and compatible with .NET 2.0 and later version. Microsoft Visual Studio 2005 and later version are supported to be worked with this generator.

POSTNET Information

  • Numeric-only linear barcode symbology with a fixed length of 5, 6, 9, 11 digits only, excluding the last checksum digit

  • History: developed by the United States Postal Service (USPS)

  • Aka: Postal Numeric Encoding Technique

  • Using Field: identify and track pieces of mail by USPS

  • Encode Charater set:

    • 0, 1, 2, 3, 4, 5, 6, 7, 8, 9

Development Environment

  • Windows Forms Application (design-time and runtime support)

  • .NET Web Forms Web site (design-time and runtime support)

  • Console Application (runtime support)

  • .NET Web Service Project (runtime support)

  • Crystal Reports for .NET Application (runtime support)

  • Windows Service (runtime support)

  • Class Library (runtime support)

Generate and print Postnet barcode using VB.NET barcode generator

Generate POSTNET in VB.NET class:


Dim barcode As Avapose.Barcode.Encoder.ClassLibrary.BarCode = New Avapose.Barcode.Encoder.ClassLibrary.BarCode


// POSTNET encoding set

barcode.Symbology = Avapose.Barcode.Encoder.ClassLibrary.Symbology.Postnet


// POSTNET valid character set, encode 5-digit, 6-digit, 9-digit or 11-digit length, excluding a checksum digit

barcode.Data = "50195019501"


// POSTNET basic settings, including sizing, color, etc

barcode.UOM = Avapose.Barcode.Encoder.ClassLibrary.UnitOfMeasure.Pixel

barcode.X = 1

barcode.Y = 60

barcode.BearerBarStyle = 0

barcode.BarcodeImageWidth = 175

barcode.BarcodeImageHeight = 50

barcode.Angle = Avapose.Barcode.Encoder.ClassLibrary.Angle.Degree0

arcode.AutoResize = True


// POSTNET background & foreground color set

barcode.ForegroundColor = Color.Coral


// POSTNET text releted seeting, including color, font, margin

barcode.ShowText = True

barcode.TextColor = Color.Black

barcode.TextFont = New Drawing.Font("Arial", 10.0F, Drawing.FontStyle.Bold)


// POSTNET barcode image format set

barcode.draw(".../postnet.png")

postnet





Related USPS POSTNET Barcode Integration & Generation Information

The following USPS POSTNET barcode integration and creation information links relate to this product that may be of interest to you: