C#. PLANET Generator Data Encoding Tutorial
Sample source code to input valid data and generate linear PLANET images in C# .NET
C# PLANET Introduction
Planet, also known as USPS PLANET Barcode, USPS Confirm Service Barcode, is a linear barcode symbology adopted by United States Postal Service for tracking purpose when mail is processed on automated mail processing equipment.
C# PLANET barcode is one function of .NET barcode generating SDK, which support PLANET generation in all Visual C#.NET development environment, including C# ASP.NET web application, C# Windows Form software, SQL Server Reporting Service (SSRS) & Crystal Reports for C#.NET projects and C# class. C# PLANET barcode is a powerful C#.NET PLANET generation component, offering an easy way for developers to generate PLANET in C#.NET programs with a simple but complete PLANET generating guide.
This article is providing a method to use C#.NET Barcode Generation Control to encoding PLANET barcodes and modify PLANET barcode length in Visual C#.NET development environments.
OnBarcode C# Barcode Generator is designed to generate, create PLANET and other linear & 2d barcodes in Microsoft Word.
Here are some more tutorials for C# PLANET generation concerning size & image setting.
How to generate, print barcode using .NET, Java sdk library control with example project source code free download:
Encode PLANET Valid Character in C#.NET
PLANET is a numeric-only linear barcodes, adopted by Unite States Postal Service (USPS) for tracking purpose when mail is processed on automated mail processing equipment.
PLANET valid character set:
0, 1, 2, 3, 4, 5, 6, 7, 8, 9
Here is a sample code for encoding PLANET valid data in C# class:
Linear barcode = new Linear();
barcode.Type = BarcodeType.PLANET;
barcode.Data = "1234567890123";
barcode.BarcodeWidth = 200;
barcode.Format = ImageFormat.Png;
barcode.drawBarcode("c:/planet.png");
Modify PLANET Valid Length in C#.NET
PLANET is a fixed-length linear barcode symblogy, with 11 or 13 digits to be encoded and plus 1 check digit.
Generate 11-digit PLANET Barcodes in C#.NET
Linear barcode = new Linear();
barcode.Type = BarcodeType.PLANET;
barcode.Data = "12345678901";
barcode.BarcodeWidth = 200;
barcode.Format = ImageFormat.Png;
barcode.drawBarcode("c:/planet.png");
Create13-digit PLANET Barcodes in C#.NET
Linear barcode = new Linear();
barcode.Type = BarcodeType.PLANET;
barcode.Data = "1234567890123";
barcode.BarcodeWidth = 200;
barcode.Format = ImageFormat.Png;
barcode.drawBarcode("c:/planet.png");