The image cannot be printed completely
fecherwu opened this issue · 1 comments
fecherwu commented
codewithshinde commented
Try this :)
device.open(function() => {
const noLineSpacingCommand = Buffer.from([0x1b, 0x33, 0x00]);
device.write(noLineSpacingCommand);
printer.raster(image);