Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Usage example for Linux, using network discovery #12

Open
StefanHamminga opened this issue Dec 22, 2016 · 1 comment
Open

Usage example for Linux, using network discovery #12

StefanHamminga opened this issue Dec 22, 2016 · 1 comment

Comments

@StefanHamminga
Copy link

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

@pklaus
Copy link
Owner

pklaus commented Sep 17, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants