Open GoogleCodeExporter opened 9 years ago
I'm sorry about the confusion,
you also need to install python-imaging and pyserial.
I've updated the wiki accordingly.
Thank you.
Original comment by manpaz
on 11 Oct 2013 at 2:33
It still doesn't work properly. "pyserial" is not in the Pi's repository, so I
built it from source like the other packages. It at least prints a hello world
now, but barcodes only print the text portion. Images print garbage ASCII, and
QR codes throw an error.
The line:
Epson.qr("You can read me from your smartphone")
results in the error:
Traceback (most recent call last):
File "test.py", line 8, in <module>
Epson.qr("You can read me from your smartphone")
AttributeError: Usb instance has no attribute 'qr'
This is after manually installing the python-qrcode package, and the
python-imaging package.
Original comment by jx2DITIv...@googlemail.com
on 11 Oct 2013 at 10:41
Do you mind to tell me which version of python-escpos are you using?
Original comment by manpaz
on 12 Oct 2013 at 12:10
It's version 1.0-1
I also tried version 1.0
Original comment by jx2DITIv...@googlemail.com
on 12 Oct 2013 at 1:31
Hello,
I've got the same error message AttributeError: Usb instance has no attribute
'qr'.
I have search and it comes from the version of python-escpos, I've used the
1.0, so QR code method are available with the package 1.0-1.
I have updated the version of python-escpos and everything is working well as :
Epson.qr("You can read me from your smartphone")
Hope it will help you
Regards
Ben
Original comment by bennyboo...@gmail.com
on 12 Jan 2014 at 10:54
Original issue reported on code.google.com by
jx2DITIv...@googlemail.com
on 11 Oct 2013 at 5:15