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
Bluetooth LE sending Binary File to Zebra// Expert user has replied. |
1 Replies
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");