• Aztec Code barcode download
  • Aztec Code barcode order

Print Aztec Code Barcode in Crystal Reports

Aztec is a high-capacity 2D matrix barcode symbology that is able to encode more than 1000 ASCII and Extended ASCII characters.

To print Aztec Code in Crystal Reports, it's a smart and simple solution to use Barcodesoft UFL (User Function Library) and BCSAztec barcode font.

1. Install Aztec demo on your computer.

2. Open DOS prompt. If you are using Windows 10 or Windows 7, please Open DOS prompt as administrator.
Please go to the following folder
CD C:\Program Files\Common Files\Barcodesoft\FontUtil
Type in the following DOS command to register crUFLbcs.dll
regsvr32 crUFLbcs.dll
Aztec Code crystal reports DLL DOS registration

3. Open your crystal report. Right click Formula Fields, choose "New..." from the context menu. Type in "aztec" in the Name textbox, then click "Use Editor".

Aztec Code create formual crystal reports

After Aztec encoding process, even a short string might return much more code words than you expect.
While Crystal Reports allows no more than 255 characters in a formula field.
Therefore we have to split Aztec code words into separate parts, and concatenate them in a Text Object before apply font BcsAztec to the Text Object.
As for how many formula fields are needed, you can find out by using the following function BCSAztecFormulaNoForCR.

4. Create more formula fields as listed below if returned code words are more than 255. Then put them in sequence within the same Text Object.

BcsAztecEncodeCR({Test.Data}, 1, 0, 5)
BcsAztecEncodeCR({Test.Data}, 2, 0, 5)
BcsAztecEncodeCR({Test.Data}, 3, 0, 5)

The first parameter in the formula field is string to encode.
The second parameter in the formula field is index.
The third parameter in the formula field is format option. Set it to default value 0 for auto-selection.
The fourth parameter in the formula field is error correction level. Its default value is 5 or 23%.
For detailed explanations of each parameter, please refer to readme file.

Aztec Code crystal reports UFL

5. Right click Text Object and choose "Format Object" from context menu. Then choose "BcsAztec" as font typeface for the Text Object. You will get Aztec Code in your report.

  • Aztec Code crystal reports download
  • Aztec Code software order