You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's a command to let the printer return the currently loaded label type. It would make sense to use that to only display label options that are currently possible.
The text was updated successfully, but these errors were encountered:
In principle this is correct. Unfortunately, reading the status via Ethernet is not so simple. It works via SNMP (different protocol, different port). As this software is made to be compatible with all three backends in brother_ql (Ethernet, PyUSB, Linux Kernel), a solution should work with all of them.
In addition: How do I know, when to check the inserted labe/tape? Polling continuously? Not sure...
In my opinion the clean way out is to add a command line parameter to brother_ql_web.py where the user can a specify the label size manually, e.g. --default-label-size. If left out, the software could try to query the printer once at startup (if that fails, assume 62mm).
Whenever the web interface is opened then, the dropdown menu would default to that label size.
I now added a command line switch for the default label size in f950735. It still doesn't check the actual label/tape inserted into the printer but allows you to specify the one the web UI should default to.
There's a command to let the printer return the currently loaded label type. It would make sense to use that to only display label options that are currently possible.
The text was updated successfully, but these errors were encountered: