ZD410 bluetooth printing

I need to build app for to send PDF file on ZD410 printer using bluetooth connection. Is there any solutions to handle it? Any information will be helpful, thank you.

 

UPDATE:

here is my code from test application

 

try {
  mmSocket
.connect();
 
} catch (IOException e1) {
      android
.util.Log.e(TAG, e1.toString());
 
try {
      android
.util.Log.i(TAG, "Trying fallback...");
      mmSocket
=(BluetoothSocket) mmDevice.getClass().getMethod("createRfcommSocket", new Class[] {int.class}).invoke(mmDevice,1);
      mmSocket
.connect();
      android
.util.Log.i(TAG, "Connected");
 
} catch (Exception e2) {
      android
.util.Log.e(TAG, "Couldn't establish Bluetooth connection!");
     
try {
        mmSocket
.close();
     
} catch (IOException e3) {
        android
.util.Log.e(TAG, "unable to close() " + mSocketType + " socket during connection failure", e3);
     
}
      connectionFailed
();
     
return;
  
}
}

 

“java.io.IOException: read failed, socket might closed or timeout, read ret: -1” exception appears while i'm trying to connect my android device with Zebra ZD410 printer.

This code works well with Epson printer and some other devices, but not with zebra ZD410 printer. What can be a reason?