Hi, I have experience with twig, also readed the documentation of tcpdf and fpdi . I'm usually building custom solutions like this.
So I think you want a scripts that is using twig templates to generate dinamic contentent and convert them to PDF. I am correct? I've done this before to generate custom emails using twig.
Let's discuss more.
Regards,
Andy.