universal_printer_flutter 0.0.2
universal_printer_flutter: ^0.0.2 copied to clipboard
Discover (Epson/Sunmi/Zebra/Star/SNMP/USB) and print ESC/POS receipts to network, USB, Star and Sunmi/iMin printers. Full on Android; network + Star on iOS.
Changelog #
0.0.2 #
- Built-in printer discovery:
discoverBuiltIn()detects the host device's own Sunmi/iMin printer (via the vendor print-service package) and is folded intodiscoverAll(). PrinterConnectionType.builtIn+DiscoveredPrinter.isBuiltIn; newPrinterBrand.imin.- Supported paper size:
DiscoveredPrinter.supportedPaperWidthsMm(e.g.[58]/[80]), queried live from the vendor SDK for built-in printers.
0.0.1 #
- Initial Android implementation: a federated Flutter plugin wrapping the Universal Printer Kotlin SDK
over a
MethodChannel. - Discovery: Epson (ENPC), Sunmi (mDNS), Zebra, SNMP (Bixolon/Citizen/Brother/Seiko), generic
network (TCP-9100), USB — plus
discoverAllandping. - Printing: ESC/POS network & USB, Star (StarXpand), Sunmi/iMin built-in; centralized
PrintDocumentbuilder withPrintType.text(native ESC/POS) andPrintType.image(HTML → WebView → bitmap);receiptHtmlfor previews. - Impact/dot-matrix detection (
isImpact) andeffectiveEmulationdefault (ESC/POS). - iOS: no-op stub that returns
UNSUPPORTED_PLATFORM(no crash); Android-only for now.