brother_ql icon indicating copy to clipboard operation
brother_ql copied to clipboard

Usage example for Linux, using network discovery

Open StefanHamminga opened this issue 8 years ago • 1 comments

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

StefanHamminga avatar Dec 22 '16 14:12 StefanHamminga

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".

pklaus avatar Sep 17 '17 20:09 pklaus