renders first record in PDF format