to top
Datalogic APIs
public class

Code39

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

Class Overview

Code39 is the class that configures the Code39, Code32 and TriOptic Symbologies.

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 EnumProperty<Code39Aggressiveness> aggressiveness aggressiveness controls the aggressiveness for the Code 39 symbology.
public BooleanProperty code32 code32 enables or disables the Code 32 symbology conversion.
public CharacterProperty code32_userID code32_userID specifies the Code 32 symbology identifier (if any).
public BooleanProperty enable enable enables or disables the symbology.
public BooleanProperty enableChecksum enableChecksum requires the use of checksum characters to verify a barcode.
public BooleanProperty fullAscii fullAscii enables or disables the Full Ascii conversion.
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 trioptic trioptic enables or disables the Trioptic Code 39 symbology.
public CharacterProperty trioptic_userID trioptic_userID specifies the Trioptic Code 39 symbology identifier (if any).
public CharacterProperty userID userID specifies the symbology identifier (if any).
Public Constructors
Code39(PropertyGetter editor)
This is the constructor of Code39.
[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 EnumProperty<Code39Aggressiveness> aggressiveness

Added in revision 29

aggressiveness controls the aggressiveness for the Code 39 symbology.

public BooleanProperty code32

Added in revision 1

code32 enables or disables the Code 32 symbology conversion.

public CharacterProperty code32_userID

Added in revision 1

code32_userID specifies the Code 32 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 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 BooleanProperty fullAscii

Added in revision 1

fullAscii enables or disables the Full Ascii conversion.

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 trioptic

Added in revision 1

trioptic enables or disables the Trioptic Code 39 symbology.

public CharacterProperty trioptic_userID

Added in revision 1

trioptic_userID specifies the Trioptic Code 39 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 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 Code39 (PropertyGetter editor)

Added in revision 1

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

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