+ Start a Discussion
sandeeep kobakusandeeep kobaku 

I need to Print Attachments with LWC when they hit Print Button

Trying to print attachments -  PDF and Image. I created the LWC component. I developed a Lightning data table to get a LIST of attachments related to the case and gave handle row action added PRINT button It is working if I have one page and It is not working when it has more than one page. If I have more than one page still it will be printing only one page!! How to get all pages to Print.
User-added imageUser-added image
Check this: https://developer.salesforce.com/blogs/2019/07/display-pdf-files-with-lightning-web-components