Print a Template content (Text + QRcode)

Hello,

Following an action, I generate within a Template a QRcode. Then, I would like to Print the content of this Template (text + QRcode).
What would you suggest?

Thanks in advance,
Olivier.