add print_batch script from Joel Griffiths