Use this object to print bar codes on your report for numeric data. All data fields will use the TppDBText object.
Description
A bar code is a series of lines and spaces which represent data. A special set of rules is used to convert data into the lines and spaces of a barcode. This set of rules is called a symbology. There are many different symbologies, some for general purpose use and some for very specific applications. With TppBarCode, you can create valid bar codes for the most popular symbologies. They are:
Codabar Code 128 Code 39 EAN-13 EAN-8 FIM A,B,C Interleaved 2 of 5 PostNet UPC-A UPC-E
When creating a barcode use the BarCodeType property to specify the symbology which should be used to encode the data. Use the DataField properties to specify the database field which contains the data to be encoded.
PALETTE ICON & EXAMPLE
PROPERTIES
The following are the properties that apply to this object. Some are defined in Common Properties and are linked to their appropriate page.
AutoSizeFont | If this property is checked, along with the PrintHumanReadable property, then the characters printed along with the bars will change size as the bar code itself changes. |
BarCodeType | The type of bar code to print. The options are Codabar (bcCodabar), Code 128 (bcCode128), Code 39 (bcCode39), EAN-8 (bcEAN_8), EAN-13 (bcEAN_13), Interleaved 2 of 5 (bcInt2of5), PostNet (bcPostnet) UPC-A (bcUPC_A) and UPC-E (bcUPC-E). |
BarColor | The color used for printing the bars. Default is black. |
BarWidth | The width in Units of the narrow bars. |
BearerBars | If you have specified bcInt2of5 in BarCodeType, and you check this property, solid lines will be printed on the top and bottom of the bar code itself. |
CalcCheckDigit | If you check this property and specify bcUPC_A and bcEAN_13 for BarCodeType the report will automatically generate the Check Digit. If you don't check this property you must provide all digits required for the bar code, including the check digit. |
Color | The background color of the object. Default is white. |
Orientation | The direction the barcode is printed. The default value is left to right (orLeftToRight). |
PrintHumanReadable If you want to print letters or numbers in addition to the bar code then check this property. Default value is checked.
WideBarRatio | The width of the wide bars as a multiplier of the BarWidth (the width of the narrow bars). |
Page url: http://www.cassoftware.com/tas/manual/tppdbbarcode.htm