print_screen function