add print_buf2 to print ascii code for buffer