Script to print a PDF

Discussion created by sherab4 on Feb 19, 2017
Latest reply on Feb 20, 2017 by monkeybreadsoftware

I have a layout that shows our Newsletters in an Interactive Container. In the header of the layout I want a button the allows the newsletter to be printed directly from the layout. I also have a button to download the PDF which works. Am I correct in assuming I would need a SetVariable script to be able to print directly from the layout without having to download the PDF. If so can you please provide me with an example of the script required.