labibramadhan / cordova-sunmi-inner-printer

29 stars 32 forks source link

hello, the plugin works with sunmi v1 to print #1

Closed gsusalvarado closed 6 years ago

gsusalvarado commented 6 years ago

How can I use this plugin, I've read that you can only print native android, can you use it with ionic, or how can I start using it? Thank you

labibramadhan commented 6 years ago

First, install by typing ionic cordova plugin add https://github.com/labibramadhan/cordova-sunmi-inner-printer.git

Then, use it on your cordova javascript codes by calling: window.sunmiInnerPrinter.[methods available on here]

gsusalvarado commented 6 years ago

Thanks

ayserious commented 6 years ago

I'm trying to write a cordova program and run a plugin. Your plugin, do I need to install something else to add it?

ayserious commented 6 years ago

Hello, You can preview the code to run the plugin. Was it a little bit? I'm very thankful

labibramadhan commented 6 years ago

For more detail how to start testing, see https://github.com/labibramadhan/cordova-sunmi-inner-printer/issues/2#issuecomment-342366093

ibatinfo commented 5 years ago

First, install by typing ionic cordova plugin add https://github.com/labibramadhan/cordova-sunmi-inner-printer.git

Then, use it on your cordova javascript codes by calling: window.sunmiInnerPrinter.[methods available on here]

Hello, am using phonegap to convert my js, html and css app. I only have access to config.xml The question is do I need to indicate anything in my config.xml to allow the print. And the innerprinter.js, must it be in the same location where the java file is