CONTRIB-4089 - Changed usage of TCPDF to PDF

The PDF class extends the TCPDF class, so the same functionality is accessible.