There is an action in Power Automate Desktop for printing a document called Print document. Under no circumstances should keystrokes be used for printing anything. There are always better ways to do it. Even if the Print document action does not work in the way one needs it to (for instance, it doesn't work too well with printing images), a Run DOS command action can easily be used to print a document.
-------------------------------------------------------------------------
If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.
I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.