to top
Datalogic APIs
public class

Formatting

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

Class Overview

Formatting is the class that configures the properties related to barcode text formatting.

Summary

Fields
public EnumProperty<ECIPolicy> eciPolicy eciPolicy selects the policy used to handle ECI.
public BooleanProperty externalFormatting externalFormatting enables the external formatting service.
public BooleanProperty gs1Check gs1Check enables the check for the GS1 format.
public BooleanProperty gs1StringFormat gs1StringFormat enables conversion of GS1 barcodes to the readable GS1 string format.
public TextProperty gsSubstitution gsSubstitution is a string of Unicode characters that replaces each occurrence of GS (ASCII code 0x1D) in the scanned data.
public TextProperty labelPrefix labelPrefix is a string of Unicode characters sent immediatly before symbology identifier.
public TextProperty labelSuffix labelSuffix is a string of Unicode characters sent after the final character in data.
public BooleanProperty removeNonPrintableChars removeNonPrintableChars removes all characters in the range 0x00-0x1F and the single character 0x7F from the scanned data.
public EnumProperty<SendCodeID> sendCodeId sendCodeId selects the symbology identifier to be transmitted along with the scanned data.
Public Constructors
Formatting(PropertyGetter editor)
This is the constructor of Formatting.
[Expand]
Inherited Methods
From class com.datalogic.device.configuration.PropertyGroup
From class java.lang.Object

Fields

public EnumProperty<ECIPolicy> eciPolicy

Added in revision 23

eciPolicy selects the policy used to handle ECI.

public BooleanProperty externalFormatting

Added in revision 12

externalFormatting enables the external formatting service.

public BooleanProperty gs1Check

Added in revision 32

gs1Check enables the check for the GS1 format.

public BooleanProperty gs1StringFormat

Added in revision 32

gs1StringFormat enables conversion of GS1 barcodes to the readable GS1 string format.

public TextProperty gsSubstitution

Added in revision 1

gsSubstitution is a string of Unicode characters that replaces each occurrence of GS (ASCII code 0x1D) in the scanned data.

public TextProperty labelPrefix

Added in revision 1

labelPrefix is a string of Unicode characters sent immediatly before symbology identifier.

public TextProperty labelSuffix

Added in revision 1

labelSuffix is a string of Unicode characters sent after the final character in data.

public BooleanProperty removeNonPrintableChars

Added in revision 1

removeNonPrintableChars removes all characters in the range 0x00-0x1F and the single character 0x7F from the scanned data. The length check for each symbology is evaluated before any characters are removed. Characters in the code ID, prefix, suffix, or separator won't be removed.

public EnumProperty<SendCodeID> sendCodeId

Added in revision 1

sendCodeId selects the symbology identifier to be transmitted along with the scanned data.

Public Constructors

public Formatting (PropertyGetter editor)

Added in revision 1

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

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