DAFT 4-state Barcode

This Barcode Symbology is supported by the following Neodynamic products:

Overview

DAFT is a term used for a "generic" system of transcribing "four-state" barcodes such as those used in various postal systems without having to know the specific symbology which translates the raw codes into particular numbers or symbols. The data field or value to encode must contain a sequence of the following characters or digits to denote the descender, ascender, full-height and tracker bars of a custom 4-state barcode symbol:

  • D or 2: Descender
  • A or 1: Ascender
  • F or 0: Full-Height
  • T or 3: Tracker (short bar)

How to create DAFT 4-state barcodes using Barcode Professional for

Note: Please refer to the Class Reference documentation for more information about the properties and methods stated in this document.
In order to get an DAFT 4-State barcode image, please follow these steps:
  • Set the Symbology property to DAFT
  • Setting up dimensions and quiet zones:
    • Set the Postal4StateTrackerBarWidth property (Values are expressed in Inches)
    • Set the Postal4StateTrackerBarHeight property (Values are expressed in Inches)
    • Set the Postal4StateBarsSpacing property (Values are expressed in Inches)
  • Set the Code property with the value to encode i.e. a combination of letters D, A, F, T or digits 0, 1, 2, 3 as described above.
Note: Please refer to the Class Reference documentation for more information about the properties and methods stated in this document.
In order to get an DAFT 4-State barcode image, please follow these steps:
  • Set the Symbology property to DAFT
  • Setting up dimensions and quiet zones:
    All values for barcode dimensions are expressed in INCHES by default. However, Barcode Professional supports other unit of measurement such as Millimeter, Centimeter, and Mils. For modifying the unit of measurement for barcoding, please set up the BarcodeUnit property as needed.
    • Set the Postal4StateTrackerBarWidth property (Values are expressed in Inches)
    • Set the Postal4StateTrackerBarHeight property (Values are expressed in Inches)
    • Set the Postal4StateBarsSpacing property (Values are expressed in Inches)
  • Set the Code property with the value to encode i.e. a combination of letters D, A, F, T or digits 0, 1, 2, 3 as described above.

Example of a DAFT 4-State barcode image

Code property = DAFTFDATATFDTFAD will produce the following barcode image:

DAFT 4-State Barcode - Code property = DAFTFDATATFDTFAD

Code property = 0123320012332003221 will produce the following barcode image:

DAFT 4-State Barcode - Code property = 0123320012332003221