Generator: fix generator issues.

We used the KnpSnappyPdf generator to immediately generate the PDF. We
first need to generate the proper output through CSS/JS. Therefore we
should use the internal getOutputFromHtml call.