Add support for printing different templates for different tickets