Transitioning to a New HTML to PDF Converter: A Deprecation Notice for WKPDF generator

We're reaching out to bring to your attention some crucial changes happening with our HTML to PDF conversion system. We have chosen to deprecate the old wkhtmltopdf, the default built-in HTML to PDF converter, as part of our ongoing efforts to modernize our technology stack and provide better performance to our users.

Why the Change?

While WK-PDF has served us well over the years, it has its limitations that we can't overlook anymore, especially in the context of evolving web standards and browser technologies.

To improve the fidelity of our PDF rendering and offer support for modern web technologies, we have decided to move to a new HTML to PDF converter based on Headless Chrome. Headless Chrome has several advantages over wkhtmltopdf, including better support for modern HTML and CSS, more accurate rendering, and a more active development community.

An added advantage, and a significant one at that, is the convenience it brings to testing output. With the new system, you can easily validate your PDF output using the "Print to PDF" option in Chrome. The transition to a Headless Chrome-based converter ultimately paves the way for a more intuitive and streamlined development workflow.

What Does This Mean for You?

Starting from the date of this announcement, we will begin the transition phase to the new converter. While the transition is in progress, both systems will run in parallel. However, we encourage all developers to begin testing their PDF templates with the new chrome engine as soon as possible.

It is really simple to switch to the new generator, simply add this line to the top of your output:

<!-- ChromePDF -->

More options on the help site:
https://developers.docly.net/JavaScript-examples/Binding/Force-Chrome-Headless-PDF

Deprecation Timeline

At the latest by the end of 2023. You will get contacted and notified by email with all list of all your files that are impacted.