Closed DoktorJ closed 5 years ago
@DoktorJ Any success with this?
Nothing yet :(
Dear socmov and DoktorJ,
thanks for reporting the stacktrace. This seems to be an issue with the latest release of brother_ql. As I will be away from label printers and a computer with a proper keyboard for one more week, I'll not be able to fix this now. But there should be a workaround:
Install the older release of brother_ql:
pip install brother_ql==0.8.6
Please let me know if you need further advice.
Yours sincerely, pklaus
Thanks @pklaus . That worked. Thanks for the great work on this.
I'll try this in a bit... right now I just have my Pi set up as a generic print server, sharing the label printer as a regular printer (using Word templates to handle "page" formatting so it results in actual labels).
The new release v0.9.2 is now out containing the fix for this issue: https://github.com/pklaus/brother_ql/releases/tag/v0.9.2
fixed: convert() failed when supplied with PIL.Image instance instead of image filename (#39) 4ac1c76
So you can now simply upgrade brother_ql to the latest version with pip install --upgrade brother_ql
and it should work.
@DoktorJ: How did you set up the printer driver on the Raspberry Pi? With printer-driver-ptouch (bitbucket | debian | openprinting)?
I have been able to successfully print PNG images using the
brother_ql
CLI; however, when attempting to print using brother_ql_web, I see the following error on the webserver:The web interface unhelpfully reports
I was initially running Python 3.7.0 (manually built/installed) in Raspbian 8.0, on a Raspberry Pi 3 model B. Since the sole purpose of this Pi is to be a print server, I re-flashed it with the more recent Raspbian 9.0, and tried running with the stock Python 3.5.3, but still get the exact same error.
If you need any further information please let me know.