py-xml-escpos icon indicating copy to clipboard operation
py-xml-escpos copied to clipboard

Add support for QR codes in XML

Open kalmanolah opened this issue 9 years ago • 2 comments

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.

kalmanolah avatar Jul 22 '15 14:07 kalmanolah

+1

verheyenkoen avatar Jul 22 '15 14:07 verheyenkoen

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.

sayaarief avatar Sep 30 '15 02:09 sayaarief