Bluetooth LE sending Binary File to Zebra

Tags: 

I ve been trying to send binary(png image) file to Zebra ZD620 over BTLE using this code

linkOsTargetPrinter.storeFileOnPrinter(demoFile.getAbsolutePath(),"E:BATT.PNG");

Unfortunately it does not save it to Zebra flash drive
How can i save a binary file to Zebra flash drive

Steven Si
The statement below should

The statement below should work with Bluetooth LE connection. I've just tried to send a logo.png file from /sdcard/Download folder to the printer. It was successful. In my case, the true file path of the logo.png file is /storage/emulated/0/Download/logo.png.

If you don't see the file on the E: drive on the printer, make sure that there is no exception or error thrown out from the execution. Usually the failures are resulted from incorrect file path. 

linkOsTargetPrinter.storeFileOnPrinter(demoFile.getAbsolutePath(),"E:BATT.PNG");
Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Log in to post comments