Using TechnoRiver Barcode Font In Crystal Reports
TechnoRiver Barcode Font is bundled with Crystal Reports Formulas to help you create barcodes easily. This tutorial is specially designed to get you started in generating barcodes within your reports.
Prerequisites
1. Ensure the TechnoRiver Barcode Font package is already installed.
Note - The trial version of TechnoRiver Font may also be used with this tutorial.
2. Launch Crystal Reports from Windows Start Menu. Create a new report or use your existing report for the following steps.
Tutorial
1. In the Field Explorer, create a new formula by right-clicking Formula Fields and select the New item in the context menu.
Note - If you cannot see the Field Explorer, click on the menu View->Field Explorer in Crystal Report.
2. Name your formula code39
3. You will now be in the Formula Workshop - Formula Editor. Change the syntax from "Crystal Syntax" to "Basic Syntax".
4. Copy and paste the barcode formula from the CrystalReportFormulas.txt file to the Crystal Report's Formula Editor. This text file can be found in the CrystalReports subdirectory of TechnoRiver Barcode Font.
The table below shows the barcode and their corresponding formulas in the CrystalReportFormulas.txt text file.
Symbology | Formulas |
Code 128 A | TechnoRiverCode128 A |
Code 128 B | TechnoRiverCode128 B |
Code 128 C | TechnoRiverCode128 C |
Code 128 Auto | TechnoRiverCode128 Auto |
Code 39 | TechnoRiverCode39 |
Code39 Extended | TechnoRiverCode39 Extended |
EAN13 | TechnoRiverEAN13 |
EAN8 | TechnoRiverEAN8 |
EXT2 | TechnoRiverEXT2 |
EXT5 | TechnoRiverEXT5 |
I2of5 | TechnoRiverI2of5 |
Industrial 2of5 | TechnoRiverIndustrial2of5 |
ITF14 | TechnoRiverITF14 |
Modified Plessy | TechnoRiverModifiedPlessy |
POSTNET | TechnoRiverPOSTNET |
UCCEAN (GS1 128) | TechnoRiverUCCEAN |
UPCA | TechnoRiverUPCA |
UPCE | TechnoRiverUPCE |
5. Modify the statement input = "12345" statement in the formula to encode the specific data or alternatively set it to a data source field.
6. Save the formula and drag it to your report to create a formula field.
7. Set the font of the formula field to the appropriate barcode font. For example, for Code 39, the font will be FontCode39H3.
Note - The font preview in the drop down list of Crystal Reports may appear as barcodes instead of displaying FontCode39H3.