Fixed the HTML printer