|
|
|
To print GS1-Databar barcode in Crystal Reports, It's a smart and simple solution to use Barcodesoft UFL (User Function Library) and GS1-Databar barcode fonts.
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

If registration fails, please use the following DOS command to register it.
Regtlibv12 is a utility of Windows .NET Framework 2.0.
Regtlibv12 _cruflbcs.tlb
2. Open your crystal report. Right click Formula Fields, choose "New..." from the context menu.
Type in "GS1Databar" in the Name textbox, then click "Use Editor".

3. Double click "BS2DBCSDatabarDatabar14" function from Functions ==> Additional Functions ==> Visual Basic UFLs as shown below.

Then type in the database field as parameter for GS1Databar formula.

Now click "Save" button to save GS1Databar formula field.
4. Drap and drop the GS1Databar formula field in your GS1 Databar crystal report design view.
5. Right click GS1Databar formula field and choose "Format Field" from context menu. Then choose either "BcsDatabarS" or "BcsDatabarM" as font typeface. You will see GS1-Databar barcode in your Crystal Report.
For more information about GS1-Databar barcode, please click GS1-Databar Barcode.
|