InteractiveObject / Starioplugin
Licence: mit
Star Micronics printer phonegap/cordova plugin
Stars: ✭ 20
Labels
Projects that are alternatives of or similar to Starioplugin
cordova-plugin-flurryanalytics
Adds support for all that Flurry Analytics flavored goodness to your Cordova based apps
Stars: ✭ 23 (+15%)
Mutual labels: phonegap, cordova-plugin
Blinkid Cordova
ID scanning for cross-platform apps built with Cordova and Phonegap.
Stars: ✭ 44 (+120%)
Mutual labels: phonegap, cordova-plugin
Cordova Plugin Linkedin
Cordova plugin for LinkedIn
Stars: ✭ 17 (-15%)
Mutual labels: phonegap, cordova-plugin
cordova-plugin-downloadmanager
A Cordova plugin to download file in system's default download manager
Stars: ✭ 45 (+125%)
Mutual labels: phonegap, cordova-plugin
cordova-plugin-zeep
Zip compression/decompression for the cordova/phonegap platform
Stars: ✭ 27 (+35%)
Mutual labels: phonegap, cordova-plugin
cordova-plugin-ironsource-ads
Cordova plugin for IronSource ads
Stars: ✭ 17 (-15%)
Mutual labels: phonegap, cordova-plugin
cordova-plugin-example
Example Cordova plugin for iOS and Android to support blog post.
Stars: ✭ 15 (-25%)
Mutual labels: phonegap, cordova-plugin
cordova-swift3-plugin-example
Swift 3 Cordova plugin example to support blog post.
Stars: ✭ 23 (+15%)
Mutual labels: phonegap, cordova-plugin
Cordova Admob Pro
🔥 Cordova Plugin for Google AdMob, DFP, ADX. Easy monetization using mobile Ad, with single line of JavaScript. Compatible with Cordova CLI, Inoic, PhoneGap Build, etc.
Stars: ✭ 690 (+3350%)
Mutual labels: phonegap, cordova-plugin
Cordova Plugin Email Composer
Edit and send email messages
Stars: ✭ 333 (+1565%)
Mutual labels: cordova-plugin
Cordova Plugin Googleplus
➕ Cordova plugin to login with Google Sign-In on iOS and Android
Stars: ✭ 537 (+2585%)
Mutual labels: phonegap
Corber
CLI for building hybrid apps with Ember/Vue/Glimmer/Cordova
Stars: ✭ 327 (+1535%)
Mutual labels: phonegap
Cordova Plugin App Version
Cordova plugin to return the version number of the current app
Stars: ✭ 374 (+1770%)
Mutual labels: cordova-plugin
Cordova Template Framework7 Vue Webpack
Framework7 - Vue - Webpack Cordova Template with Webpack Dev Server and Hot Module Replacement
Stars: ✭ 630 (+3050%)
Mutual labels: phonegap
Cordova qq
A Cordova wrapper around the Tencent QQ SDK for Android and iOS. Provides access to QQ ssoLogin, QQ Sharing, QQZone Sharing etc.
Stars: ✭ 294 (+1370%)
Mutual labels: cordova-plugin
Cordova Plugin App Update
App updater for Cordova/PhoneGap
Stars: ✭ 290 (+1350%)
Mutual labels: cordova-plugin
Cordova Plugin Disable Bitcode
Cordova plugin to disable bitcode in iOS build settings
Stars: ✭ 19 (-5%)
Mutual labels: cordova-plugin
Cordova Plugin Ble Central
Bluetooth Low Energy (BLE) Central plugin for Apache Cordova (aka PhoneGap)
Stars: ✭ 830 (+4050%)
Mutual labels: cordova-plugin
Star Micronics cordova StarIO plugin
Phonegap plugin for Star Micronics bluetooth/LAN printers. It works with Android and iOS
How to use :
-
Integrate the SDK into your project. Visit the Star Micronics developer section and follow the appropriate documentation.
-
Install the plugin:
cordova plugin add https://github.com/InteractiveObject/StarIOPlugin.git
API
Printer discovery
window.plugins.starPrinter.portDiscovery('All', function(error, printerList){
if (error) {
console.error(error);
} else {
console.log(printerList[0].name);
console.log(printerList[0].macAddress);
}
});
Port types are: 'All', 'Bluetooth', 'USB', 'LAN'
Printer status
window.plugins.starPrinter.checkStatus(portName, function(error, result){
if (error) {
console.error(error);
} else {
console.log(result.offline ? "printer is offline : "printer is online);
}
});
Print receipt
var myReceipt = "Title \n\n -- Price\r\r\r 20$\n\n ---\n";
window.plugins.starPrinter.printReceipt(portName, myReceipt, function(error, result){
if (error) {
console.error(error);
} else {
console.log("printReceipt finished");
}
});
Connect and listen for hardware events (mPOP on iOS only)
window.plugins.starPrinter.connect(portName, function(error, result){
if (error) {
console.error(error);
} else {
console.log("connect finished");
}
});
window.addEventListener('starIOPluginData', function (e) {
switch (e.dataType) {
case 'printerCoverOpen':
break;
case 'printerCoverClose':
break;
case 'printerImpossible':
break;
case 'printerOnline':
break;
case 'printerOffline':
break;
case 'printerPaperEmpty':
break;
case 'printerPaperNearEmpty':
break;
case 'printerPaperReady':
break;
case 'barcodeReaderConnect':
break;
case 'barcodeDataReceive':
break;
case 'barcodeReaderImpossible':
break;
case 'cashDrawerOpen':
break;
case 'cashDrawerClose':
break;
}
});
Open cash drawer (mPOP on iOS only)
window.plugins.starPrinter.openCashDrawer(name, function(error, result){
if (error) {
console.error(error);
} else {
console.log("openCashDrawer finished");
}
});
License
Copyright (c) 2016 Interactive Object . Licensed under the MIT license.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].