pos_universal_printer 0.1.1 copy "pos_universal_printer: ^0.1.1" to clipboard
pos_universal_printer: ^0.1.1 copied to clipboard

Flutter POS printing plugin (ESC/POS receipts, TSPL/CPCL labels) with multi-role routing and Bluetooth/TCP support.

example/main.dart

import 'package:pos_universal_printer/pos_universal_printer.dart';
import 'package:pos_universal_printer/src/renderer/receipt_renderer.dart';

void main() async {
  final pos = PosUniversalPrinter.instance;
  await pos.registerDevice(
    PosPrinterRole.cashier,
    PrinterDevice(
      id: '192.168.1.50:9100',
      name: 'Cashier LAN',
      type: PrinterType.tcp,
      address: '192.168.1.50',
      port: 9100,
    ),
  );
  pos.printReceipt(
    PosPrinterRole.cashier,
    [ReceiptItem(name: 'Item A', qty: 1, price: 10000)],
    is80mm: false,
  );
}
4
likes
0
points
349
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter POS printing plugin (ESC/POS receipts, TSPL/CPCL labels) with multi-role routing and Bluetooth/TCP support.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

async, collection, flutter, meta

More

Packages that depend on pos_universal_printer

Packages that implement pos_universal_printer