blue_print_pos icon indicating copy to clipboard operation
blue_print_pos copied to clipboard

[Suggestion] Remove dependency on blue_thermal_printer

Open theGowda opened this issue 2 years ago • 2 comments

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.

theGowda avatar Aug 30 '22 14:08 theGowda

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".

nasibudesign avatar Aug 30 '22 17:08 nasibudesign

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

theGowda avatar Aug 30 '22 18:08 theGowda