Eliminating repetitive tasks in print-on-demand process