support
trans data matrix crystal reports
trans
Price: US$129
crUFLBcs.dll download
Print Data Matrix Barcode In Crystal Reports


Data Matrix is a kind of 2D barcode that is able to encode more than 1000 alphanumeric characters.

To print Data Matrix barcode in Crystal Reports, you need Barcodesoft UFL (User Function Library) and BCSDatamatrix barcode font.

1. Open DOS prompt. 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



Data Matrix barcode crystal reports UFL DLL


If registration fails, please use another DOS command to register it.
Regtlibv12 is a utility of Windows .NET Framework 2.0.


Regtlibv12 _cruflbcs.tlb





2. If you are using Crystal Reports 9 or above, please open BCSDataMatrix.rpt from
C:\Program Files\Barcodesoft\datamatrixFont folder.

After Data Matrix encoding process, even a short string might have much more codewords than you expect.
While Crystal Reports allows no more than 255 characters in a formula field.
Therefore we have to split Data Matrix codewords into seperate parts, and concatenate them in a Text Object before apply font BcsDataMatrix to the Text Object.

Right click Formula Fields from Field Explorer View, choose "New..." from the context menu as shown below

data matrix barcode crystal reports UFL



3. Create more formula fields as listed below if returned codewords are more than 255. Then put them all in sequence within the same Text Object.

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

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. When set to zero, it means auto-selected format.
For detailed explanation of parameters, please refer to the reademe file.

data matrix barcode crystal reports UFL


4. Right click Text Object and choose Format Object" from context menu. Then choose "BcsDataMatrix" as font typeface for the Text Object.

For more information about Data Matrix barcode, please click Data Matrix.