andrey-ushakov / esc_pos_bluetooth

ESC/POS (thermal, receipt) printing for Flutter & Dart (Android/iOS)
BSD 3-Clause "New" or "Revised" License
247 stars 331 forks source link

It does not find my printer #19

Open FranciscoPV94 opened 4 years ago

FranciscoPV94 commented 4 years ago

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

Dshosev commented 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?

FranciscoPV94 commented 4 years ago

There my printer is paired in the configuration of my phone. Screenshot_2

that's the test print with the information from my printer

CamScanner 05-26-2020 12 10 06

image

and in the application only find that device

...

My Printermodel is SPP-R310

NivethaMuthukumar commented 4 years ago

my printer modal is Zebra-ZD42043 is not connecting

https://www.amazon.in/Zebra-ZD42043-T0G000EZ-Transfer-Stickers-Printing/dp/B07XQHQMVX/ref=sr_1_13?crid=5HW6K0I6EFEH&dchild=1&keywords=zebra+label+printer&qid=1593776994&sprefix=zebra+l%2Caps%2C354&sr=8-13

FranciscoPV94 commented 4 years ago

?

jacobokoenig commented 4 years ago

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?

jefferywunady commented 4 years ago

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.

ekquashie commented 4 years ago

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.

ekquashie commented 4 years ago

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)

erisanolasheni commented 3 years ago

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().

kevinkkurniawan commented 3 years ago

im pretty sure, bluetooth version on your printer is the problem.

harshilishere commented 3 years ago

My printer xprinter is not listed in bluetooth devices at all. Please help. I am trying the example code. Thank you

john-smith-rk commented 3 years ago

My app can not find any printer.

ekquashie commented 3 years ago

Try using another phone with a different android version or downgrade the plugin in your pubspec.yaml file

fixer112 commented 3 years ago

Give location access to app to always and unpair the device. .... Solves the issue