pos_universal_printer 0.2.0 copy "pos_universal_printer: ^0.2.0" to clipboard
pos_universal_printer: ^0.2.0 copied to clipboard

Flutter POS printing plugin (ESC/POS receipts, TSPL/CPCL labels) with multi-role routing and Bluetooth/TCP support. Includes Custom Sticker API with alignment, margins, and invoice templates.

Changelog #

0.2.0 #

🎉 Major Feature Update - Custom Sticker API & Invoice Templates

🆕 New Features #

  • Custom Sticker API: Complete helper for TSPL sticker printing with easy-to-use StickerText and StickerBarcode classes
  • Text Alignment: Support for 'left', 'center', 'right' alignment with automatic positioning
  • 4-Side Margins: Full control with marginLeft, marginTop, marginRight, marginBottom
  • Invoice Style Templates: Ready-to-use invoice printing with customer names, timestamps, and modifications
  • Built-in Templates: printProductSticker40x30() and printAddressSticker58x40() for common use cases
  • Auto Text Wrapping: Smart text wrapping that preserves whole words
  • Dynamic Heights: Automatic sticker height calculation based on content

🔧 Improvements #

  • Enhanced Documentation: Comprehensive examples and parameter explanations
  • Better Font Support: Validated font ranges (1-8) with size multipliers
  • Orientation Fix: TSPL DIRECTION 0 for proper sticker orientation
  • Multi-line Support: Easy handling of multiple text lines with proper spacing

📚 New Examples #

  • Invoice style printing with customer data
  • Product and address label templates
  • Text alignment demonstrations
  • Left-right same line positioning
  • Full margin control examples

🐛 Bug Fixes #

  • Fixed upside-down text in TSPL stickers
  • Corrected text positioning calculations
  • Improved error handling in connection management

0.1.3 #

  • Fix repository URL and add more examples.

0.1.2 #

  • Fix repository URL to point to the package subdirectory in the monorepo for pub.dev verification.

0.1.1 #

  • Add example/, LICENSE, README improvements, and API dartdoc.
  • Fix analyzer warnings and formatting.
  • Prep for pub.dev publishing flow and improve documentation.

0.1.0 #

  • Initial release of the federated interface package.
  • ESC/POS, TSPL, CPCL support via builders.
  • Role-based printer mapping.
  • Android Bluetooth Classic and TCP; iOS TCP.
  • Basic receipt renderer and cash drawer command.

0.1.3 #

  • README: update install snippet to ^0.1.3 and add full example app.
  • Public exports for builders/renderers; package example uses them.
4
likes
0
points
348
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter POS printing plugin (ESC/POS receipts, TSPL/CPCL labels) with multi-role routing and Bluetooth/TCP support. Includes Custom Sticker API with alignment, margins, and invoice templates.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

async, collection, flutter, meta

More

Packages that depend on pos_universal_printer

Packages that implement pos_universal_printer