feat: fix print

This commit is contained in:
2026-01-27 14:13:06 +08:00
parent 9eb9278676
commit 2ed1f06a9d
5 changed files with 6 additions and 6 deletions

View File

@@ -567,7 +567,7 @@ object PrinterUtils {
fun printTest() {
getConnectedPrinters().forEach {
val bytes = v(Instruction.TSC.toString(), null).bytes
val bytes = v(Instruction.TSC).bytes
showLog("打印测试页 - ${it.printerDevice.printerName} \n${bytes.commonToUtf8String()}")
it.print(bytes, null)
}