Generate PDF in Arachni Web Application

I am a college student working on a senior capstone project where I have to create a generate PDF function for the Arachni Penetration-Testing Web Application conceived by code author Tasos Laskos. The function has to generate a PDF report that looks like the HTML report. A lot of the tutorials and tips I have researched only involve generating text-based PDFs. I have used WickedPDF and PDFKit to make the attempt of generating the content of the HTML report into a PDF report, and nothing is working. It has been almost two months now, and I have had no success with fulfilling this task. Is there anyone out there who is familiar with the Arachni application and can give any advice on how to implement a generate report PDF function for it?