0 like 0 dislike
17 views
in M10 by Q&A Freshman (102 points)
recategorized by

Hello, I have a detail when adding columns, the thing is that I managed to print normal text and it works fine, but the columns give me error, I followed the example of the demo but I can not get it to work, I'm working in Flutter Kotlin and I have this error in console, I do not know what I'm missing or what I should correct, I also pass the version of sdk "telpoLib_v2.14.20231218.aar"
error:
W/System.err(15232): java.lang.NoSuchMethodException: com. common.sdk.thermalprinter.ThermalPrinterServiceManager.printColumnsString [class [Ljava.lang.String;, class [I, class [I, int] Kotlin
code:
mUsbThermalPrinter!!!.reset(); mUsbThermalPrinter!!!.setAlgin(UsbThermalPrinter. ALGIN_LEFT);
mUsbThermalPrinter!!!.printColumnsString( arrayOf( "YYYYYYY", "BBBBBBBBB", ), intArrayOf(6, 6), intArrayOf(0, 0), 16 );
mUsbThermalPrinter!!!.walkPaper(100);
mUsbThermalPrinter!!!.paperCut();

Please log in or register to answer this question.

1 Answer

0 like 0 dislike
by Q&A Professional (5.1k points)
Hi, M10 does not support addColumn for the time being. We will improve this function on the new firmware. We will get back to  you as soon as possible after the new firmware is ready

Related questions

0 like 0 dislike
1 answer 177 views
0 like 0 dislike
1 answer 52 views
asked in M8 by bconnhs Q&A Freshman (106 points)
0 like 0 dislike
2 answers 288 views
asked in TPS900 by Batsh Q&A Freshman (102 points)
0 like 0 dislike
1 answer 135 views
asked in K8 by Sthing Q&A Freshman (105 points)
0 like 0 dislike
1 answer 23 views
0 like 0 dislike
1 answer 117 views
asked in TPS320 by Nanakromo Q&A Freshman (102 points)
0 like 0 dislike
1 answer 103 views
asked in M8 by cugwuh Q&A Freshman (104 points)
0 like 0 dislike
1 answer 130 views
Welcome to Telpo Q&A,

If you have a technical question ,please ask here, in English.
.
If you have faulty devices need be repaired,please create a issue ticket.

Please inquiry your ticket.

Notice :If you have an urgent question or cannot register account of Q&A, you can contact the online support in below jivochat .

Categories

...