Dividni & Other Packages
wkhtmltopdf as installed via apt-get from the normal package repository may be missing a qt patch, which prevents the printing of headers and footers.
Workaround: Install from the packages at
https://wkhtmltopdf.org/downloads.html
using wget
and dpkg -i
on the
command line. E.g.:
wget
https://downloads.wkhtmltopdf.org/0.12/0.12.5/wkhtmltox_0.12.5-1.bionic_amd64.deb
dpkg -i wkhtmltox_0.12.5-1.bionic_amd64.deb
If dpkg complains about missing dependencies, install these with apt-get. E.g.:
apt-get install xfonts-75dpi
The MacOS 10.6 package downloadable at PDFLabs does not work with MacOS 10.11 and above. Install instead https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/pdftk_server-2.02-mac_osx-10.11-setup.pkg linked to from StackOverflow.