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

PlatformAndroid

A Flutter plugin for printing on CS10-Z100 POS terminals.

CS10-Z100 POS Printer Plugin #

pub package

A Flutter plugin for printing on the integrated terminal of CS10-Z100 POS devices.

Features #

  • Initialize and close the printer connection.
  • Check the printer status.
  • Print text with customizable alignment and font settings.

Installation #

Add the plugin to your Flutter project by running:

flutter pub add cs10_z100_pos_printer

Usage #

import 'package:cs10_z100_pos_printer/cs10_z100_pos_printer.dart';

void main() async {
  final printer = Cs10Z100PosPrinter();
  final wasInit = await printer.printInit();
  if (!wasInit) return;
  final stringAdded = await printer.addString('Hello World!');
  if (!stringAdded) return;
  final printStarted = await printer.printStart();
  if (!printStarted) return;
  await printer.printClose();
}
4
likes
150
points
14
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter plugin for printing on CS10-Z100 POS terminals.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on cs10_z100_pos_printer

Packages that implement cs10_z100_pos_printer