I currently have a SharePoint 2013 Online account and I’m looking to add a ‘Print to PDF’ button for some lists and add it to the ribbon.
Do you really need such button? Many browsers already support Print to PDF locally.
By using “@media print” which is a media query that works since SharePoint 2003 you are able to define what should be printed.