Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Suggestion] Remove dependency on blue_thermal_printer #69

Open
theGowda opened this issue Aug 30, 2022 · 2 comments
Open

[Suggestion] Remove dependency on blue_thermal_printer #69

theGowda opened this issue Aug 30, 2022 · 2 comments

Comments

@theGowda
Copy link

First of all, thank you for your work!

Doesn't flutter_blue_plus handle both android and ios bluetooth? Is there a specific reason you are using blue_thermal_printer for handling android bluetooth? I tried removing all the Platform checks and used only flutter_blue_plus. Worked fine!
The blue_thermal_printer only shows devices that are already paired. Flutter_blue_plus doesn't need you to pair the device first.

I'm asking this because i'm using your package to work with different models. So I want to know are there any printer models that don't work with flutter_blue_plus.

@nasibudesign
Copy link

what I've found is that in android other printers with "Flutter_blue_plus" printing image can be too slow, also some Pos come with an integrated virtual Bluetooth printer which may not be picked by "Flutter_blue_plus".

@theGowda
Copy link
Author

what I've found is that in android other printers with "Flutter_blue_plus" printing image can be too slow, also some Pos come with an integrated virtual Bluetooth printer which may not be picked by "Flutter_blue_plus".

now that you said this I tested the ReceiptSectionText() class to addText. Earlier I was just accessing the esc_pos class to add text and I encountered the problem with flutter blue on android. It did not print anything. This could be a problem of the esc_pos printing image. Everything in the ReceiptSectionText is converted to image and then printed.

Thank you the detail. i'll investigate further

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants