A Cordova plugin to print images in Android and iOS , our plugin just supports Honeywell printer models now .
本插件可用于手机端打印,打印机型号: 霍尼韦尔 PC42t.
If you are using cordova-cli, install with:
cordova plugin add https://github.com/lulouis/cordova-plugin-honeywell-printer.git
With a plain plugman, you should be able to install with something like:
plugman --platform <ios|android> --project <directory> --plugin https://github.com/lulouis/cordova-plugin-honeywell-printer.git
TODO: Write these instructions
TODO: Write these instructions
If you are using jQuery, AngularJS, WinJS or any Promise/A library (Bluebird), promise style is supported. Use something like:
cordova.getAppVersion.getVersionNumber().then(function (version) {
$('.version').text(version);
});
If not, pass a callback function:
cordova.getAppVersion.getVersionNumber(function (version) {
alert(version);
});
In addition to the version number you can also retrieve other details about your application:
## Credits
Original code based on the following Stack Overflow posts: