bixolon_printer 0.0.1 copy "bixolon_printer: ^0.0.1" to clipboard
bixolon_printer: ^0.0.1 copied to clipboard

A Flutter plugin that provides seamless integration with Bixolon Bluetooth printers using Method Channels. Easily initialize the SDK, connect via Bluetooth, and print images using simple, developer-fr [...]

Bixolon Printer Plugin for Flutter A Flutter plugin that provides seamless integration with Bixolon Bluetooth printers using Method Channels. Easily initialize the SDK, connect via Bluetooth, and print images using simple, developer-friendly APIs. ๐Ÿš€ Features ๐Ÿ“ฑ Connect to Bixolon Bluetooth printers ๐Ÿงฉ Simple, clean API using method channels ๐Ÿ–จ Print images using Base64 data โš™๏ธ Fully customizable print configuration (size, position, density, etc.) ๐ŸŽฏ Lightweight and optimized for real-world usage ๐Ÿ“ฆ Installation Add the dependency in your pubspec.yaml: dependencies: bixolon_printer: ^latest_version Then run: flutter pub get ๐Ÿ”ง Usage Guide

  1. Import the plugin import 'package:bixolon_printer/bixolon_printer.dart';
  2. Create an instance final _bixolonPrinterPlugin = BixolonPrinter();
  3. Initialize the SDK _bixolonPrinterPlugin.intiSDK();
  4. Connect to the printer via Bluetooth var address = await _bixolonPrinterPlugin.connectSDK( macAddress: result.address, ); result.address should be the MAC address obtained from your device Bluetooth scan.
  5. Print an image _bixolonPrinterPlugin.printSample( printConfig: PrintConfig( printQty: 1, base64Image: "BASE64 of images", dstHeight: 200, dstWidth: 400, verticalStartPosition: 5, horizontalStartPosition: 15, width: 400, level: 50, ), ); ๐Ÿ“˜ PrintConfig Parameters Property Description printQty Number of copies base64Image Base64-encoded image string dstHeight Output image height dstWidth Output image width verticalStartPosition Vertical print offset horizontalStartPosition Horizontal print offset width Print width level Darkness / density level ๐Ÿ“ฑ Platform Support Platform Status Android โœ… Supported iOS ๐Ÿšง Planned / TBD (update if needed) ๐Ÿงช Example App A complete working example is available in the example/ folder of this package. ๐Ÿ“„ License Include your selected license (MIT recommended).
14
likes
0
points
228
downloads

Publisher

verified publisheritechnolabs.tech

Weekly Downloads

A Flutter plugin that provides seamless integration with Bixolon Bluetooth printers using Method Channels. Easily initialize the SDK, connect via Bluetooth, and print images using simple, developer-friendly APIs.

License

unknown (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on bixolon_printer

Packages that implement bixolon_printer