Functionality of printing to html up and running