scan_print_error