Printing tt to pdf.