to top
Datalogic APIs
public class

Codabar

extends PropertyGroup
java.lang.Object
   ↳ com.datalogic.device.configuration.PropertyGroup
     ↳ com.datalogic.decode.configuration.Codabar

Class Overview

Codabar is the class that configures the Codabar Symbology.

Summary

Fields
public NumericProperty Length1 Length1 is one of the two configurable label lengths.
public NumericProperty Length2 Length2 is one of the two configurable label lengths.
public BooleanProperty convertToCLSI convertToCLSI restricts the decoding to only read labels that conform to CLSI specifications.
public BooleanProperty enable enable enables or disables the symbology.
public BooleanProperty enableChecksum enableChecksum requires the use of checksum characters to verify a barcode.
public EnumProperty<LengthControlMode> lengthMode lengthMode is the LengthControlMode selected for a label.
public BooleanProperty sendChecksum sendChecksum includes the checksum in the label transmission (if checksum is required with enableChecksum).
public BooleanProperty sendStartStop sendStartStop enables/disables the transmission of the decoded star and stop characters.
public CharacterProperty userID userID specifies the symbology identifier (if any).
Public Constructors
Codabar(PropertyGetter editor)
This is the constructor of Codabar.
[Expand]
Inherited Methods
From class com.datalogic.device.configuration.PropertyGroup
From class java.lang.Object

Fields

public NumericProperty Length1

Length1 is one of the two configurable label lengths. It can be used as a single fixed accepted length, when lengthMode is set to ONE_FIXED. When TWO_FIXED is enabled, its value is one of the two possible accepted fixed lengths for a specific label. It can also represent the minor or major length value whenever RANGE is selected. If is set below the accepted minimum, the smallest accepted length will be used; instead it the set value exceed the maximum value, the biggest accepted length will be used.

Note: Length1 allowed range of values is somehow related to the nature of the barcode (linear vs 2D) but it's not intended to document in any way the scanner capabilities. An accepted minimum value and an accepted maximum value are introduced only to simplify length management in the device Scanner settings app. The chance to read a barcode depends on it's printed quality, resolution, overall size, distance from the reader, environmental light, etc...

public NumericProperty Length2

Length2 is one of the two configurable label lengths. When TWO_FIXED is enabled, its value is one of the two possible accepted fixed lengths for a specific label. It can also represent the minor or major length value whenever RANGE is selected. If is set below the accepted minimum, the smallest accepted length will be used; instead it the set value exceed the maximum value, the biggest accepted length will be used.

Note: Length2 allowed range of values is somehow related to the nature of the barcode (linear vs 2D) but it's not intended to document in any way the scanner capabilities. An accepted minimum value and an accepted maximum value are introduced only to simplify length management in the device Scanner settings app. The chance to read a barcode depends on it's printed quality, resolution, overall size, distance from the reader, environmental light, etc...

public BooleanProperty convertToCLSI

Added in revision 1

convertToCLSI restricts the decoding to only read labels that conform to CLSI specifications. Label length must be 14 and the data is split into fields of 1, 4, 5 and 4 characters separated by spaces.

public BooleanProperty enable

enable enables or disables the symbology.

public BooleanProperty enableChecksum

Added in revision 1

enableChecksum requires the use of checksum characters to verify a barcode.

public EnumProperty<LengthControlMode> lengthMode

lengthMode is the LengthControlMode selected for a label. Selects the length control mode.

public BooleanProperty sendChecksum

Added in revision 1

sendChecksum includes the checksum in the label transmission (if checksum is required with enableChecksum).

public BooleanProperty sendStartStop

Added in revision 1

sendStartStop enables/disables the transmission of the decoded star and stop characters. The start and stop characters will both be translated as A, B, C or D.

public CharacterProperty userID

userID specifies the symbology identifier (if any).
The symbology identifier is sent with the label when the global decode property sendCodeId is set to USERDEFINED_IDENTIFIER_BEFORE_LABEL or USERDEFINED_IDENTIFIER_AFTER_LABEL.

Public Constructors

public Codabar (PropertyGetter editor)

Added in revision 1

This is the constructor of Codabar. All symbology options are initialized by editor.

Parameters
editor A PropertyGetter used to load the current barcode family.