flutter_esc_pos_network_universal 1.0.2 copy "flutter_esc_pos_network_universal: ^1.0.2" to clipboard
flutter_esc_pos_network_universal: ^1.0.2 copied to clipboard

The library allows printing receipts using ESC/POS commands using thermal Wi-Fi/Ethernet printer.

1.0.2 #

  • Fix: Seamless Long Receipts (Universal) — Resolved the "white gap" issue on both Web and IO (macOS/Mobile) by generating the entire receipt as a single continuous ESC/POS command instead of slicing it into chunks.
  • Improvement: Transmission Flow Control — Added transmission-level chunking (5KB chunks with a 20ms delay) across all platforms. This prevents data loss and printer buffer overflows that previously caused middle sections of long receipts to be blank.
  • Stability: Added flush() calls and small delays between data chunks to give printer hardware time to process high-resolution bitmaps reliably.

1.0.1 #

  • Fix: Chunk-seam artifact on Web — The previous chunked image approach sent each slice as a separate ESC/POS GS v 0 command, causing the printer to advance one dot-line between chunks. This produced white horizontal gaps and doubled/ghosted text lines at chunk boundaries. The web implementation now sends the full receipt bitmap as a single GS v 0 command, eliminating all seams.
  • Removed chunkHeight from public API — The chunkHeight parameter and BasePrinterNetworkManager.chunkHeight getter have been removed. Chunking is now a private implementation detail of the IO (mobile/desktop) path only. The web path does not chunk. This is a minor breaking change for anyone passing chunkHeight to PrinterNetworkManager — simply remove the argument.
  • Screenshot delay increased on WebcaptureFromLongWidget delay raised from 200 ms to 500 ms to give fonts additional time to render into the browser canvas before the bitmap is captured.

1.0.0 #

  • Universal Support: Standardized API for both IO (Mobile/Desktop) and Web platforms.
  • Widget Printing: Added printWidget method to capture and print any Flutter widget as a thermal receipt.
  • High-Performance Isolates: Utilizes compute for image processing to maintain UI thread responsiveness.
  • Chunked Data Support: Automatic chunking of large images for IO platforms.
  • Extension Status Stream: Real-time monitoring of the Local TCP Extension availability on Web.
  • Paper Size Support: Support for 58mm, 72mm, and 80mm paper widths.
  • Improved Networking: Unified connection handling, timeouts, and error reporting.
0
likes
140
points
276
downloads

Documentation

API reference

Publisher

verified publisheralgoramming.com

Weekly Downloads

The library allows printing receipts using ESC/POS commands using thermal Wi-Fi/Ethernet printer.

Repository (GitHub)
View/report issues

License

GPL-3.0 (license)

Dependencies

flutter, flutter_esc_pos_utils, image, screenshot, universal_html, uuid

More

Packages that depend on flutter_esc_pos_network_universal