What's your reason for wanting to do this?
If its a small number of tickets you would just go to them and click print. (which would print the ticket to pdf and include the thread)
If you're looking to migrate your tickets from one platform to another then you would need to query the database directly to pull the data that you want and format it into the expected format for the new system. You would be on your own to do something like this.