Navigation
code39 Barcode
Barcodesoft's Code 39 font package delivers reliable, ISO/IEC 16388:2007 compliant barcode printing for logistics, military (MIL-STD-1189B), and industrial applications. Also known as 3 of 9, USD‑3, and LOGMARS, it encodes 43 valid characters: uppercase letters, digits, and symbols including space, hyphen, period, dollar sign, slash, plus, and percent. Simply wrap your data with asterisks (*) and apply any of the 14 font variants—from XXS to XXL, with optional human‑readable text. While Code 39 is self‑checking, the package includes modulo 43 checksum source code for high‑accuracy requirements. Available in TrueType, PostScript, PCL, SVG, OpenType, and WOFF formats, these fonts integrate seamlessly into Crystal Reports, MS Excel, and MS Access. Download the fully functional demo with "Demo" watermark today.
Overview
Code39 is also known as 3of9 code, USD-3, and LOGMARS. ISO/IEC 16388:2007 standard defines code39 barcode. Many industries use Code39 barcode.
LOGMARS is the acronym for Logistics Applications of Automated Marking and Reading Symbols. It is a variation of code39. Military Standard MIL-STD-1189B specifies LOGMARS.
Code39 only accepts 43 valid input characters:
26 uppercase alphas (A - Z), digits (0-9), hyphen, period, space, dollar sign, slash, plus and percent.
Code39 will omit other input characters.
Here is the mapping table of Barcodesoft Code39 Barcode Font
code39 barcode font mapping table
| Character | Mapping | Character | Mapping |
|---|---|---|---|
| space | number sign (#) | 0-9 | unchanged |
| hyphen, period, dollar sign slash, plus, percent |
unchanged | A-Z | unchanged |
With Barcodesoft Code39 Font, it is simple to encode code39 barcodes. Just put asterisks (*) before and after your data, then apply one of the following code39 fonts. Code39 barcode will appear.
There are fourteen code39-barcode fonts, as listed below. Each name shows a different aspect ratio. Those code39 fonts with “Hr” in their names have human readable text underneath barcode.
For example, Code39mHr means ‘medium aspect ratio’, with human readable.
Code39XXL means ‘XXL aspect ratio’, without human readable.
Barcodesoft Code39 Demo fonts have “Demo” watermarks.
Barcodesoft Code39 barcode fonts are available in true type, PostScript, PCL, SVG, Open Type (eot), and Web Open Font Format (woff / woff2). Users can embed Code39 fonts into Adobe PDF files.
Here is the list of Barcodesoft Code39 Barcode Fonts
Code-39 barcode font mapping table
| Aspect Ratio | With Human Readable | No Human Readable |
|---|---|---|
| XXS | Code39XXSHr | Code39XXS |
| XS | Code39XSHr | Code39XS |
| S | Code39SHr | Code39S |
| M | Code39MHr | Code39M |
| L | Code39LHr | Code39L |
| XL | Code39XLHr | Code39XL |
| XXL | Code39XXLHr | Code39XXL |
Barcodesoft Code 39 barcode fonts are available in true type, PostScript and PCL formats and can be embedded into Adobe PDF files.
Here is the list of Barcodesoft code39 Barcode Fonts
Barcodesoft code39 Barcode Fonts Pricing
| License Type | Single | 5-User | 10-User | Site | Corporate | Dev | 5-Dev | 10-Dev | Unlimited |
|---|---|---|---|---|---|---|---|---|---|
| Price | CAD159 | CAD299 | CAD399 | CAD599 | CAD799 | CAD999 | CAD1199 | CAD1399 | CAD1999 |
Generate Code 39 Barcode in Crystal Reports
How to generate a Code 39 barcode in Crystal Reports?
To generate a Code 39 barcode in Crystal Reports, create a new formula field using the BCSLinearCode39 function from the Barcodesoft UFL library. Pass your database fields as arguments, place the formula field on your design canvas, and apply the Code39MHr font family.
-
Step 1: Determine SAP Crystal Reports Bitness and Register DLL
Determine the bitness of your SAP Crystal Reports version. SAP Crystal Reports 2008 through 2016 are 32-bit, while SAP Crystal Reports 2020 and 2025 are 64-bit.
For 64-bit Crystal Reports (2020 / 2025):
Run Command Prompt as Administrator and execute:
cd "C:\Program Files\Common Files\Barcodesoft\FontUtil"
%systemroot%\System32\regsvr32.exe cruflbcs_x64.dll
For 32-bit Crystal Reports (2008–2016):
Run Command Prompt as Administrator and execute:
cd "C:\Program Files\Common Files\Barcodesoft\FontUtil"
regsvr32.exe cruflbcs.dll
-
Step 2: Create a New Formula Field
Open your Crystal Report layout. Right-click Formula Fields in the Field Explorer pane and select New... from the context menu. Type "code39" in the Name textbox, then click the Use Editor button.
-
Step 3: Locate the Barcodesoft Code 39 Function
In the Formula Workshop, navigate to the Additional Functions directory and double-click the
BCSLinearCode39function listing located under the Visual Basic UFLs node.
-
Step 4: Use database field as parameter for code39 formula
Provide your target database field as the primary string parameter inside the formula brackets. Click the Save button to validate and preserve your new code39 formula logic configuration.
-
Step 5: Insert code39 Formula Field Into Your Report Canvas
Drag your newly saved
code39formula field out of the Field Explorer and drop it onto the design view grid canvas area where you want code39 barcode to appear. You will see some strange characters. Don't worry! You have NOT applied code39 barcode font yet.
-
Step 6: Apply the Code39MHr Font Typeface
Right-click the placed formula text block object on your canvas and choose Format Field from the context menu. In the Font customization tab pane, select "code39mHr" from the font family drop-down menu selection list.
The package includes 14 TrueType fonts in a variety of sizes and styles: With human-readable text: Code39XXL, Code39XL, Code39L, Code39M, Code39S, Code39XS, and Code39XXS; Without human-readable text: Code39XXL, Code39XL, Code39L, Code39M, Code39S, Code39XS, and Code39XXS. Each font is designed with a different aspect ratio, allowing you to select the one that best suits your application requirements.
-
Step 7: Verify Code 39 Barcode Generation
Click the OK button to apply changes. The text string placeholders will immediately transform and render as an active, readable Code 39 barcode inside your report template preview layout.

