setLeadingC1Output method
- required dynamic deviceId,
- required bool enabled,
Sets the output mode for the leading ]C1 character in Code 128 symbology.
deviceId
is the identifier of the device.
enabled
is a boolean indicating whether to enable (true
) or disable (false
) the leading ]C1 output.
Returns a CommandResponse indicating the success or failure of the operation.
Implementation
Future<CommandResponse> setLeadingC1Output(
{required deviceId, required bool enabled}) async {
final String command =
enabled ? code128EnableLeadingC1Output : code128DisableLeadingC1Output;
return sendCommand(deviceId, command);
}