+ Start a Discussion
venkat bojjavenkat bojja 

print functionality for Lightning component

Hi Team,
I have a custom lightning component which is implemented for Custom Dashboard. I wanted to print that dashboard,while trying to print it from Google Chrome Browser (Ctrl+p) href tags and headers & footers comming on print page. How Can I Override these things on Chrome browser.
Or we have ltng:out option right, with this we can embed the Lightning component in to vf and we can genarate pdf. Can I have the Code for this customization.
                             Thanks in advance....

Thanks,
Venkat B.
VinayVinay (Salesforce Developers) 
Hi Venkat,

Unfortunately,  functionality to preview a lightning component into pdf is unavailable.

Kindly review below link and vote for this feature.

https://trailblazer.salesforce.com/ideaView?id=0873A000000TsNQQA0

Hope above information was helpful.

Please mark as Best Answer so that it can help others in the future.

Thanks,
Vinay Kumar