I'm currently working on designing a label for a dashboard, and I need this label to be printed via a printer when a command is triggered. The printer will either be installed locally on a Windows machine or accessible over the network.
As I'm new to Node-RED, I would really appreciate some guidance on how to get started and what the overall flow should look like. Any help or suggestions would be greatly appreciated.
I’m reading this forum since many years and never have read anything close to what you plan to achieve. There is most probably no ready made solution. Building blocks might be:
create a PDF file with the content
send it to a client which handles the Internet Printing Protocol connected to the printer
You can use the window.print() function from within a template node. Just create a popup window, populate it with whatever you wish to print, and then send it to the printer. For example: