ASP.NET Code 39 Barcode Generator
How to generate, print Code 39 barcode label with free ASP.NET sample source code in C#, VB.NET

How to Generate & Create Linear Code 39 Barcode Images in ASP.NET Web Applications

  • Code 39 barcode control integrated in .NET Framework 2.0, 3.0, 3.5 and above versions
  • Dynamically stream Code 39 into ASP.NET web solutions, like websites/webform & web service
  • Support Code 39 barcodes generation in Microsoft Internet Information Service (IIS) with URL
  • Allow three modes operation of Code 39 barcode image implementation methods
  • Generate and print Code 39 and Code 39Ex barcodes into Gif, Jpeg, Png, Tiff & Bmp image formats
  • Dispaly Code 39 barcode image with web browsers like Chrome, Internet Explorer, Firefox, etc
  • Code 39 barcode settings include X dimension, barcode width, barcode height, orientation, etc
  • Resolution customizable to print high-quality 1D Code 39 images that go with all printers
ASP.NET Code 39 Barcode Generator Overview
KA.Barcode for ASP.NET is a versatile barcode server encoder component which supports dynamic Code 39 and other 1D & 2D barcode symbologies generations in .NET projects, like ASP.NET webforms /websites/ web pages, Microsoft IIS, C#.NET and Visual Basic.NET class & console applications.
Linear Code 39 Barcode Overview in ASP.NET
Code 39, also known as USS Code 39, USS 39, Code 3/9, 3 of 9 Code and USD-3, is the first alphanumeric linear barcode in the word used in non-retail environment. It is compatible with many government barcode specifications, including the U.S. Department of Defense and HIBCC.
Code 39 Encodable Characters
  • 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
  • Uppercase letters (A - Z)
  • - (Dash), $ (Dollar), % (Percentage), (Space), . (Point), / (Slash), + (Plus)
  • All 128 ASCII characters: A-Z, a-z, 0-9, and special characters
Download Code 39 Barcode Generator for ASP.NET
Download KA.Barcode for ASP.NET trial version and unzip it. After you have unzipped it, you will find: KeepAutomation.Barcode.Web.dll; barcode.aspx.cs & barcode.aspx in "barcode" folder; end user license agreement, user manual, and order page. This trial version is free of charge, but a "KA Barcode" watermark will appear on the generated Code 39 barcode images randomly.
How to Generate Code 39 With ASP.NET Web Control
  1. Create a new ASP.NET web project in your Visual Studio.
  2. Select "barcode.aspx" and "barcode.aspx.cs" in "barcode" folder and copy them to the target folder.
  3. Select "KeepAutomation.Barcode.Web.dll" and add it to the "Toolbox".
  4. Drag and drop "BarCodeControl" from Visual Studio "Toolbox" into the web form.
  5. Select Code 39 barcode type in "Properties" panel and a Code 39 barcode is created.
  6. Customize Code 39 barcode properties in the "Properties" panel.
How to Generate Code 39 in C# or VB.NET Programming
It is easy to produce and stream Code 39 into ASP.NET web form applications using the C# or VB.NET sample code below.
  1. Add "KeepAutomation.Barcode.Web.dll" to your ASP.NET Web project reference.
  2. Copy the following C# or VB.NET barcoding sample code.
C# Sample code
     BarCode code39= new BarCode();
code39.Symbology= KeepAutomation.Barcode.Symbology.Code39;
code39.CodeToEncode = "123456";
code39.generateBarcodeToImageFile("C://barcode- code39-csharp.png");

VB Sample code
     Dim code39 As KeepAutomation.Barcode.Bean.BarCode = New KeepAutomation.Barcode.Bean.BarCode

code39.Symbology = KeepAutomation.Barcode.Symbology.Code39
code39.CodeToEncode = "123456"

How to Generate Code 39 with Check Digit in ASP.NET
Code 39 barcode is a self-checking linear barcode. However, it is possible to use a modulo 43 checksum digit in applications that require very high level of accuracy, such as HIBC and LOGMARS. Users may add modulo 43 check digit using "ChecksumEnabled" property and display it with "DisplayChecksum" property enabled.
C# Sample code
     code39.ChecksumEnabled = true;
code39.DisplayChecksum = true;
VB Sample code
     code39.ChecksumEnabled = true
code39.DisplayChecksum = true
How to Create Code 39 with Start and Stop Character in ASP.NET
Code 39 may add a human-readable symbol "*" as the start and stop character. However, symbol "*" is not a part of encoded data and cannot be transmitted by the decoder. Users may display it in Code 39 barcode with "DisplayStartStop" property enabled.
C# Sample code
     code39.DisplayStartStop = true;
VB Sample code
     code39.DisplayStartStop = true
How to Set Wide-narrow-ratio of Code 39 in ASP.NET
Code 39 Symbols shall be produced with a nominal N from 2,0 to 3,0 inclusive. Users could set the wide to narrow ratio of Code 39 by utilizing "WideNarrowRatio" property.
C# Sample code
     code39.WideNarrowRatio = 2.0f;
VB Sample code
     code39.WideNarrowRatio = 2.0f
How to Generate Code 39 in Microsoft IIS Through URL
  1. Download and unzip the trial package.
  2. Copy "barcode" folder and its contents to your IIS, and create a new virtual directory "barcode".
  3. Restart IIS and navigate to "http://YourDomain:port/barcode/barcode.aspx?code-to-encode=3939&symbology=4".
  4. Now a Code 39 is generated and you can change barcode properties in the url above, view http parameters here.
Free Trial DownloadASP.NET Code 39.NET Class Code 39IIS Code 39Using C#Using VB.NETData Matrix for ASP.NETPDF417 for ASP.NETQR Code for ASP.NETmoreCodabar for ASP.NETCode 128 for ASP.NETEAN-8 for ASP.NETEAN-13 for ASP.NETEAN 128 for ASP.NETIntelligent Mail for ASP.NETInterleaved 2 of 5 for ASP.NETISBN for ASP.NETITF-14 for ASP.NETRM4SCC for ASP.NETUPC-A for ASP.NETUPC-E for ASP.NETmore
KeepAutomation provides complete barcode automation solutions. We recommend the customers use high quality document controls: ASP.NET Document Viewer, ASP.NET MVC Document Viewer, Document Viewer ASP.NET C#, ASP.NET PDF Viewer, ASP.NET Word Viewer, ASP.NET Excel Viewer, ASP.NET PDF Editor, MVC PDF Viewer, ASP.NET Annotate PDF, c# pdf sdk, C# View, edit PDF online , C# Convert PDF to Tiff, C# Convert PDF to text, txt, .net imaging sdk, C# PDF metadata edit from