Running the sample

The sample report included with the kit is "Order Packing ListAz.rpt" which will be found in the crystal subdirectory of the kits installation directory. This is a modified version of the "Order Packing List.rpt" report included with the Crystal Reports Xtreme Mountain Bike Inc samples. If you do not have the samples installed on your system then the modified sample report will not work and you should skip to the section "Creating a barcode on a report" below. Also the report displays barcodes using the AZTW font; if you have not installed that font the report will not display a barcode - but a collection of characters. (You can change the barcode font to one you have installed as described below, and the barcode will then display correctly.)

The "Order Packing ListAz.rpt" sample may be run on a machine that contains a full Crystal Reports installation just by double clicking on the report file. A barcode is included on the report with its data taken from the Order ID filed of the data.

Switching the report to Design view, Right-clicking on the barcode and selecting Edit Field Object from the drop-down menu displays the Function (DLAzbars) and parameters used to generate the barcode. The first parameter is the barcode data (a string), the second parameter is an integer that specifies the Flags parameter (must be 0 in this release), the third parameter is an integer that specifies the security level, and the final parameter (normally 0) can be used to specify start mode.

 

More:

Creating an Aztec barcode on a report