<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Another way of seeing is to generate and odt file with the
generated text.</p>
<p>You get a slightly better rendering because I could defineĀ
Courier New as default font in the new template:
FileVirtualTree_txt_to_odt.odt<br>
</p>
<p>From the OpenOffice "File" menu, you can generate a pdf file.</p>
<p>There is a way too, to execute LibreOffice/OpenOffice from
command line to convert directly the odt to pdf.</p>
<p>I have some code for this at
<a class="moz-txt-link-freetext" href="https://github.com/jsuzineau/pascal_o_r_mapping/blob/master/OOo/uOD.pas">https://github.com/jsuzineau/pascal_o_r_mapping/blob/master/OOo/uOD.pas</a>,
in methods<br>
- <span class="pl-k">function</span> <span class="pl-en">TOD.Executable_soffice</span>:
String;<br>
- <span class="pl-k">function</span> <span class="pl-en">TOD.Format_Sortie_from_</span>(_Nom_ODT:
String): String;<br>
-<span class="pl-k"> function</span> <span class="pl-en">TOD.PDF_from_</span>(_Nom_ODT:
String): String;</p>
<p>but it can't be used as is for the current case.<br>
</p>
</body>
</html>