Open FranciscoPV94 opened 4 years ago
@FranciscoPV94 Could you provide more Informations on your Issue? For Example, does your printer has something like a selftest? Most devices will print a test receipt with Additional Information of Settings, Mac-Address, Name etc. Maybe you could provide an image of this.
Could you further explain what exactly you mean by "and it's already paired in my phone"? What is paired and how did you pair it?
Is your Printermodel SPP-R310 or SPP-L310?
There my printer is paired in the configuration of my phone.
that's the test print with the information from my printer
and in the application only find that device
...
My Printermodel is SPP-R310
my printer modal is Zebra-ZD42043 is not connecting
?
In my case I'm running a tablet with Android 6. I can find the printer within the Bluetooth configurations in settings, but the sample app does not find it.
If I run the sample app from my Android phone running OS 9 it does find it indeed. My suspicion is that it might have to do with the OS, but I have no way of knowing for sure. Can this be the case?
Sometimes it might be the Location toggle in Android. If you turn the Location on, it will discover the devices because it seems that this library uses the Location Permission.
With my sample app I can detect devices using my Samsung S7 Edge (Android 8) with all esc_pos_bluetooth versions.. But the app could not detect devices using Sony Xperia (Android 10) until I installed the esc_pos_bluetooth version 0.1.0 and 0.1.1. But cannot detect devices on Infinix (Android 9) no matter the version.
With my sample app I can detect devices using my Samsung S7 Edge (Android 8) with all esc_pos_bluetooth versions.. But the app could not detect devices using Sony Xperia (Android 10) until I installed the esc_pos_bluetooth version 0.1.0 and 0.1.1. But cannot detect devices on Infinix (Android 9) no matter the version.
I solved it. I made sure the location was on on all devices listed above but still using the esc_pos_bluetooth version 0.1.0. Haven't tested with the latest version (0.2.8)
I think ecs_pos_bluetooth
is only designed to scan devices not paired to, it omits the paired devices, I think there should also be a way to use only paired devices, for example: getBondedDevices()
.
im pretty sure, bluetooth version on your printer is the problem.
My printer xprinter is not listed in bluetooth devices at all. Please help. I am trying the example code. Thank you
My app can not find any printer.
Try using another phone with a different android version or downgrade the plugin in your pubspec.yaml file
Give location access to app to always and unpair the device. .... Solves the issue
It does not find my printer, bixolon SPP-310, and it is already paired on my phone, the only thing it found was my smartwatch, it should scan any bluetooth device