Previous Topic

Next Topic

Bar Code Components

See also Report Designer Component Properties for properties common to all components.

Bar Code components print standard bar code types on reports. Accredo supports the bar code types listed below. If very high quality or very small bar code printing is required, we recommend using a specialised bar code font.

Bar code components have the following properties:

BarCodeRotation

The degrees to rotate the bar code when displayed. This allows you to print a bar code vertically or horizontally (default). Select from:

  • Rot0
  • Rot90
  • Rot180
  • Rot270

The rotation is dependent on the Alignment property:

  • taLeftJustify - the rotation pivot point is the left top corner.
  • taRightJustify - the rotation pivot point is the right top corner.
  • taCenter - the rotation pivot point is top centre.

BarcodeType

bt2of5

2of5Barcode (interleaved 2 of 5) is a numbers-only bar code. The symbol can be as long as necessary to store the encoded data. The code is a high-density code that can hold up to 18 digits per inch when printed using a 7.5 mil X dimension. "Interleaved" comes from the fact that the digit is encoded in the bars and the next digit is encoded in the spaces. There are five bars, two of which are wide and five spaces, two of which are wide.

EAN13

EAN (International Article Number) bar code is identical to the UPC (Universal Product Code), except for the number of digits. EAN has a length of 13 digits: 3 prefix digits, 9 identifier digits, and 1 check digit. This bar code is typically used for Non-U.S coding. The check digit is calculated for you so you do not need to enter it when placing a value into the Expression property.

code39

code39 is an alphanumeric bar code that can encode decimal numbers, the upper case alphabet, and the following special symbols "_", " . ", "*", "$", "/", "%", and "+". The characters are constructed using nine elements, five bars and four spaces. Of these nine elements, two of the bars and one of the spaces are wider. Wide elements represent binary ones (1), and narrow elements represent binary zeros (0).

code39Extended

As for code39 but using an extended character set.

code128A

code 128 bar code is a very high-density alphanumeric bar code. The symbol will be as long as necessary to store the encoded data. It is designed to encode all 128 ASCII characters and will use the least amount of space for data of 6 characters or more of 1-D symbology. Each data character is made up of 11 black or white modules. The stop character is made up of 13 modules. Three bars and three spaces are formed out of these 11 modules. Bar and spaces vary between 1 and 4 modules. The following are the ASCII representations of special codes that can be needed: FNC1 = #241, FNC2 = #242, FNC3 = #243, FNC4 = #244, codeA = #245, codeB = #246, codeC = #247, SHIFT = #248.

code128B

code 128 using code Page B.

code128C

code 128 using code Page C.

 

BarWidth

The width of the narrowest bar.

Expression

The MaxBasic expression that is evaluated when the report is printed. You can:

  • Type the expression directly in the Expression property.
  • Click CodeEdit Open Code Editor (F2) from the Expression property to open the code editor.
  • Double-click the bard code component to open the code editor.

PrintReadable

When True, readable text will be printed along with the bar code.

UseCheckSum

Specifies if a checksum character should be included in the bar code. Some bar code types have a mandatory check sum that will be included regardless of this setting.

WideFactor

The ratio of the wide bar to the narrow bar width.

See Also

Report Designer Components

Book Contents

Book Index