[SalesForce] Use Quote ‘Create PDF’ Button Programmatically

I recently have a client that wants the Email Quote functionality. However, in order to use that functionality, I need to create a Quote PDF.

I know I can create my own PDF, generate an attachment, then send it out as an e-mail. However, I would like to at least try using Salesforce's Quote PDF functionality to maintain consistency and above all else, having me write two templates.

TL;DR
Is it possible to programmatically use Salesforce's Quote PDF functionality? If not, is there a way to at least generate a PDF that will be in the Quote PDF related list?

Best Answer

You can either create an addition custom button for another custom PDF quote template as you've suggested or a custom button code to attach the existing template to an email. See Apex & VF Code of Send Quote as E-Mail for more.