Printing to ZD610 label printer from Android 11


I'm trying to develop an app to print to a zebra ZD610 label printer. I'm using the example code used in zebra link-os android sample code.
The problem is, after a few consecutive prints it gives error and doesn't print. Then i need to reset the printer to be able to print again.
Any help would be appreciated.

Submitted by SSi1 on June 29, 2022 Permalink

Are you using the Bluetooth Classic or BLE to connect to the printer? What's the printer's Bluetooth settings, i.e. Classic, LE or Both? If you are using BLE to connect to the printer, then it's better to set the Bluetooth setting to LE only, with the following SGD command.

! U1 setvar "bluetooth.le.controller_mode" "le"

To confirm the setting:

! U1 getvar "bluetooth.le.controller_mode"

After changing the setting, reboot the printer.

Submitted by SSi1 on July 03, 2022 Permalink

There might be an issue in the BLE GATT connection in the ZSDK_ANDROID_BTLE.jar, which was built for the old Android devices. Could you replace the ZSDK_ANDROID_BTLE.jar in the Link-OS Android BTLE sample project with this version of the ZSDK_ANDROID_BTLE.jar for improved BTLE connection? Let us know if this helps to solve the issue you are having.