The PHPRunner program already has a PDF generation script built in which, when it works properly, presents the user with a PDF of the record formatted properly. I'm trying to simplify things a bit more, however, by providing an "E-mail this record" button that, when clicked, will convert to PDF or simply copy the displayed HTML, wrap it into an attachment and prepare it for emailing (or just simply pull the email address out of the field in the record and automatically send that email to the customer. An HTML formatted email would be ok as well as I can send an HTML email. The problem is the coding or scripting to process that information and format the message or PDF the same way it appears on the screen. As one can tell, I'm not too versed with coding very much and haven't written any of the existing code on my own. I have tried to adapt the code that PHPRunner uses to generate the PDF view of the record but I'm getting lost in the coding and can't fully decipher everything that is included in the PHP file that PHPRunner generates and uses to generate the PDF view of the record. I'm not sure if all hope is lost or if there just isn't a way to do everything I want to. Currently, the user can generate the PDF, download it, and attach it to an email with their locally installed email client; I'm just trying to make it more seamless to send the customer their electronic copy of the record and sort of automate most of the process. Additionally, for informational purposes, the PHPRunner program uses FPDF to generate the PDF view of the record. Also, the users are all using Google Chrome as the web browser and, as such, can use the "Print" command to save a PDF copy manually then manually email the record.