Printer
Printer copied to clipboard
Wrong image on Ticket - horizontal white lines
When I print an image on ticket I get this result. How can I solve this?

With the image with smaller size you're gettin' the same result?
This result is on Epson TM-T20 III if I use another brand works correctly. The image on Epson is stretched. In fact if you look my uploaded image should be a square but the height is wrong
Printer has been rewrite.
select Mode to double width& double height
let receipt = Receipt(.🖨️58(.ascii))
<<~ .style(.initialize)
<<< Image(cgImage, mode: .doubleWH)
<<~ .page(.printAndFeed(lines: 1))
Image(cgImage, mode: .doubleWH) is key code.