OK, then you need to work out how to print from the command line on a pi, then you can run that from node-red using an exec node. If you have CUPS installed on your pi to manage your printers then google suggests that is simple using the lp
command. You might have to enquire elsewhere about how to do that if you don't have CUPS installed.