another_imin_printer 0.7.0 copy "another_imin_printer: ^0.7.0" to clipboard
another_imin_printer: ^0.7.0 copied to clipboard

PlatformAndroid

Flutter plugin to run Imin Printer with support for printing text, images, and QR codes.

Imin Printer #

GitHub stars

A Flutter package for easy integration with Imin POS devices. Supports advanced printer commands, LCD display management, and cash drawer operations for retail and POS apps.

Note: After version 0.7.0, this package use IminPrinterLibrary SDK V2.0.0.17, which may causing unexpected behavior than older package version since I don't have access to test on Imin Devices.

Support #

  • ✅ Android

Tested On #

  • Imin D1
  • Imin D4 Pro
  • Imin M2-202
  • Imin M2 Pro
  • Swift 2

Installation #

flutter pub add another_imin_printer

What this package do #

All printer related command available:

  • ✅ Initialize Printer
  • ✅ Set print size
  • ✅ Get Printer Status
  • ✅ Get model name
  • ✅ Get brand name
  • ✅ Print raw bytes (Uint8List)
  • ✅ Print text
  • ✅ Print 2 Column text
  • ✅ Print Bitmap (Uint8List)
  • ✅ Print Bitmap base64 (String)
  • ✅ Set Style
  • ✅ Partial cut
  • ✅ Full cut

Tested on: Imin D1

  • ✅ Initialize LCD Manager
  • ✅ Send bitmap base 64 to LCD Screen
  • ✅ Clear LCD Screen

Tested on: Imin D4 Pro

  • ✅ Open cash drawer

You can combine this package with presentation_display to use customer display on some Imin device #

Example #

Instance #

IminPrinter iminPrinter = IminPrinter();

Init Printer #

Use init before accessing other functionality

iminPrinter.initPrinter(printSizeImin: PrintSizeImin.mm58);
iminPrinter.printText(
  'Sample Text', 
  printStyle: const PrintStyle(textAlign: PrintStyleAlign.center),
); // Print text on Center
iminPrinter.print2ColumnsText(['Left Text', 'Right Text']);
iminPrinter.printBytes(Uint8List.fromList([0x1B, 0x40, 0x0A])); // Print raw bytes

Open Cash Drawer #

iminPrinter.openCashDrawer();

Contributing #

Contributions are welcome! Please open issues or submit pull requests for any improvements or bug fixes. Make sure to follow the existing code style and include tests where appropriate.

License #

This project is licensed under the MIT License. See the LICENSE file for details.

2
likes
160
points
792
downloads

Publisher

verified publisherfuadreza.top

Weekly Downloads

Flutter plugin to run Imin Printer with support for printing text, images, and QR codes.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on another_imin_printer

Packages that implement another_imin_printer