setIntercharacterGapCheck method

Future<CommandResponse> setIntercharacterGapCheck({
  1. required dynamic deviceId,
  2. required bool enabled,
})

Sets the intercharacter gap check mode for Codabar symbology.

deviceId - The identifier of the target device. enabled - A boolean indicating whether to enable (true) or disable (false) the intercharacter gap check.

Returns a CommandResponse indicating the success or failure of the command.

Implementation

Future<CommandResponse> setIntercharacterGapCheck(
    {required deviceId, required bool enabled}) async {
  final String command = enabled
      ? codabarEnableIntercharacterGapCheck
      : codabarDisableIntercharacterGapCheck;
  return sendCommand(deviceId, command);
}