Printing Code 39 Barcodes in Crystal Reports
When you need to print barcodes in your Crystal Reports report, your simplest choice is to use Azalea’s free User Function Library (UFL) along with our TrueType Code 39 fonts. Our UFL will make a scannable Code 39 barcode by appending start and stop bars to your input string, calculating the necessary check digit(s), and then mapping output into our fonts’ character set. You will want to use our Code 39 UFL because you cannot simply format a chunk of text in a barcode font and create a scannable Code 39 bar code symbol. Azalea’s UFL does all of the heavy lifting for you.
1. As long as you followed the default install in C39Tools for Windows, the installer will install the files you need to use the fonts with Crystal Reports. You just need to open the CrystalReports file with the information you need to make into barcodes.
2. Open Field Explorer and create a new formula.

3. Give your formula a name.

4. Double-click on the BarcodeC39 function and then click twice on the name of the field you want to make into a barcode.

5. Choose Save and Exit the formula editor.

6. Create an instance of your formula and drag it onto the design of your form. Make sure you size the field appropriately to include the entire barcode. Then change the font to format the text in one of our Code 39 fonts. In this example, we used Code39HalfInch font at 36 points.

7. Run your report and you’ll see something like this once the barcodes have been converted.






