setLeadingC1Output

abstract suspend fun setLeadingC1Output(deviceId: String, enabled: Boolean): CommandResponse

Sets the output mode for the leading ]C1 character in Code 128 symbology.

Return

A CommandResponse indicating the success or failure of the operation.

Parameters

deviceId

The identifier of the target device.

enabled

A boolean indicating whether to enable (true) or disable (false) the leading ]C1 output.


abstract fun setLeadingC1Output(deviceId: String, enabled: Boolean, callback: (Result<CommandResponse>) -> Unit)

Callback-based version of setLeadingC1Output for Java interoperability.

Parameters

deviceId

The identifier of the target device.

enabled

A boolean indicating whether to enable or disable the leading ]C1 output.

callback

Callback to receive CommandResponse or an error.