cordova-zebra-printer/www/ZebraPrinter.js
2018-04-27 06:54:16 -04:00

9 lines
251 B
JavaScript

var exec = require('cordova/exec');
exports.echo = function (arg0, success, error) {
exec(success, error, 'ZebraPrinter', 'echo', [arg0]);
};
exports.discover = function (success, error) {
exec(success, error, 'ZebraPrinter', 'discover');
};