how to pass the p " print button " to an app
Not sure what exactly you need but there is activity called “SendHotkey” where you can pass most of the keys including print (Alt+p).
Are trying to say print screen or just usual print shortcut Ctl+p .
then it would be like Alt+Ctl+p.
in SendHotKey you have to enter “P” character as small character with double quotes(“p”).
Try this way… it will work.
hope my inputs are useful.