TSP100 is not valid printer name - it is just file name, so when you do "COPY ..." then you only copy ticket.txt to tsp100 .
If you want to send it to printer then use copy c:\ticket.txt \\computer_name\printer_share_name (I am not sure whether you need to share this printer first or not)...