Open manucianvy97 opened 2 years ago
I seems to got similar issue as well. @manucianvy97 have you got any further insight yet?
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),
)
);
}
I'm facing issue when printing with image. I cannot print image with full size paper. If print text, it normally. In addition, printing image is interrupted (below image).