Open mrdesai109 opened 2 years ago
I am using an Epson printer to print an image. The problem I am facing is regarding the image quality. I tried printing with a native Android app and found the printing quality is better.
Here's the code I am using -
final Uint8List bytes = base64Decode(imageAsBase64); i1.Image? image0 = i1.decodeImage(List.from(bytes)); if (image0 != null) { i1.Image image1 = i1.copyRotate(image0, 90); bytesToPrint += generator.image(image1); bytesToPrint += generator.cut(); printer.rawBytes(bytesToPrint); printer.feed(2); printer.cut(); await Future.delayed(const Duration(milliseconds: 100)); printer.disconnect(); print('Printer Disconnected'); }
I am using printer.rawBytes(). Also tried with printer.image().
Can the printed image be clearer?
I am using an Epson printer to print an image. The problem I am facing is regarding the image quality. I tried printing with a native Android app and found the printing quality is better.
Here's the code I am using -
I am using printer.rawBytes(). Also tried with printer.image().
Can the printed image be clearer?