DataMatrixEncodeMode

Inheritance: java.lang.Object

public final class DataMatrixEncodeMode

DataMatrix encoder’s encoding mode, default to Auto

Fields

Field Description
Auto Automatically pick up the best encode mode for DataMatrix encoding
ASCII Encodes one alphanumeric or two numeric characters per byte
Full Encode 8 bit values
Custom Encode with the encoding specified in BarcodeGenerator.Parameters.Barcode.DataMatrix.CodeTextEncoding
C40 Uses C40 encoding.
Text Uses Text encoding.
EDIFACT Uses EDIFACT encoding.
ANSIX12 Uses ANSI X12 encoding.
ExtendedCodetext ExtendedCodetext mode allows to manually switch encoding schemes in code-text.

Auto

public static final int Auto

Automatically pick up the best encode mode for DataMatrix encoding

ASCII

public static final int ASCII

Encodes one alphanumeric or two numeric characters per byte

Full

public static final int Full

Encode 8 bit values

Custom

public static final int Custom

Encode with the encoding specified in BarcodeGenerator.Parameters.Barcode.DataMatrix.CodeTextEncoding

C40

public static final int C40

Uses C40 encoding. Encodes Upper-case alphanumeric, Lower case and special characters

Text

public static final int Text

Uses Text encoding. Encodes Lower-case alphanumeric, Upper case and special characters.

EDIFACT

public static final int EDIFACT

Uses EDIFACT encoding. Uses six bits per character, encodes digits, upper-case letters, and many punctuation marks, but has no support for lower-case letters.

ANSIX12

public static final int ANSIX12

Uses ANSI X12 encoding.

ExtendedCodetext

public static final int ExtendedCodetext

ExtendedCodetext mode allows to manually switch encoding schemes in code-text. Format : “\Encodation_scheme_name:text\Encodation_scheme_name:text”. Allowed encoding schemes are: EDIFACT, ANSIX12, ASCII, C40, Text, Auto. Extended code-text example: @"\ansix12:ANSIX12TEXT\ascii:backslash must be \\ doubled\edifact:EdifactEncodedText" All backslashes (\) must be doubled in text.