Page 1 of 1

Custom Output document generator

Posted: Fri Feb 08, 2019 1:38 pm
by touhamm
Hello there,

We have a process where we collect a lot of information that are compiled in a couple multi-page output documents needing to have a particular layout. Namely, the company header, footer, official formatting, etc.

Currently TCPDF and HTML2PDF do not the job. The result does not match what is in the designer, most CSS is dropped and has many other isssues. In other projects we use wkhtmltopdf which prints documents as intended.

So, how can I implement my own wkhtmltopdf based generator and ideally submit my contribution upstream?

Re: Custom Output document generator

Posted: Fri Feb 08, 2019 8:43 pm
by amosbatto
To customize Output Documents, see my post about it:

If you have code to share, you can post it at
You can also file a bug report at, but the developer team is focused on version 4.0, which has a totally different code base, so don't be surprised if they don't incorporate your code.

Re: Custom Output document generator

Posted: Sat Feb 09, 2019 12:06 pm
by touhamm
Thank you for your reply.

I haven't had the opportunity to read the other post in full to get clues about what I want to achieve.

Precisely, I only need a few pointers to get to building my own document generator. In other terms, I want to be able to add a third entry called WKHTML2PDF in the output section along side HTML2PDF and TCPDF.

The bugs I am encountring are not related to ProcessMaker but to TCPDF.