Teddy Albon

Results 33 comments of Teddy Albon

@shadrachpeeris You can use this fork https://github.com/tmalbonph/cordova-plugin-sunmi-inner-printer Tested to work on ionic3 and ionic4.

@shadrachpeeris Theoretically, yes. A SUNMI V1 binary (java) is also compatible and it will work on SUNMI V2. See the information here: https://docs.sunmi.com/en/general-function-modules/printing-service/

@shadrachpeeris Sorry I can't send to that email address. Give me a gmail address I will gladly send more details.

Not on the email too. Use gmail instead.

@shadrachpeeris Login into your Google hangouts account

> How do I can import the plugin on home.ts? > > ``` > import { Component } from '@angular/core'; > import { NavController } from 'ionic-angular'; > > @Component({...

> @tmalbonph > How called hasPrinter() function using cordova sunmi printer. My expected output is , its return true. So, how call hasPrinter() function in our printer code. > >...

1. you need to declare the variables before any class declaration as follows: declare var sunmiInnerPrinter: any; 2. you need to use the "sunmiInnerPrinter" after ionViewDidLoad() 3. if you want...

1. make sure you have the cordova-plugin-sunmi-inner-printer 2. please do the ff: cd to your project dir and type "cordova plugin list"

I remember I have the same problem, then I did modify this plugin. I will post the modify version asap