andrey-ushakov / esc_pos_utils

Basic Flutter/Dart classes for ESC/POS printing
BSD 3-Clause "New" or "Revised" License
151 stars 339 forks source link

Break the words characters to new line. #135

Open Birjesh1998 opened 9 months ago

Birjesh1998 commented 9 months ago

All is good while printing but if text is long then it break the last work and print half word in first line and half word in second line. Which is looking very bad. WhatsApp Image 2024-02-27 at 06 43 03

EwertonDutra commented 8 months ago

Hello, Is the alignment working for you?

bytes += generator.text('Total R\$ ${pedido['total_price']}', styles: PosStyles(align: PosAlign.right));

All stay in center 😢

Mine doesn't work I am using an Epson TM T20X printer