Our Customers
Contact Us Email: support@barcodelib.com
Home > ASP.NET Barcode > ASP.NET Barcode Generation Guide > Codabar ASP.NET Barcode Generating Component, also supports Code 39, Code 128
Download Barcode for ASP.NET Trial

ASP.NET Codabar Barcoding Generator Control

Instructions on Codabar ASP.NET Barcode Generation in Web Applications / Website / IIS
  • Generate & print Codabar in ASP.NET web applications and IIS
  • Draw & encode Codabar in RDLC Reports & Crystal Reports
  • Completely built in managed C#, suitable for both C# & VB programming
  • Easy to integrate ASP.NET barcode generator dll into .NET development
  • Support Visual Studio .NET Framework 2.0, 3.0, 3.5 and greater
  • Provide four licence types for ASP.NET Barcode Generator Control package
Brief Summary of ASP.NET Linear Codabar Barcode
Codabar, also known as Code 2 of 7, ANSI/AIM BC3-1995 or USD-4, is a linear barcode. Like Code 39, Codabar is also discrete and optional to checksum. The biggest characteristic of Codaba is that it has 4 start / stop symbols. Nowadays, Codabar has been used in sectors like U.S. blood banks, photo labs and FedEx airbills.
You may know more about Codabar barcode by referring to Codabar .NET Barcode Introduction.
Embed ASP.NET Codabar Barcoding Generation Control
  1. Embed Barcodelib.Barcode.ASP.NET.dll to your ASP.NET project by adding reference.
  2. Embed Barcodelib.Barcode.ASP.NET.dll to Toolbox by choosing items.
  3. When you finish this part, you will see four new items appear in the Toolbox, as is shown in the following picture:

Generate & Print Codabar Images in ASP.NET Website Programs
You are supposed to finish the installation first.
  1. Add ASP.NET PDF417 Barcode Generator SDK. (Look at detailed steps in the above Part)
  2. Find the folder barcode in the trial package. Then copy files "linear.aspx", "linear.asp.cs" to your web project folder.
  3. Drag LinearASPNET from to the split part of your aspx page.
  4. Adjust Code 128 barcode (default type) settings in the Properties Window if it is needed.
  5. Run the project to see your created Codabar barcode.
Create & Draw Codabar Barcode in C# ASP.NET or VB ASP.NET Class
With the following free C# codes that are built in Visual C# 2005, you could generate Codabar in ASP.NET development.
     BarcodeLib.Barcode.Linear codabar = new BarcodeLib.Barcode.Linear();
codabar.Type = BarcodeType.CODABAR;
codabar.Data = "111212";

codabar.UOM = UnitOfMeasure.PIXEL;
codabar.BarColor = System.Drawing.Color.Blue;
codabar.BarWidth = 2;
codabar.LeftMargin = 12;
codabar.RightMargin = 12;
With the following free VB codes that are built in Visual VB 2005, you could generate Codabar in ASP.NET development.
     Dim codabar As New BarcodeLib.Barcode.Linear()
codabar.Type = BarcodeType.CODABAR
codabar.Data = "111212"

codabar.UOM = UnitOfMeasure.PIXEL
codabar.BarColor = System.Drawing.Color.Blue
codabar.BarWidth = 2
codabar.LeftMargin = 12
codabar.RightMargin = 12
Generate Linear Codabar Barcode Images in Microsoft IIS
  1. Copy the folder "barcode" from the downloaded trial package to your IIS folder, e.g. C:\ interpub.
  2. Create a new virtual directory in your IIS named "barcode", and connect it to the above "barcode" folder pasted in inetpub.
  3. Restart IIS and navigate to:

    To make further adjustment for Codabar image, please view web stream URL parameters for Codabar here: 1D Barcode Codabar .NET Property Settings
  4. If you want to add this Codabar barcode image to your aspx or html page, please pass the url to IMG tag or src value.
    <img src=http://YourDomain:port/barcode/linear.aspx?Type=0&Data=121211&LeftMargin=12&RightMargin=12 />
    This method will not generate any Codabar barcodes in your IIS server side.
ASP.NET Codabar Barcode Generator Supported Barcode Types
Support Linear Barcodes:
Support Matrix Barcodes:
Linear Barcodes Suitable for ASP.NET Barcode Generator Control: Codabar, Code 11, Code 2 of 5, Code 39, Code 93, Code 128, EAN 8, EAN 13, GS1-128/EAN-128, Interleaved 2 of 5, ITF14 (UPC Shipping Container Symbol), MSI Plessey, Onecode, Planet, Postnet, RM4SCC (British Royal Mail 4-State Customer Barcode), UPC-A, UPC-E.
2D Barcodes Suitable for ASP.NET Barcode Generator Control: Data Matrix, PDF 417, QR Code.

Other Related Barcode Generation Articles

ASP.NET C# & VB.NET Barcode Generation Guide
BarcodeLib.com provides quite comprehensive guide information for .NET projects, and you can get more from the below links:

Provides High Quality .NET Barcode Library, WinForms Barcode Library, ASP.NET Barcode Library, C# Barcode Library, VB.NET Barcode Library, .NET Codabar Library, ASP.NET Codabar Library, C# Codabar Library, VB.NET Codabar Library, WinForms Codabar Library, .NET SSRS Codabar, .NET Crystal Reports Codabar, .NET RDLC Reports Codabar.