it seems hard to read in my previous post but the syntax is “dash dash headless” (–headless) “dash dash pt” (–pt). Alternatively a dash p (-p) prints the the default printer.
If this helps, I use a copy of LibreOffice to do the printing because I can call it from the command line.
soffice.exe –headless –pt LaserJet1320 “C:\temp\filetoprint.docx”
the headless option runs LibreOffice without the user interface. In LibreOffice 5.3 there is documentation for the C++ API here http://api.libreoffice.org/docs/cpp/ref/index.html
Regards Mark
Hi Eric,
Thanks for the update. That is very exciting news, would that mean that any docx could also be imported into the document?
For the time being I am de-constructing the text block in SQL code into individual lines then re-building it in the document as a Repeat Select. It is not perfect but it works. Please let me know when you are likely to start work on this feature.
Regards Mark