How to add button to PDF Report header

I want to put a send mail button on the PDF header and cannot figure out how to do that. (Might also want a payment button)
image

hello,
read my attachement, and maybe it can help you,
this sample is for quit, but you can modify or add code for mail, or another …

modal_close.txt (1.7 KB)