Bluetooth LE sending Binary File to Zebra

// Expert user has replied.
S Sergey Iliev 3 years 6 months ago
2 1 0

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

Please Register or Login to post a reply

1 Replies

S Steven Si

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");

CONTACT
Can’t find what you’re looking for?