smart_printer_flutter 0.1.1
smart_printer_flutter: ^0.1.1 copied to clipboard
A Flutter plugin to print text, pdf, barcodes, and QR codes to thermal label and POS printers using TSPL, ZPL, ESC/POS.
Changelog #
All notable changes to this project will be documented in this file.
0.1.1 - 2025-09-26 #
✨ Features #
- Printer
- Add
getPrinterStatusmethod to fetch and interpret printer status codes.
- Add
- Android
- Implement native BLE logic to retrieve printer status.
♻️ Refactor #
- PDF Rendering & Printing
- Rework
renderAllPagesFromPdfto calculate bitmap dimensions based on printer DPI and aspect ratio, with a 4mm safety margin. - Update calls to
renderAllPagesFromPdfto pass theprinterobject.
- Rework
- TSPL Print Parameters
- Adjust speed from
5.0→3.0. - Adjust density from
10→1. - Change reference point from
(20, 0)→(0, 0).
- Adjust speed from
- Code Cleanup
- Remove redundant author KDoc from
PdfUtils.kt.
- Remove redundant author KDoc from
0.1.0 - 2025-09-15 #
✨ Features #
- Printer
- Add
getPrinterStatusmethod to fetch and interpret printer status codes.
- Add
- Android
- Implement native BLE logic to retrieve printer status.
Fixes #
- Printing
- Add error handling and logging in
TSPLActivity. - Prevent concurrent PDF print jobs in Dart.
- Add error handling and logging in
Chore #
- Minor cleanup and logging improvements.
0.0.6 #
- Added proper MIT
LICENSEfile (replacing placeholder template). - Added
NOTICEfile to clarify usage of trademarks (XPrinter, TSPL, ZPL, ESC/POS). - Compliance improvements for pub.dev publishing requirements.
0.0.5 #
- Update plugin version in pubspec.yaml
- Replace print with debugPrint in example and method channel
- Remove unused imports and test code
- Add initializeBle to MockSmartPrinterFlutterPlatform
- Update example pubspec.lock
0.0.4 #
- Fix bug in Android Bluetooth connection.
- Add support for printing QR codes and barcodes.
- Update dependencies (permission_handler 12.0.1).
0.0.3 #
- Update Change log.
0.0.2 #
- Update README.md with new features.
0.0.1 #
- Init Release.