print Text
abstract suspend fun printText(lineText: String, config: TextConfig, rightText: String? = null): Result<SdkSuccessAnswer.SuccessPrint>
Prints a line of text with the specified configuration.
Return
Result with SdkSuccessAnswer.SuccessPrint if printing succeeds, or Result.Error if it fails.
Parameters
line Text
The main text to print.
config
Configuration TextConfig for text, including font size, alignment, and auto-feed.
right Text
Optional text to print on the right side of the same line.