Added feature to show the print preview inline in the browser