VB.NET Planet Generator Data Encoding Tutorial

sample source code to input valid data and generate linear Planet images in VB.NET

VB.NET Planet Barcode Generator Overview

VB.NET Planet Barcode Generator is a mature linear barcode generation component designed for VB.NET developers who are necessary of adding the Planet barcode printing functions into their .NET projects. It is compatible with the .NET 2.0, 3.0, 3.5, 4.0 and is able to create Planet barcodes in ASP.NET Web projects, .NET WinForms apps as well as .NET reporting services (SSRS) projects using the Visual Basic .NET. It is simple to encode valid digits into the Planet barcode symbology by Visual Basic .NET.

How to generate, print barcode using .NET, Java sdk library control with example project source code free download:

OnBarcode.com also provides more details about how to set Planet barcode size and image in Barcode Generator Control on VB.NET:


VB.NET Planet Data Encoding

Planet Valid Character Set

The Planet barcode, same as the Postnet, is one of barcode symbologies used by the US Postal Service Office (USPS) for tracking mail pieces. It is also known as USPS PLANET Barcode, USPS Confirm Service Barcode.

A Planet symbol is a fixed length barcode with 12 or 14 digits encoded, in which are 11 or 13 message data plus 1 check digit respectively. All data are only encoded into the height of bars instead of the width of bars and spaces. Planet barcode only encodes numeric characters from 0 through 9:

Planet Valid Character Set: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9.

Planet Barcode Checksum Digit in VB.NET

The Planet barcode symbology adopts the Mod 10 algorithm. The VB.NET Barcode Generator provided by Onabrcode, automatically calculates the checksum digit for Planet Barcode.

Encode data into Planet using VB.NET

Sample Code for Planet data encoding data with VB.NET

Dim barcode As Linear = New Linear

barcode.Type = BarcodeType.PLANET

barcode.Data = "01234567891"

barcode.ShortTallRatio = 0.4F

barcode.UOM = UnitOfMeasure.PIXEL

barcode.X = 1

barcode.Y = 80

barcode.LeftMargin = 0

barcode.RightMargin = 0

barcode.TopMargin = 0

barcode.BottomMargin = 0

barcode.Resolution = 96

barcode.Rotate = Rotate.Rotate0

Planet Barcode Symbols

After encoding the 11 digits address information "01234567891" into the Planet barcode, it looks like the following barcode image. The last digit "4" is the check digit computed automatically by VB.NET barcode generator.

OnBarcode is a market-leading provider of barcode imaging generator, reader controls and components for ASP.NET, Windows Forms, WPF, as well Java, Android, iOS (iPhone, iPad) across all major enterprise development platforms. We provides comprehensive tutorials and how-tos for various linear, 2d barcode information, such as C# in ASP.NET, C# .NET, C# Barcode Encoding, C# Barcode Image, VB.NET in ASP.NET, VB.NET Winforms, VB.NET Barcode Encoding, Paint QR Bar Code in Java, Print QR Code in Software. OnBarcode barcode products are supported by RasterEdge ASP.NET Document Viewer, which supports ASP.NET PDF Viewer, ASP.NET MVC Document Viewer, ASP.NET PDF Editor, MVC PDF Viewer. And provide high quality C# Convert PDF to Tiff, C# Convert PDF to Word, C# Convert PDF to HTML, C# Convert PDF to Jpeg images, and their easy and simple documents, like C# PDF SDK, C# extract text from PDF, C# Compress PDF, Print PDF in C# and C# extract image from PDF.
Terms of Use | Privacy Policy
Copyright © OnBarcode.com . All rights reserved.