How to add a custom button on the right of subpanel in Account Module

Hello Everyone, I just wanted to ask your help if anyone knows how to add a custom button on the right subpanel.

I want to add a Print to PDF button there that will call the PDF Template under the Account modules.