Added print/preview

Added the print/preview initial functionality