flutter_sunyard_printer 0.8.0 copy "flutter_sunyard_printer: ^0.8.0" to clipboard
flutter_sunyard_printer: ^0.8.0 copied to clipboard

Flutter plugin allows to print thermal receipts using Sunyard device with a built-in printer

flutter_sunyard_printer #

Plugin allows to print thermal receipts using Sunmi device with a built-in printer. Tested on Sunmi V2.

Features #

  • fixedText: print text
  • fixedImage: print an image

Getting Started #

import 'package:flutter_sunyard_printer/flutter_sunyard_printer.dart';

// print a fixed text
SunyardPrinter.fixedText();

// print a local jpg asset
ByteData bytes = await rootBundle.load('assets/snes.jpg');
final buffer = bytes.buffer;
final imgData = base64.encode(Uint8List.view(buffer));
SunyardPrinter.fixedImage(imgData);
4
likes
30
pub points
0%
popularity

Publisher

verified publisherfreelogic.com.ar

Flutter plugin allows to print thermal receipts using Sunyard device with a built-in printer

Repository (GitHub)
View/report issues

License

BSD-3-Clause (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_sunyard_printer