getCheckCharVerifCommand

fun getCheckCharVerifCommand(checkCharacterVerification: IBarcodeFormat.CheckCharacterVerification = CheckCharacterVerification.Disable): String

Get the command CheckCharacterVerification.Disable / CheckCharacterVerification.DoNotTransmit / CheckCharacterVerification.Transmit to program the check character verification for Codabar barcodes. A check character is optional for Codabar and can be added as the last character. It is a calculated value used to verify the integrity of the data. CheckCharacterVerification.Disable : The engine transmits Codabar barcodes as is. CheckCharacterVerification.DoNotTransmit : The engine checks the integrity of all Codabar barcodes to verify that the data complies with the check character algorithm. Barcodes passing the check will be transmitted except the last digit, whereas those failing it will not be transmitted. CheckCharacterVerification.Transmit : The engine checks the integrity of all Codabar barcodes to verify that the data complies with the check character algorithm. Barcodes passing the check will be transmitted, whereas those failing it will not be transmitted.

Since Codabar must always have an even number of digits, a zero may need to be added as the first digit when the check character is added. The check character is automatically generated when making Codabar barcodes.

If the CheckCharacterVerification.DoNotTransmit option is active, Codabar barcodes with a length that is less than the configured minimum length after having the check character excluded will not be decoded. (For example, when the CheckCharacterVerification.DoNotTransmit is active and the minimum length is set to 4, Codabar barcodes with a total length of 4 characters including the check character cannot be read.)