Generate Code 39 Barcodes using C#

Automate Code 39 creation in C#.NET programs with C# barcode control
Barcode in C# > Linear > Code 39
Code 39 .NET Barcode Control/DLL for C# - Benefits
Easy- to- Configure Control
This easy-to-install .NET barcode control supports drag-and-drop and C#.NET class implementation methods to insert Code 39 and Code 39 Extended into C#.NET Windows Forms and C# ASP.NET applications.

.NET Barcode Generator SDK library includes ASP.NET Barcode Generator, C# Barcode Generator, VB.NET Barcode Generator, QR Code Generator .NET, QR Code Generator ASP.NET, QR Code Generator C#, QR Code Generator VB.NET, Code 39 .NET, Code 39 VB.NET, Code 39 ASP.NET, Code 39 C#.
Support Development Environment
Code 39 barcodes C#.NET Class Library is completely integrated in Microsoft Visual Studio 2005, 2008 and 2010, .NET Framework 2.0, 3.0, 3.5 and above. And this barcode generation DLL supports .NET Class Library, .NET Console Application, Windows Service, Web Service and Windows Application.
.NET Technology
C# Code 39 .NET Control helps you create barcode images in C# applications. It could be easily used in C#.NET, Managed C++ and Borland Delphi for .NET. All products provided are fully written in C#.NET 2005.
Barcode Generation
High quality Code 39 can be easily inserted according to its barcode standard defined in ISO / IEC 16388 with Barcode Creator for C#. Code 39 & Code 39 Extended barcode could be saved and printed in various image formats include PNG, BMP, GIF, JPEG and TIFF and multipage TIFF.
Multiple Barcode Types Supported in C#.NET
Barcode Class Library for C#.NET - Code 39 Overview
Code 39 Visual C# .NET Control is fully integrated visual designer to automate barcode handling in Visual C# .NET programs. It supports Code 39 and Code 39 Extended generation as well as another 40+ linear & 2D barcodes in Visual C# .NET programs.
Code 39 Introduction
Code 39, the first alphanumeric barcode symbology in the world, is a discrete barcode symbology which is appended with optional check digit. It is composed of a starting quiet zone, start character "*", encoded data, a stop character "*" and an ending quite zone.
Code 39 Encodable Characters
  • Numeric Characters: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
  • Uppercase letter: A-Z
  • Special characters: - (Dash), $ (Dollar), % (Percentage), (Space), . (Point), / (Slash), + (Plus)
ASP.NET Barcode Code 39 Extension encodes:
  • Standard ASCII characters
Code 39 .NET Control/SDK for C#.NET - Code 39 Generation
Creating Code 39 Barcodes in C# class in Windows Application
  • Download Terrek.Dotnet.zip, save it in local drive, and unzip;
  • Add Terrek.Barcode.DotNET.dll to the C# Winform project reference;
  • Drag and drop a button to the form, and double-click the button;
  • In the Form1.cs, copy the following C# sample code to the project
Add Code 39 Barcodes in C# class in ASP.NET
  • Download Terrek ASP.NET barcode trial and unzip;
  • Add Terrek.Barcode.ASPNET.dll to your project. Do not copy the DLL to the bin directory, Visual Studio will do so automatically;
  • Open your Visual Studio in Web Forms and add Terrek.Barcode.ASPNET.dll to your reference in "Solution Explorer";
  • Go to "Barcode" folder in the trial package, copy files "barcode.aspx" and "barcode.aspx.cs", to the project where aspx barcodes are generated;
  • Right click on the aspx name in "Solution Expolrer" and select "View Code";
  • Copy the sample C# code in to the project and run the programm.
Generate Code 39 Barcodes in C# - Free Sample Code
using Terrek.Barcode;
BarcodeControl barcode = new BarcodeControl();
barcode. Symbol = BarcodeSymbol.Code39;
barcode.BarcodeData = "TRCODE39";
barcode.InterCharGap = 1.0f;
barcode.DisplayAsterisk = false;
barcode.BarWidth = 1;
barcode.BarHeight =40;
barcode.DotsPerInch = 96;
barcode.Rotation = Rotation.Degree0;
barcode.BarcodeFormat = System.Drawing.Imaging.ImageFormat.Png;
barcode.drawBarcode("C:\\code39.png");


Drawing & printing barcode to .NET Graphics, Stream & Bitmap objects
public Bitmap createBarcode ();
public byte[] createBarcodeToByteArray();
public void createBarcode (Graphics graphics);
public void createBarcode (string filename);
public void createBarcode (Stream fileStream);