Thank you for that help – now the variables are being passed into the page rendered by the customized template.
But, although the page looks correct on the screen, there is no pdf file being generated, and this error is appearing:
mPDF error: Some data has already been output to browser, can’t send PDF file.
Do you any ideas about this?
thank you.