tmalbonph / cordova-plugin-sunmi-inner-printer

Cordova/Ionic Plugin for Sunmi V1 Printer
MIT License
15 stars 19 forks source link

How to use this? #13

Closed guestisp closed 3 years ago

guestisp commented 3 years ago

Any very simple code showing how to use this plugin ?

MooseTheCoder commented 3 years ago

After you have imported the plugin, you could use something like this :

sunmiInnerPrinter.printString('Hello World!\n\n\n\n');