How to give command for printer to print directly from Node-Red nodes?

Maybe this thread may help Printing from NodeRed
There are many more if you search the forum.