py-xml-escpos
py-xml-escpos copied to clipboard
Add support for QR codes in XML
I've added support for QR codes, since the initial code didn't seem to have it implemented completely. QR codes now work a lot like barcodes, meaning the qr
function also prints them, and you can use the <qr>text</qr>
tag in XML.
+1
Hi there, i'm trying to generate qr code using the qr tag, but nothing shows up on the receipt. No problem for ean13 barcode.
Any idea why this happening?
No worries, manage to solve it.
Need to add the elif elem.tag =='qr' in escpos.py, to trigger the qr method.
Thanks guys.