esc_pos_bluetooth icon indicating copy to clipboard operation
esc_pos_bluetooth copied to clipboard

Ticket.row PosColumn Alignment is indented

Open devinyonas opened this issue 4 years ago • 3 comments

Hello, I try to use print on Bluetooth thermal printer from iOS.

the column seems to be indented and takes 2 lines.

I'm using eppos thermal printer using 58mm paper

my code (result with a red circle):


for (var i = widget.data.length - 1; i >= 0; i--) {
      ticket.row([
        PosColumn(
          text: widget.data[i].qty.toString(), //+ ' ' + widget.data[i].productName,
          width: 2,
          // styles: PosStyles(align: PosAlign.left),
        ),
        PosColumn(
          text: widget.data[i].productName,
          width: 4,
          styles: PosStyles(align: PosAlign.left),
        ),
        PosColumn(
          text: numSeparator(widget.data[i].subTotal),
          width: 4,
          styles: PosStyles(align: PosAlign.right),
        ),
        PosColumn(
          text: '',
          width: 2,
          styles: PosStyles(align: PosAlign.right),
        ),
      ]);
    }
Screen Shot 2020-11-24 at 15 25 09

print from example: Screen Shot 2020-11-24 at 15 29 28

devinyonas avatar Nov 24 '20 08:11 devinyonas

increases chunkSizeBytes

clobose avatar Dec 10 '20 17:12 clobose

@davey06 have you fix this?

bobykurniawan11 avatar Dec 30 '20 11:12 bobykurniawan11

increases chunkSizeBytes

How much you can increase chunkSizeByte? I try 1000 but nothing happen

yasfdany avatar Mar 26 '21 14:03 yasfdany