pklaus / brother_ql

Python package for the raster language protocol of the Brother QL series label printers (QL-500, QL-550, QL-560, QL-570, QL-700, QL-710W, QL-720NW, QL-800, QL-810W, QL-820NWB, QL-1050, QL-1060N and more).
GNU General Public License v3.0
547 stars 156 forks source link

deprecation warning: brother_ql.devicedependent is deprecated #108

Open planetar opened 3 years ago

planetar commented 3 years ago

I just discovered this very useful project and am still finding my ways through it. From the readme.md I understand that there are legacy command line tools, such as brother_ql_create, brother_ql_print, brother_ql_analyze which still work but are deprecated now.

I call the program like: brother_ql print -l 62 $path$file

which prints the label nicely and prompt. However, on the cli I receive a warning with every single call:

deprecation warning: brother_ql.devicedependent is deprecated and will be removed in a future release

This sort of irritates me, is 'brother_ql' deprecated too? How can I call the program and avoid getting those warnings?

raspbian on raspberry 2 brother_ql --version deprecation warning: brother_ql.devicedependent is deprecated and will be removed in a future release brother_ql, version 0.9.4

fnellen commented 2 years ago

I am also getting this message while running: brother_ql -b pyusb -m 'QL-570' -p usb://0x04f9:0x2028 print -l '62x29' voucher.png Is it an error or only a warning?

FriedrichFroebel commented 1 year ago

This is just a warning which has been reverted, but as there has not been any official release, this will only disappear if you install from Git: https://github.com/pklaus/brother_ql/commit/5c2b72b18bcf436c116f180a9147cbb6805958f5