PDF generation

Your Silverstripe Cloud environment can be installed with wkhtmltopdf which allows you to convert HTML into a PDF document.

To install wkhtmltopdf, add the following to your .platform.yml file:

packages
  wkhtmltopdf: {}

After you perform a full deployment to apply the updated wkhtmltopdf, the binary will be available using the path /usr/local/bin/wkhtmltopdf. Further information can be found by reading the wkhtmltopdf documentation.

This feature is provided on an as-is basis and support is limited.

Was this answer helpful? Yes No

Sorry we couldn't be helpful. Help us improve this article with your feedback.