Yunhan Li

Results 4 comments of Yunhan Li
trafficstars

Having the same issue here, doesn't change to spinner view by putting `androidTheme: 1`

@nileshgamit Not working for me on the Sunmi V1 as well.

@nileshgamit I tried the plugin you mentioned, and I'm cordova using 6.5.0. function sunmiPrint(data) { // init printer by sunmi inbuilt function window.sunmiInnerPrinter.printerInit() window.sunmiInnerPrinter.printString('\n\n') window.sunmiInnerPrinter.setAlignment(1) sunmiSetBold() window.sunmiInnerPrinter.printTextWithFont(data.name + '\n', '',...

Just call each command async. window.sunmiInnerPrinter.printerInit() .then(() => { return window.sunmiInnerPrinter.printString('\n\n') }) .then(() => { return window.sunmiInnerPrinter.setAlignment(1) }) .then(() => { /* The other command */ })