Skip to content

kaanakyalcin/wise_bluetooth_print

Repository files navigation

For more details: https://wiseservices.co.uk/post/4c34fef9-3fd3-4935-9073-031c8f4258dc

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 devices = await WiseBluetoothPrint.getPairedDevices();

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
  • Zebra ZQ510

Licence

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published