Thanks @hamoid, this approach seems interesting, will try to render a pdf from this and let you know.