Hi,
Not able to print Image and Qr code, it's working fine for text
i am using Printer Panda PRJ-R80B,
here's the code
let receipt = Receipt(.init(maxWidthDensity: 500, fontDesity: 12, encoding: .utf8))
<<~ .style(.initialize)
<<< Image(cgImage)
<<< QRCode(content: "https://www.yuxiaor.com")
<<~ .page(.printAndFeed(lines: 2))
if bluetoothPrinterManager!.canPrint {
bluetoothPrinterManager!.write(Data(receipt.data))
}
dummyPrinter!.write(Data(receipt.data))
and this is the output I get

Please help me,
Thank you
Hi,
Not able to print Image and Qr code, it's working fine for text
i am using Printer Panda PRJ-R80B,
here's the code
let receipt = Receipt(.init(maxWidthDensity: 500, fontDesity: 12, encoding: .utf8))
<<~ .style(.initialize)
<<< Image(cgImage)
<<< QRCode(content: "https://www.yuxiaor.com")
<<~ .page(.printAndFeed(lines: 2))
if bluetoothPrinterManager!.canPrint {
bluetoothPrinterManager!.write(Data(receipt.data))
}
dummyPrinter!.write(Data(receipt.data))
and this is the output I get

Please help me,
Thank you