wise_bluetooth_print 0.0.3 copy "wise_bluetooth_print: ^0.0.3" to clipboard
wise_bluetooth_print: ^0.0.3 copied to clipboard

PlatformAndroid

Socket timeout is added to keep socket open for longer for print operations for multiple labels. Timeout defaults to 100ms (as original) if no timeout value is passed.

wise_bluetooth_print #

A new flutter plugin project to get print out from bluetooth printers for Android.

Getting Started #

This project is a starting point for a Flutter plug-in package, a specialized package that includes platform-specific implementation code for Android.

How to use it? #

At the start, you need to get your already paired devices. The plugin will return paired devices list with the device name, device mac address, and device UUID.

And then you need to call the print method with your printing text and target device UUID.

If you use ZPL, CPCL, or something like these languages, you have to set your design text to print text parameters. If you use line feed, you just need to send your text.

Sample #

Please check the example project.

List

Here is the model of the PairedDevice

class PairedDevice { String name; String hardwareAddress; String socketId; }

A new flutter plugin project to get print out from bluetooth printers for Android.

List of Tested Printers #

  • Bixolon SPP-L310

Licence #

wise_bluetooth_print is free and open source software licensed under MIT License. You can use it in private and commercial projects.

7
likes
120
pub points
62%
popularity

Publisher

verified publisherwiseservices.co.uk

Socket timeout is added to keep socket open for longer for print operations for multiple labels. Timeout defaults to 100ms (as original) if no timeout value is passed.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on wise_bluetooth_print