andrey-ushakov / esc_pos_utils

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

Row never go to new line if content is too long #60

Open FuhaoKoay opened 3 years ago

FuhaoKoay commented 3 years ago

Thanks for the package provided but when I am using esc_pos_utils_plus-2.0.1+3 and the row didn't go to next line when it is too long. It will just ignore my content.

Alecckie commented 2 years ago

How to wrap text to next line when text is too long in a column/row?

aargjjendi commented 4 months ago

Saw this somewhere in these issues: Generator.dart

At this:
List row(List cols) {

...

bytes += emptyLines(1); // Edited if (isNextRow) { // row(nextRow); // <-- Change this bytes += row(nextRow); // <-- To this } return bytes; }