Use the ScreenToPDFAction and pass the container ID, file name, heading and image url to download the pdf.