Texts as evidence

How text messages are printed, authenticated, numbered and handed to a lawyer or a court.