preview and print