py-xml-escpos
py-xml-escpos copied to clipboard
Print XML formated receipts on ESC/POS printers, in Python.
Using Python's builtin logging module is better than calling `print`, and it is much better than printing stacktraces on the device ;)
Hi, py-xml-escpos has a MIT license shared between Frederic van der Essen and Manuel F. Martinez. But I found https://github.com/python-escpos/python-escpos which also has Manuel F. Martinez as author but under...
DESCRIPTION.rst is required to be packaged because setup.py read it to set the long_description. Other files LICENSE.txt and README.md are always good to have in the package.
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...
Fix for issue #7
If you print image with 2 or 3 channels, it fails Traceback (most recent call last): File "test_print.py", line 5, in p.receipt(receipt) File "/home/ubuntu/venv/local/lib/python2.7/site-packages/xmlescpos/escpos.py", line 699, in receipt raise e...
Modifying interface discovering mechanism to be able to communicate with Citizen Thermal Printers, tested on Citizen TZ30 M01.
I am getting the following error while printing through Network class from xmlescpos.printer import Network printer = Network(printer_ip, 9100) printer.receipt("< div >Hello World!") Traceback (most recent call last): File "",...