Can anyone tel me that how to use the cordova-plugin-printer ?
Please
I only can make the following code in home.ts :
constructor(public navCtrl: NavController, private printer: Printer) {
this.printer.isAvailable().then(
function (onSuccess) {
alert(“onSuccess”);
},
function (onError){
alert(“onError”);
}
);
}
can anyone tell me that how to use check()
and pick()
and print(content, options)
, please