Hi, thanks for developed this cool library!
I got an issue when I use generator.row and generator.textLeftRight to print a row, the leftmost column is not left-aligned properly.

Here is my code:
bytes += _generator.hr(ch:'=');
final receiptNumber = label.receiptNumber;
final shippingTotalWeight ='${label.shippingTotalWeight} kg';
final shippingCost =Formatter.currency(label.shippingCost asint);
bytes += _generator.row([
PosColumn(
text:'Pengiriman',
width:6,
),
PosColumn(
text: receiptNumber,
width:6,
styles:constPosStyles(align:PosAlign.right),
),
]);
bytes += _generator.textLeftRight('Berat', shippingTotalWeight);
bytes += _generator.textLeftRight('Ongkir', shippingCost);
bytes += _generator.hr();bytes += _generator.hr(ch:'=');Here is my Generator configuration:
@preResolveFuture<Generator> get generator async=>Generator(PaperSize.mm80, awaitCapabilityProfile.load());
and I used CP1252 global code table.
Is there any way to fix this? Thank you!
Hi, thanks for developed this cool library!
I got an issue when I use
generator.rowandgenerator.textLeftRightto print a row, the leftmost column is not left-aligned properly.Here is my code:
Here is my
Generatorconfiguration:and I used
CP1252global code table.Is there any way to fix this? Thank you!