Improve print_limitto, rename to print_up_to