I have an app which prints some text using a [Rongta RRP-200](http://www.rongtatech.com/products-look-58.html) mobile printer, connected with my phone via blueetoth.

For this, I'm using this plugin: <https://github.com/srehanuddin/Cordova-Plugin-Bluetooth-Printer>

I'm able to connect my device to the printer and even run the print function from my app, which gives me back a message informing me that data was sent. However, the printer does nothing (with the exception of its lights turning on). 

This is the function (from the plugin) that attempts to print my text:

```
boolean printText(CallbackContext callbackContext, String msg) throws IOException {
    try {
        mmOutputStream.write(msg.getBytes());

        // tell the user data were sent
        //Log.d(LOG_TAG, "Data Sent");
        callbackContext.success("Data Sent");
        return true;

    } catch (Exception e) {
        String errMsg = e.getMessage();
        Log.e(LOG_TAG, errMsg);
        e.printStackTrace();
        callbackContext.error(errMsg);
    }
    return false;
}

```

What could possibly go wrong in here?