Get Sales Order Template (PDF) and send to printer via Custom Button
Hi,
I'm trying to click a custom button which sends a specific PDF template to a printer but I'm stuck!
The API documentation says it's possible but I'm unsure how to implement.
Any help appreciated
-----------
Code I have for the PDF after I've set the correct template is below. I just need to figure out how to send the PDF file to print
API Docs Screenshot