board_print_custom: construct a string and print it in one