Error printing to pdf
Based on replies here this is the solution.
Hosting support assured me:
Package alt-php72-xml-7.2.20-2.el6.x86_64 already installed and latest version

Then I enabled wordpress debugging, and found that the package 'GD' was required, so I enabled that in cPanel. PDF printing is now working!