cordova-zebra-printer/www/ZebraPrinter.js

9 lines
251 B
JavaScript
Raw Normal View History

2018-04-27 06:54:16 -04:00
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');
};