setTransmitCD method
- required dynamic deviceId,
- required bool enabled,
Sets the transmission state of the check digit for Codabar symbology.
deviceId
- The identifier of the target device.
enabled
- A boolean indicating whether to enable (true
) or disable (false
) the transmission of the check digit.
Returns a CommandResponse indicating the success or failure of the command.
Implementation
Future<CommandResponse> setTransmitCD(
{required deviceId, required bool enabled}) async {
final String command = enabled ? codabarTransmitCd : codabarDoNotTransmitCd;
return sendCommand(deviceId, command);
}