Hello Cristina,
You must show the printed ticket at the entrance gate. Cusco is prepared for Machu Picchu visitors, you will be able to print your tickets at the airport upon arrival, at your hotel in Lima or Cusco, etc. It will be OK, don't worry, everything is organized for that.
Best regards,