Print Buttom that simulate ctrl+shift+P (when want to use system print dialog)

I have to made a buttom that simulate keyboard event to print the content(PDF) inside my iframe. 

I need to open my program in Microsoft Edge and the regular print buttom(I think's from acrobat reader) provided to print PDF in Edge it's gave me some config problems, but when I'm using "system print dialog"(ctrl+shift+P) to print that works fine. 

Have some JS function or similar to do this? (window.print() don't solve my problem)

Thanks 

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.