Code 128 barcode generator with free ASP.NET sample

2014 年 1 月 15 日8000

Barcode for ASP.NET > Generate Barcode in ASP.NET > Linear > Code 128

How to Generate Code 128 in ASP.NET Application

How to Create & Print 1D Code 128 Barcodes in ASP.NET Web Applications

ASP.NET Code 128 Barcode Generator Introduction

Code 128 barcode encoder component is a barcoding functionality of KA.Barcode for ASP.NET which supports creating and printing high-quality Code 128 images in ASP.NET applications. For web designers and developers who want to customize the generated barcode images, detailed tutorial with C# & VB.NET samples are provided for Code 128 generation.

Code 128 Overview in ASP.NET

Code 128, also named ANSI/AIM 128, ANSI/AIM Code 128 & USS Code 128, is a self-checking linear barcode which encodes 128 ISO/IEC 646 characters. It also meets the standard of Automatic Identification Manufacturers (AIM).

Code 128 Encodable Characters in ASP.NET Control

Download Code 128 Barcode Generator for ASP.NET

Firstly, please download KA.Barcode for ASP.NET demo version for free and unzip it. Code 128 barcode images generated with this demo version will include a "KA Barcode" watermark randomly. This demo version includes:

How to Generate Code 128 With ASP.NET Web Control

How to Generate Code 128 in C# or VB.NET Programming

Only two steps are required to produce and stream Code 128 barcode image into ASP.NET web form applications using the C# or VB.NET sample code below.

    Choose "KeepAutomation.Barcode.Web.dll" and locate it to your ASP.NET Web project reference.Refer to the following C# or VB.NET barcoding sample code.

C# Sample code

     BarCode code128 = new BarCode();
code128.Symbology = KeepAutomation.Barcode.Symbology.Code128Auto;
code128.CodeToEncode = "128data";
code128.X = 2;
code128.generateBarcodeToImageFile("C://code128-csharp.png");


View More

VB Sample code

     Dim code128 As KeepAutomation.Barcode.Bean.BarCode = New KeepAutomation.Barcode.Bean.BarCode

code128.Symbology = KeepAutomation.Barcode.Symbology.Code128Auto
code128.CodeToEncode = "128test"
code128.X = 2
code128.ImageFormat = System.Drawing.Imaging.ImageFormat.Gif()
code128.generateBarcodeToImageFile("C://code128-vb-net.gif")


View More

How to Specify a Code 128 to GS1-128 in ASP.NET

.NET users are able to indicate the Code 128 encoded is the one based on GS1 standard, namely GS1-128. This could be accomplished using "ApplicationIndicator" property.

C# Sample code

     code128.ApplicationIndicator = 0;

VB Sample code

     code128.ApplicationIndicator = 0

How to Create GS1 Compatible Code 128 in ASP.NET

By agreement between AIM, Inc. and GS1 (formerly EAN International and the Uniform Code Council (UCC)), the use of FNC1 could be used to encode GS1 compatible Code 128. To achieve this, users should set the "FNC1" property.

C# Sample code

     code128.FNC1 = KeepAutomation.Barcode.FNC1.First;

VB Sample code

     code128.FNC1 = KeepAutomation.Barcode.FNC1.First

How to Set Tilde Function of Code 128 in ASP.NET

Code 128 Symbols are able to encode special characters by setting "TildeEnabled" property to true.

C# Sample code

     code128.TildeEnabled = true;

VB Sample code

     code128.TildeEnabled = true

How to Generate Code 128 in Microsoft IIS Through URL

How To Start

Code 128 for ASP.NET

0 0