kjy00302 / niimprint

(WIP) Niimbot printer client. Tested on D11.
MIT License
90 stars 46 forks source link

Question: Printing multiple files #5

Open yasoomn opened 1 year ago

yasoomn commented 1 year ago

Firstly, thank you for working on this. So far, this has been the only way I found to bypass the niimbot official software.

I would like to use it and integrate it into a script for printing multiple labels at once. Is it possible to pass multiple files to niimprint at once, so it prints it all in a batch? I feel like issuing the commands each at a time would result in it connecting and disconnecting to the printer for every label, which takes more time than necessary.

AndBondStyle commented 11 months ago

Hypothesis: on the OS level bluetooth device stays connected, and the script just creates a socket to communicate with it. So it shouldn't be any overhead from running the script multiple times or in a loop.