Print Button
Question: Can anybody give me a hint on how to make the snake-label webif expose a print button that lets me directly print the converted png.
I have a server with brother-ql, brother-ql-web and snake-label running. instead of dumping the file to a folder after converting and downloading , and waiting for my daemon to print it, i would love to have a print button next to the "save" button that directly prints the png on my brother label printer.
Can anybody give me a small hint on how i could transfer the file and print it "on click". (i should be able to implement this myself.) maybe execute a post request to the brother-ql-web api with the image as attachment anyway thx, and great project!
This is a few years old, but I'm also very interested in the solution. Did you find one?
Just leaving some thought here for later me:
Maybe we can use the rendered image and throw it against the brother-ql-web API endpoint for image printing.
Found some fork that provides it nicely:
https://github.com/FriedrichFroebel/brother_ql_web/blob/46d6fd224a2135052e1ad2de1dcf760de3552dce/brother_ql_web/web.py#L166