print_line rountine