BizCode Barcode Generator for ASP.NET
The most professional barcode solutions for Microsoft ASP.NET
Quick Overviews
  • Barcode creating class library
  • Support ASP.NET IDEs & IIS
  • Easy to use & integrate
  • Dynamic barcodes support
  • High-usability controls provided
How to Generate Code 39 in ASP.NET Library
Code 39 (a.k.a USD-3, 3 of 9 Code) is a variable-length, alphanumeric linear barcode symbology used in non-retail environment. It is the first alphanumeric barcode widely used to code alphanumeric information, such as the model number etc.
BizCode Generator Library for ASP.NET provides the most flexible group of components that allows users to create and manage Code-39 barcodes and other 20+ linear & 2D dimensional barcodes in your ASP.NET web applications. It also supports Code-39 Extension barcodes to be created.
ASP.NET Code 39 Generator provides full controls to customize every aspect of Code 39 barcodes, including Code 39 barcode size, image quality, and human-readable text. High-quality Code 39 & Code 39 Extension barcode are easily saved into Png, Jpeg/Jpg, Gif, Tiff, Bmp or ASP.NET objects.

Code 39 Generation is compatible with the latest barcode specification in ISO -ISO / IEC 16388 (2nd edition 2007-05-15). This page explain how to create your own Code 39 in ASP.NET; you may get more specific user manuals here on encoding Code 39 & Code 39 Extension barcode, customizing Code 39 & Code 39 Extension barcode image, and resizing Code 39 & Code 39 Extension barcode.
Code 39Generator for ASP.NET Features
Encodable CharactersSupport to encode:
- Numeric data: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
- Uppercase letters: A - Z
- Seven special characters: -, $, :, /, ., +
Code 39 Extension Encodable CharactersSupport to encode Standard ASCII characters 0-127 (default: ISO/IEC 646)
Development EnvironmentsSupport Code 39 generation in ASP.NET Web Forms, ASP.NET web applications, ASP.NET classes and Internet Information Service (IIS)
High Quality Directly draw high quality Code 39 barcodes images or graphics objects compatible with all printers
Size AdjustmentsMultiple barcode setting options for you to select, including module width, image width, color, rotation, resolution, text, etc.
Human-Readable TextFully control human-readable text under Code 39 symbols with customize font style
Code 39 Generator for ASP.NET Requirements
Windows OS
- Microsoft Windows 7
- Windows Server 2008
- Windows Vista
- Windows Server 2003
- Windows XP
Development Environments
- .NET 2.0/3.0/4.0
- C#, VB.NET, Managed C++, Borland Delphi    for.NET
- Visual Studio 2005/2008/2010
- Internet Information Service (IIS)
Install Code 39 Generator for ASP.NET
  1. Download BizCode Generator for ASP.NET and unzip;
  2. Add reference: Add "BusinessRefinery.Barcode.Web.dll" to your ASP.NET project reference;
  3. Add to toolbox: To add Barcode Control to your ASP.NET Web Forms toolbox.
How to Drag & Drop Barcode Control into ASP.NET projects?
  1. Install ASP.NET Barcode Control;
  2. Add ASP.NET Barcode Control onto your .NET Visual Studio Toolbox;
  3. Copy "linear.aspx" and "linear.aspx.cs" to the folder where your aspx pages are generating barcodes;
  4. Drag and drop the WebLinearBarcode control into the Forms;
  5. Run the website and you will see a barcode image generated;
  6. More Code 39 Setting see below.
How to Generate Code 39 with C#, VB.NET Class in ASP.NET?
Copy those following sample code to your ASP.NET projects:
using BusinessRefinery.Barcode;

Linear barcode = new Linear();
barcode.Symbology = Symbology.CODE39;
barcode.Code = "0123456789";
barcode.DisplayStartStopChar = true;
barcode.Resolution = 104;
barcode.Rotate = Rotate.Rotate180;
barcode.Format = ImageFormat.Gif;
Dim barcode As BusinessRefinery.Barcode.Linear = 
New BusinessRefinery.Barcode.Linear()
barcode.Symbology = BusinessRefinery.Barcode.Symbology.CODE39
barcode.Code = "0123456789"
barcode.Resolution = 104
barcode.Rotate = BusinessRefinery.Barcode.Rotate.Rotate270
barcode.Format = System.Drawing.Imaging.ImageFormat.Gif
How to Create Your Own Code 39 in IIS?
  1. Download BizCode Generator for ASP.NET and unzip;
  2. Copy the whole barcode fold and contents into IIS and create a new virtual directory called "br_barcode";
  3. Restart IIS, navigate to http://localhost/br_barcode/linear.aspx?code=0123456789&symbology=4;
  4. Add an image tag <img> into the web page to create Code 39 barcode image in html or aspx pages, e.g.
    <img src="http://localhost/br_barcode/linear.aspx?code=0123456789&symbology=4"/>.