setTransmitLdAForItPharm method
Future<CommandResponse>
setTransmitLdAForItPharm({
- required dynamic deviceId,
- required bool enabled,
Sets the transmission of the leading 'A' for IT Pharmaceutical mode in Code 39 symbology.
deviceId
- The identifier of the target device.
enabled
- A boolean indicating whether to enable (true
) or disable (false
) the transmission of the leading 'A'.
Returns a CommandResponse indicating the success or failure of the operation.
Implementation
Future<CommandResponse> setTransmitLdAForItPharm(
{required deviceId, required bool enabled}) async {
final String command = enabled
? code39TransmitLeadingAForItPharm
: code39DoNotTransmitLeadingAForItPharm;
return sendCommand(deviceId, command);
}