How to add print to pdf functionality while using custom reports

Hello,

Does anyone know how I can create PDF from the custom report. I don't have any idea about how to add custom print to pdf functionality in custom reports.

from the above screenshot have export to word functionality but I want same as print as pdf button then it will fetch all the records which is showing in screenshot as it is.

Thank you