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

Flutter plugin for printing text and images to Marvel Bluetooth thermal printers on Android.

marvel_printer #

Android-only Flutter plugin for 80mm thermal printers using vendor SDKs. Features:

  • Print full-width Arabic/RTL safely (bitmap-based, no clipping)
  • Print PNG receipts at 512/576 dots
  • Print Simplified Tax Invoice with ZATCA TLV QR (auto-generate if not provided)

Install #

dependencies:
marvel_printer: ^0.1.0

Android setup #

  • Bundle vendor SDK JAR/AAR under android/src/main/libs (and .so under src/main/jniLibs/<abi>).
  • Ensure the Arabic font at android/src/main/assets/fonts/NotoNaskhArabic-Regular.ttf exists (already included).

Usage #

import 'package:marvel_printer/marvel_printer.dart';


final ok = await MarvelPrinter.printSale(saleJson: yourMap, logoPng: logoBytes, qrPng: qrBytes);

Limitations #

  • Android only (PRs welcome for iOS/Windows/Linux)
0
likes
0
points
5
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter plugin for printing text and images to Marvel Bluetooth thermal printers on Android.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on marvel_printer

Packages that implement marvel_printer