brother_ql
brother_ql copied to clipboard
Usage example for Linux, using network discovery
Hi Philipp,
Great work on this set of utilities, they work like a charm on my Brother QL-720NW. I've created a tiny Bash function that combines your tools and Avahi into a single command to print a PNG (or similarly readable) image to a networked label printer. Feel free to include it or parts of it in your documentation.
The snippet:
https://gist.github.com/StefanHamminga/bb90fb318f87af5469a6e9ac46eab328
Thanks Stefan for the snippet. A good idea, to use Avahi to discover the printer. It's nice to see how you are using the package in your workflow.
I'm currently considering to use SNMP for a built-in discovery. The advantage would be that status requests (containing the loaded label type) could also be fetched from the device via SNMP, thus "killing two birds with one stone".