snake-label icon indicating copy to clipboard operation
snake-label copied to clipboard

Print Button

Open gusman80 opened this issue 5 months ago • 2 comments

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!

gusman80 avatar Jul 23 '25 15:07 gusman80

This is a few years old, but I'm also very interested in the solution. Did you find one?

socram70 avatar Sep 20 '25 20:09 socram70

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

MaxWinterstein avatar Nov 01 '25 16:11 MaxWinterstein