There are many packages, but as I understand it, you cannot install additional libraries on your hosting. The options will be FPDF if you want to rewrite all the HTML code into blocks, TCPDF if you feel a little less masochistic, which has limited html / css support.
source share