Open KansV3Cube opened 4 years ago
I got same issue :( Have you found solution?
Printer
framework has been rewrite.
can you help testing qrcode&image command?
let receipt = Receipt(.🖨️58(.ascii))
<<~ .style(.initialize)
<<< QRCode(content: "https://g.cn")
<<< Image(cgImage)
Hi is there any way to Print Arabic langauge?
@KevinGong2013 How to print arabic Langauge if coming from server?
public extension String {
struct ArabicEncoding {
public static let windowsArabic = String.Encoding(rawValue: CFStringConvertEncodingToNSStringEncoding(CFStringEncoding(CFStringEncodings.windowsArabic.rawValue)))
}
}
let receipt = Receipt(.🖨️58(String.ArabicEncoding.windowsArabic))
While printing image getting this error and application crashed.
Please help me out