Added window.print() call to the web printer class