Problems with the 'ZSDK_ANDROID_API.jar' library, it can't print via bluetooth on ZD421, any solution or advice?

// Expert user has replied.
Y Yanis Dalabiras 2 years ago
56 3 0

I have problems in the development of my app for the ZD421, when compiling and testing the bluetooth connection, it does not locate the printer. I tried with other printers (ZT411) and it manages to connect and print via bluetooth. Any solution or advice?

Please Register or Login to post a reply

3 Replies

S Steven Si

Do you mean that you can not discover the printers via the BluetoothDiscoverer.findPrinters()? If that's the case and the app is on Android 10 or higher, additional steps for the location permission are required. See this article for details: Link-OS SDK for Android | Permissions and Bluetooth API.

 

C Cristhian Rodriguez

Exactly, I can't find the ZD421 printer via bluetooth. I tried with a ZT411 and it did get the connection. About the required permissions, they are added, you can see at the attachment.

S Steven Si

Make sure that the ZD421 has Bluetooth classic. The default configuration for the ZD421 is Bluetooth Low Energy only. If it doesn't have Bluetooth classic, the app won't be able to find or connect to the Bluetooth classic.

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