printReceiptImage method
This method only for print image with parameter bytes
in List
Implementation
Future<void> printReceiptImage(
List<int> bytes, {
int width = 120,
int feedCount = 0,
bool useCut = false,
bool useRaster = false,
PaperSize paperSize = PaperSize.mm58,
}) async {
final List<int> byteBuffer = await _getBytes(
bytes,
customWidth: width,
feedCount: feedCount,
useCut: useCut,
useRaster: useRaster,
paperSize: paperSize,
);
_printProcess(byteBuffer);
}