C#. GS1 128 Generator Data Encoding Tutorial

sample source code to input valid data and generate linear GS1 128 images in C# .NET


 

C# GS1 128 Overview

GS1-128, former known as EAN-128, UCC-128, USS-128, is alphanumeric linear barcode developed on Code 128, however, using GS1 standard.

C# GS1 128 is a GS1 128 generator for C# development which a detailed C# source code about generating GS1-128 barcodes in C# class using Barcode in C# generation component. C# GS1 128 generator supports various image setting, such as bar alignment, image color, image rotation(0, 90, 180, 270), and image formats(png, gif, tiff, bmp and jpeg).

OnBarcode C# Barcode Generator is designed to generate, create GS1 128 and other linear & 2d barcodes in Microsoft Word. Here are some more tutorials for C# GS1 128 generation concerning size & image setting.


 

Encoding GS1 128 Data for C# EAN 128 Generation

C# GS1 128 data encoding can be set form two aspects which are data character and data length.


GS1 128 Valid Character Set in C# ASP.NET web projects

GS1 128 is a variable linear barcode, which can encode following data:

All ASCLL 128 Characters

Note that C# GS1 128 generation component need to add "()" around the AI code during encoding the GS1 128 data to generate GS1 128 images in C# development.

Encoding Only Numeric digits

C# GS1 128 generator can only encode numeric digits to generate GS1 128 barcode image in C# .NET development:

Linear ean128 = new Linear();

ean128.Type = BarcodeType.EAN128;

ean128.Data = "11151986";

Encoding Only Uppercase Letters

C# GS1 128 generator supports encoding only uppercase letters for creating GS1 128 images with C# .NET Winforms GS1 128 generator:

Linear ean128 = new Linear();

ean128.Type = BarcodeType.EAN128;

ean128.Data = "UPPERCASE";

Encoding Only Lowercase Letters

C# GS1 128 generator supports encoding only lowercase letters for creating GS1 128 images with C# .NET Winforms GS1 128 generator:

Linear ean128 = new Linear();

ean128.Type = BarcodeType.EAN128;

ean128.Data = "lowercase";

Encode Mixed Letters

C# GS1 128 generation SDK is compatible with mixed numeric digits and special letters together to draw your needed GS1 128 images:

Linear ean128 = new Linear();

ean128.Type = BarcodeType.EAN128;

ean128.Data = "EAN128-Data-Encoding";

GS1 128 Valid Length on C#.NET Winforms programming

GS1 128 is a variable data length barcode type. C# GS1 128 can encode 3 types of data length to create high quality GS1 128 in various C# projects.

Encoding 6 digits

C# GS1 128 generation dill can draw GS1 128 image with 6 digits length in C# projects:

Linear ean128 = new Linear();

ean128.Type = BarcodeType.EAN128;

ean128.Data = "456123";

Encoding 11 Digits

C# GS1 128 generation library can encode 11 digits to output GS1 128 images for C# development:

Linear ean128 = new Linear();

ean128.Type = BarcodeType.EAN128;

ean128.Data = "GS1128-Data";

Encode 18 Digits

C# GS1 128 generation component allows encoding 18 digits to create high quality GS1 128 images in C#.NET applications:

Linear ean128 = new Linear();

ean128.Type = BarcodeType.EAN128;

ean128.Data = " GS1128-Data-Length";









OnBarcode is a market-leading provider of barcode 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 high quality tutorials and guides for various linear, 2d barcode information, such as C# Barcode, QR Code C#, QR Code VB.NET, QR Code ASP.NET, QR Code .NET, ASP.NET Barcode. 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.