How to print AdvPanel HTML?


I am showing some information as HTML text on TAdvPanel and I would like to print it.
Is there an easy way?
I know I can print panel canvas, but it takes also background and I would like to have simple HTML on white background like a document.

The HTML text can be retrieved via Advpanel.Text.Text: string;

There is at this moment no built-in function though to print this HTML text. You could import this text in TAdvRichEditor and print it via TAdvRichEditor.