1

Is it possible to inject JS code that triggers the PDF printing dialog to be displayed as soon as the document opens? If so, could you please direct me to the documentation?

2

I have managed to find the solution here:

http://www.fpdf.org/en/script/script36.php

3

just look at the example JS1 : http://html2pdf.fr/example
Ancien pseudo : lolo