Subscribe

Archive | Web

Getting dompdf to work without errors

Summary: Printing PDFs was not working (getting blank pages) and throwing up “Warning: require_once” errors. Solution: After installing dompdf in sites/all/libraries, you need to install the php-font-lib library and then create a dompdf/lib/php-font-lib/classes/ directory, in which you put the contents of the src/FontLib/ folder. I tried to set up the Print module on Poligo a […]