KA.Barcode for .NET Suite
How to Generate Codabar in .NET Application
How to create Codabar Linear barcode images in ASP.NET, WinForms, C#, VB.NET class library
  • Stream and create 1D Codabar images in ASP.NET web applications, MS IIS, and windows projects
  • Programmatically printing and encoding high-quality Codabar linear bar codes with C#, VB.NET class library
  • Compatible with Microsoft Visual Studio 2005/2008/2010 and other .NET development environments
  • Written in managed Visual C#.NET code with strong named assemblies
  • Allows flexible barcode settings on rotation, size, text fonts, etc
  • High-quality Codabar images generated for all scanners and printers
  • Mature and easy-to-use barcode generator component SDK for .NET developers
  • Purchase royalty-free and flexible developer license with source code option
Codabar barcode generation component, a functionality in KA.Barcode for .NET Suite, is all-in-one barcode encoder SDK for .NET developers to generate Codabar in .NET. Supported applications include ASP.NET web sites, winforms, C# / VB.NET class & console applications, Crystal Reports, Reporting Services, etc.
Codabar Barcode Introduction
Codabar, also known as Codeabar, Ames Code, NW-7, Monarch, Code 2 of 7, Rationalized Codabar, ANSI/AIM BC3-1995 or USD-4, is a self-checking linear barcode symbology used by FedEx air bills and blood bank forms.

Codabar Encodable Character Set

  • Numeric digits 0-9
  • Special characters - & ; / , +

Codabar Barcode Data Length

  • Variable
Codabar Generation in .NET Applications
Above all, please download KA.Barcode for .NET Suite and unzip.

How to Drag & Drop Barcode Control to Generate Codabar

  1. 1.
    Open your .NET Project with Visual Studio, and right-click "Choose Items..."
  2. 2.
    Browse and select "KeepAutomation.Barcode.Windows.dll" or "KeepAutomation.Barcode.Web.dll"
  3. 3.
    Add "BarCodeControl" to Visual Studio "Toolbox"
  4. 4.
    Drag and drop the "BarCodeControl" from the "Toolbox" onto your forms
  5. 5.
    Select the barcode on the form, switch to the Properties Window, and set "Symbology" property to "Codabar"

How to Generate Codabar in C#, VB.NET Class Library

This product supporting using C# and VB to create barcode images. Switch to the Visual Studio Solution Explorer window, and add "KeepAutomation.Barcode.Windows.dll" or "KeepAutomation.Barcode.Web.dll" to as reference of the project. Then copy the following C# or VB.NET to where the Codabar is generated.
using KeepAutomation.Barcode.Bean;

BarCode codabar = new BarCode();
codabar.Symbology = KeepAutomation.Barcode.Symbology.Codabar;
codabar.CodeToEncode = "-0123456789-";
Dim codabar As KeepAutomation.Barcode.Bean.BarCode = New KeepAutomation.Barcode.Bean.BarCode

codabar.Symbology = KeepAutomation.Barcode.Symbology.Codabar
codabar.CodeToEncode = "-0123456789-"

How to Generate Codabar with Start and Stop Characters

Codabar barcode generator control library included in KA.Barcode for .NET Suite supports the customization of the start and stop character. A, B, C, &D could be set as start and stop character for Codabar.

codabar.CodabarStartChar = KeepAutomation.Barcode.CodabarStartStopChar.A;
codabar.CodabarStopChar = KeepAutomation.Barcode.CodabarStartStopChar.B;

codabar.CodabarStartChar = KeepAutomation.Barcode.CodabarStartStopChar.A
codabar.CodabarStopChar = KeepAutomation.Barcode.CodabarStartStopChar.B
How to Generate Codabar in Microsoft IIS
  1. 1.
    Copy the "barcode" folder from the unzipped folder to IIS web application folder
  2. 2.
    Create a virtual directory named "barcode", then link it to the "barcode" folder in web application folder
  3. 3.
    Testing: Open your web browser, and navigate to "http://localhost/barcode/barcode.aspx?symbology=0&code-to-encode=-0123456789-"
  4. 4.
    Adding Codabar to web page: insert the following tag onto your web pages <img src="http://localhost/barcode/barcode.aspx?symbology=0&code-to-encode=-0123456789-"/>