Cannot print image full with mm80 paper size
Opened this issue · 2 comments
manucianvy97 commented
DxTa commented
I seems to got similar issue as well. @manucianvy97 have you got any further insight yet?
DxTa commented
Actually, I got it working.
It's quite important to have the image width correct. For me, I capture the screenshot to print and below code is used to represent my idea
Widget bodyPrintWidget(List<List<RowPrinterDetailRes>>? rows) {
return Container(
width: Helper.checkPaperSizeIs58mm() ? 360 : 530,
child: Column(
mainAxisSize: MainAxisSize.min,
crossAxisAlignment: CrossAxisAlignment.start,
children: printInvoiceBitmap(rows),
)
);
}