BarcodeFormatDataMatrix

class BarcodeFormatDataMatrix(var activated: IBarcodeFormat.Activation = Activation.Enable) : IBarcodeFormat

Constructors

Link copied to clipboard
constructor(activated: IBarcodeFormat.Activation = Activation.Enable)

Properties

Link copied to clipboard
Link copied to clipboard
var max: Int
Link copied to clipboard
var min: Int

Functions

Link copied to clipboard
fun getCharacterEncoding(characterEncoding: IBarcodeFormat.CharacterEncoding = CharacterEncoding.ASCII): String

Get the command CharacterEncoding.ASCII / CharacterEncoding.UTF8 to set character encoding for Data Matrix.

Link copied to clipboard
fun getECIOutputCommand(enable: IBarcodeFormat.Activation = Activation.Enable): String

Get the command Activation.Enable / Activation.Disable to Data Matrix ECI Output.

Link copied to clipboard
open override fun getEnableCommand(): String

Get the command Activation.Enable / Activation.Disable to the barcode format DataMatrix.

Link copied to clipboard

Get the command to set the BarcodeFormatDataMatrix.max length of Data Matrix to read.

Link copied to clipboard

Get the command to set the BarcodeFormatDataMatrix.min length of Data Matrix to read.

Link copied to clipboard

Get the command Activation.Enable / Activation.Disable for rectangular barcode format for Data Matrix. Data Matrix has two formats: Square barcodes having the same amount of modules in length and width: 1010, 1212.... 144144. Rectangular barcodes having different amounts of models in length and width: 616, 614...1422

Link copied to clipboard
Link copied to clipboard
fun getTwinCodeCommand(twinCode: IBarcodeFormat.TwinCode = TwinCode.SingleOnly): String

Get the command TwinCode.SingleOnly / TwinCode.TwinOnly / TwinCode.BothSingleAndTwin to program Data Matrix twin code. Data Matrix twin code is 2 Data Matrix barcodes paralleled vertically or horizontally. They must both be either regular or inverse barcodes. They must have similar specifications and be placed closely together. There are 3 options for reading Data Matrix twin codes: TwinCode.SingleOnly : Read either Data Matrix code. TwinCode.TwinOnly : Read both Data Matrix codes. TwinCode.BothSingleAndTwin : Read both Data Matrix codes. If successful, transmit as twin Data Matrix only. Otherwise, try single Data Matrix only.