kozen_printer 0.0.2
kozen_printer: ^0.0.2 copied to clipboard
A Flutter plugin for integrating with Kozen print devices.
Kozen Printer Flutter Plugin #
A Flutter plugin for integrating with Kozen print devices.
Features #
- Print text and images on Kozen printers
- Supports all Kozen printer devices (tested on Kozen P10 / Advan Harvard C1)
- Based on cordova-plugin-kozen-p8-printer (thanks to them!)
Getting Started #
Add the plugin to your pubspec.yaml:
dependencies:
kozen_printer: ^<latest_version>
Import and use in your Dart code:
import 'package:kozen_printer/kozen_printer.dart';
// Example usage
await _kozenPrinterPlugin.open();
await _kozenPrinterPlugin.addPrintLine("TEST PRINT");
await _kozenPrinterPlugin.addPrintLine("");
await _kozenPrinterPlugin.beginPrint();
await _kozenPrinterPlugin.close();
Supported Devices #
- All Kozen printer devices
(Tested on Kozen P10 / Advan Harvard C1)
Product Info
Notes #
There is no official documentation available for Kozen printer devices.
Communication with the printer is done using thecom.pos.sdk.printerpackage.
Credits #
- Kozen SDK and much of the code are adapted from cordova-plugin-kozen-p8-printer.
License #
See LICENSE for details.