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)

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)

Hi - did you ever solve this - how to add the send email to a header.