Crystal Reports Code 39 Barcode Generator
How to generate Code 39 label in Crystal report viewer without font. Free download with demo code.


How to use Code 39 generator to generate, print barcode labels in Crystal Reports without font. Free download.



  • Advanced Code 39 .NET control completely integrated into .NET Framework 2.0 and above versions
  • Compatible with ISO/IEC 16388 (second edition 2007-05-15) specifications for Code 39 barcoding
  • Generate high-quality Code 39 and Code 39 Extended in Crystal Report easily
  • Create reporting solution that takes user input by using Visual Studio 2005, 2008 and 2010
  • Modify barcode height, width, wide/narrow ratio using VB.NET or C#.NET programming
  • Maintain barcode image on exported files such as PDF, Word, Excel and rich text formats
This developer guide offers detailed steps to create and print Code 39 barcodes in Crystal Reports for ASP.NET Web Forms, WinForms, and WPF applications built on .NET Framework. It covers Code 39 barcode insertion, data encoding, check digit settings, dimension configuration, and advanced options to ensure full compatibility with Crystal Reports components.
Code 39 Barcode Generator for Crystal Reports Introduction
KA.Barcode for Crystal Reports helps you integrate .NET applications (ASP.NET & WinForms) with Crystal Reports during runtime. Field could be easily changed to Code 39 and Code 39 Extended barcode images in Crystal Report by simple clicks. .NET programmers have full access to the properties of a report and the underlying report objects.
Code 39 Barcode Introduction
Code 39, the first alpha-numeric symbology developed in 1974, is a linear barcode with variable length. Code 39 utilizes start and stop characters which allows bi-directional scanning.
Code 39 Valid Character Set
  • Alphanumeric data: 0-9, upper-case lettersA-Z
  • Special characters: - (Dash), $ (Dollar), : (Colon), / (Slash), . (Point), + (Plus)
Code 39 Characters Encoding in Crystal Reports

Code 39 standard mode

Code 39 barcode standard mode supports 43 characters, including
  • Numeric digit: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
  • Uppercase letters (A - Z)
  • Special characters: - (Dash), $ (Dollar), % (Percentage), (Space), . (Point), / (Slash), + (Plus)
  • Start/Stop character
To generate Code 39 with standard mode characters in Crystal Reprots .NET projects, you need choose "barcode type" as "Code 39".

Code 39 full ASCII mode

  • Code 39 supports encoding the full 128 character ASCII character set in accordance with ISO 646 IRV.
To generate Code 39 with full ASCII mode characters in Crystal Reprots .NET projects, you need choose "barcode type" as "Code 39 ex".

Code 39 symbol check digit

Code 39 does not include a checksum or check digit by default. For applications requiring enhanced data security, the modulo 43 (MOD43) check character may be used as a check digit.

To enable Code 39 check digit, you need apply the option "Apply checksum char" to true in your .net Crystal Reports project report template.


Code 39 Check Digit Configuration

Code 39 does not require a check digit by default. For improved data accuracy in inventory or business reports, you can enable the MOD43 check digit.


Enable Check Digit

Use property AddCheckSum to enable Code 39 check digit in the barcode.


Hide Check Digit in Text Display

You can enable the check digit but hide it from the human-readable text in Crystal Reports.


Code 39 Start/Stop Characters

Code 39 uses the * character as automatic start and stop symbols. You can hide these symbols in the displayed text.

Note: Do NOT include * in your Data string. This will break the barcode structure and cause scanning failures.


Code 39 Barcode Dimension Settings for Crystal Reports (C#)

You can customize Code 39 size to fit any Crystal Reports layout (Header, Footer, Details).


Basic Size Configuration

Set unit of measure and total barcode dimensions:
  • UOM: Unit (PIXEL, CM, INCH) matching report units
  • BarcodeWidth: Total barcode width
  • BarcodeHeight: Total barcode height


Advanced Layout Properties

For precise report fitting, you can use these properties:
  • AutoResize: Automatic or manual size control
  • X: Narrow bar width (smallest barcode element)
  • Y: Bar height (must fit Crystal Reports PictureBox)
  • N: Wide/narrow bar ratio (2.0 - 3.0)
  • I: Space between characters
  • Margins: Left, Right, Top, Bottom (quiet zone)


Advanced Code 39 Customization for Crystal Reports

Wide/Narrow Ratio (N)

The ratio between wide and narrow bars affects scanning reliability.
  • Valid range: 2.0f to 3.0f
  • Default value: 2.0f
Note: Values outside 2.0 - 3.0 will create unreadable barcodes. You can test scanning in your development environment before deployment.


Intercharacter Gap (I)

Adjust the space between barcode characters:
  • Value is a multiple of the narrow bar width (X)
  • Minimum value is 1.0f
  • Maximum value follows industry specifications
Note: Overly large gaps may cause scanning issues. You can verify printed barcodes with a scanner before publishing reports.








Frequently Asked Questions

What purposes do Code 39 barcodes serve?

Code 39 barcode also known as Code 3 of 9 too, handles digits and letters and is most often used in inventory work, government agencies, the military, and electronics businesses.

How are Code 39 and Code 128 barcodes different?

Code 128 uses a mandatory checksum for data integrity, damage to it may not stop scanning. In contrast, Code 39 typically forgoes a checksum, so any damage to the barcode usually makes it unreadable.

What makes Code 39 and Code 93 barcodes different?

Code 93 is a revised version of Code 39, offering greater data capacity in a smaller symbol. This makes it a more space-efficient barcode solution.

Can lowercase letters be encoded in Code 39 barcodes?

Lowercase letters cannot be encoded in a standard Code 39 barcode, but the extended version is able to.

How small can a Code 39 barcode be?

code 39 has minimum size rules:
  • Narrow element width (X): The smallest bar width is set by the app's specifications.
  • Barcode height: At least 5.0mm, or 15% of the symbol's width (not including quiet zones) - whichever is greater.

What ratio do narrow and wide bars have in Code 39?

The valid ratio of narrow to wide bars in Code 39 is from 1:2 to 1:3.
















Free Trial DownloadCrystal Code 39Code 39 PropertiesUsing C#Using VB.NETUsing ASP.NETUsing .NET WinformsData Matrix for Crystal ReportPDF417 for Crystal ReportQR Code for Crystal ReportmoreCodabar for Crystal ReportCode 128 for Crystal ReportEAN-8 for Crystal ReportEAN-13 for Crystal ReportEAN 128 for Crystal ReportIntelligent Mail for Crystal ReportInterleaved 2 of 5 for Crystal ReportISBN for Crystal ReportITF-14 for Crystal ReportRM4SCC for Crystal ReportUPC-A for Crystal ReportUPC-E for Crystal Reportmore
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 RasterEdge.com.