BarcodeFormatUPCE

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

Constructors

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

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun get2DigitAddCommand(enable: IBarcodeFormat.Activation = Activation.Disable): String

Get the command to Activation.Enable / Activation.Disable the two-digit add-on code. A UPC-E barcode can be augmented with a two-digit add-on code to form a new one. Activation.Disable : The engine decodes UPC-E and ignores the add-on code when presented with an UPC-E plus 2-digit add-on barcode. It can also decode UPC-E barcodes without 2-digit add-on codes. Activation.Enable : The engine decodes a mix of UPC-E barcodes with and without 2-digit add-on codes.

Link copied to clipboard
fun get5DigitAddCommand(enable: IBarcodeFormat.Activation = Activation.Disable): String

Get the command to Activation.Enable / Activation.Disable the five-digit add-on code. An UPC-E barcode can be augmented with a five-digit add-on code to form a new one. Activation.Disable : The engine decodes UPC-E and ignores the add-on code when presented with an UPC-E plus 5-digit add-on barcode. It can also decode UPC-E barcodes without 5-digit add-on codes. Activation.Enable : The engine decodes a mix of UPC-E barcodes with and without 5-digit add-on codes.

Link copied to clipboard

Get the command Activation.Enable / Activation.Disable to required or not the add-on. When enable, the engine will only read UPC-E barcodes that contain add-on codes.

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

Get the command Activation.Enable / Activation.Disable to convert UPC-E to UPC-A. When disable, the UPC-E decoded data will be transmitted as UPC-E data, without conversion.

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

Get the command Activation.Enable / Activation.Disable to the barcode format UPC-E.

Link copied to clipboard
Link copied to clipboard
fun getTransmitCheckCharCommand(transmitCheckCharacter: IBarcodeFormat.TransmitCheckCharMiss = TransmitCheckCharMiss.Transmit): String

Get the command TransmitCheckCharMiss.Transmit / TransmitCheckCharMiss.DoNotTransmit to the transmit UPC-E check character. UPC-E is 8 digits in length with the last one as its check character used to verify the integrity of the data.

Link copied to clipboard
fun getTransmitPreambleCharCommand(transmitPreambleCharacter: IBarcodeFormat.TransmitPreambleCharacter = TransmitPreambleCharacter.SystemCharacter): String

Get the command TransmitPreambleCharacter.SystemCharacter / TransmitPreambleCharacter.NoPreamble / TransmitPreambleCharacter.SystemCharacterAndCountryCode to transmit preamble character for UPC-E code. Preamble characters (Country Code and System Character) can be transmitted as part of a UPC-E barcode. Select one of the following options for transmitting UPC-E preamble to the host device: transmit system character only, transmit system character and country code (“0” for USA), or transmit no preamble.