to top
Datalogic APIs
public class

Code128

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

Class Overview

Code128 is the class that configures the Code 128, GS1-128 and ISBT 128 Symbologies.

Summary

Fields
public EnumProperty<Isbt128Mode> Isbt128EnablingMode Isbt128EnablingMode set the allowed ISBT 128 barcode symbologies.
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<Code128Aggressiveness> aggressiveness aggressiveness control the aggressiveness for the Code 128 symbology.
public EnumProperty<CharacterSetMode> characterSetMode characterSetMode controls the character set in use for the decoded label.
public BooleanProperty commonlyConcatenatedPairs commonlyConcatenatedPairs allow the concatenation of common concatenated pairs.
public BooleanProperty enable enable enables or disables the symbology.
public EnumProperty<Code128ExtendedAsciiMode> extendedAscii extendedAscii select the level of support to the extended ASCII (ASCII code from 128 to 255 using special function FNC4).
public BooleanProperty gs1_128 gs1_128 enables or disables the GS1-128 symbology.
public CharacterProperty gs1_128_userID gs1_128_userID specifies the GS1-128 symbology identifier (if any).
public BooleanProperty isbt_128 isbt_128 enables or disables the ISBT 128 symbology.
public CharacterProperty isbt_128_userID isbt_128_userID specifies the ISBT-128 symbology identifier (if any).
public EnumProperty<LengthControlMode> lengthMode lengthMode is the LengthControlMode selected for a label.
public CharacterProperty userID userID specifies the symbology identifier (if any).
Public Constructors
Code128(PropertyGetter editor)
This is the constructor of Code 128.
[Expand]
Inherited Methods
From class com.datalogic.device.configuration.PropertyGroup
From class java.lang.Object

Fields

public EnumProperty<Isbt128Mode> Isbt128EnablingMode

Added in revision 17

Isbt128EnablingMode set the allowed ISBT 128 barcode symbologies.

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<Code128Aggressiveness> aggressiveness

Added in revision 20

aggressiveness control the aggressiveness for the Code 128 symbology.

public EnumProperty<CharacterSetMode> characterSetMode

Added in revision 33

characterSetMode controls the character set in use for the decoded label.

public BooleanProperty commonlyConcatenatedPairs

Added in revision 17

commonlyConcatenatedPairs allow the concatenation of common concatenated pairs.

public BooleanProperty enable

enable enables or disables the symbology.

public EnumProperty<Code128ExtendedAsciiMode> extendedAscii

Added in revision 33

extendedAscii select the level of support to the extended ASCII (ASCII code from 128 to 255 using special function FNC4).

public BooleanProperty gs1_128

Added in revision 1

gs1_128 enables or disables the GS1-128 symbology.

public CharacterProperty gs1_128_userID

Added in revision 1

gs1_128_userID specifies the GS1-128 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 isbt_128

Added in revision 17

isbt_128 enables or disables the ISBT 128 symbology.

public CharacterProperty isbt_128_userID

Added in revision 21

isbt_128_userID specifies the ISBT-128 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 EnumProperty<LengthControlMode> lengthMode

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

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 Code128 (PropertyGetter editor)

Added in revision 1

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

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