Just a phonegap adapter to allow raw printing from Javascript to a Star thermal printer via Bluetooth.
Use the standard phonegap/cordova way to install it.
phonegap local plugin add https://github.com/vshjxyz/StarIOAdapter
To use the plugin calling one of the methods in the StarIOAdapter
object that you should find in your JS environment once you have installed the plugin.
// This will search the first paired BT device and send the text
// specified to it using the Star SDK
StarIOAdapter.rawprint("Text to print", "BT:", function() {
alert("printed");
});
// This method checks if the printer that has that particular IP is
// Online and ready to print
StarIOAdapter.check("TCP:192.168.1.200", function() {
alert("The printer is Online and ready");
}, function(error) {
alert("The was a problem with the printer: " + error);
});