How to write data to printer using BlueTooth Serial cordova plugin

Hai All,

    i want to connect to the bluetooth printer and print some text. For that i got Bluetooth Serial cordova plugin . By using that iam able to connect to the device. But when i write the simple String "hello world" , iam unable to print it. But iam getting success call back.

Here is the plugin i am using https://github.com/don/BluetoothSerial

Documentation says just use bluetoothserial.write(“Hello World”, succc,errr)

but iam unable to print data. Can any one help me with some example.