select coding for print_xy