There is an alternative ferrum_pdf that is not based on wkhtmltopdf, which has not been developed for a long time and creates a number of problems for installation on most modern repositories. It's like a sip of water in the desert. But it's perfect for creating PDFs and screenshots of static pages.