Page MenuHomePhabricator

Add w2khtml pdf generator to CiviCRM server
Closed, ResolvedPublic

Description

CiviCRM uses a pdf generator that is basically pretty rubbish & runs out of memory

CiviCRM supports use of a better one -
" wkhtmltopdf is an alternative utility for generating PDF's which may provide better performance especially if you are generating a large number of PDF letters or receipts. Your system administrator will need to download and install this utility, and enter the executable path here."

but it needs to be installed on the server - from https://wkhtmltopdf.org/ (& we provide a path to the excutable)

@Jgreen @cwdent - can we add this?

Related Objects

Event Timeline

There are Debian packages for this, none look terribly new:

Jessie 0.12.1-2
Stretch 0.12.3.2-3

civi1001 is Jessie, so it would be simplest to install 0.12.1 -- would that do the job ok? Otherwise we can look into backporting a newer version.

I think that would be fine - we've been using this for years on non-wmf servers so must have been using old versions

I think that would be fine - we've been using this for years on non-wmf servers so must have been using old versions

Ok this is done for civi1001 and frdev1001, as well as the backup civi machine at codfw. I'm closing the task, please reopen if the package doesn't work as expected.