I have a MVC website that process transactions, and then renders a page with the transaction information as an invoice.
And i have an option to print the page as the receipt.
The invoice is nicely styled with bootstrap and more custom styles,
I was asked to make an option to email the invoice to the email on the transaction
now my question is, if there is a way to render the page on the server as a PDF, and email it without returning the page to the client,
Also if its possible, i will need to make the PDF with the print CSS styles applied, because there is a lot of stuff that is hidden on the page at print.