call print dialog "Document handling" Form

Hello Devs

I’m trying to add a button to the attachments form (Document handling) so that if there is a file attached to the record, it will print it directly (screen, printer, email, …etc) without viewing it.

how to achieve that?

Thank you

any suggestions?