print Barcode
abstract suspend fun printBarcode(barCode: String, config: BarcodeConfig): Result<SdkSuccessAnswer.SuccessPrint>
Prints a barcode with the specified configuration.
Return
Result which can be a Result.Success containing SdkSuccessAnswer.SuccessPrint if the barcode is printed successfully, or a Result.Error if the operation fails.
Parameters
bar Code
The content to encode in the barcode.
config
The configuration BarcodeConfig for the barcode, including the symbology type.