There is a HTML 2 LATEX application out there.<div><br></div><div>You can build latex in any language, its markup like HTML but unless you want it to look like a Donald Knuth book you have to work with the styles. I have worked with outputting to latex (or .tex) and then to print format. Most printers happily accept postscript which latex also does.</div>
<div><br></div><div>If I were you I'd experiment with a few mark up languages, starting with the one you are most familiar with mocking up a template filled with good old lorem ipsum as a filler where you want your text/data and see how printing that goes. I know HTML prints fine with good style sheets from within chrome/firefox so I assume that something could print it happily from the command line.</div>
<div><br></div><div>I have just seen PPML: <a href="http://en.wikipedia.org/wiki/PPML">http://en.wikipedia.org/wiki/PPML</a></div><div><a href="http://en.wikipedia.org/wiki/PPML"></a>from google but can't see any OSS software for it. </div>
<div><br></div><div>It might also be worth looking into mail merge type applications.</div><div><br><div class="gmail_quote">On 14 February 2011 18:38, Peter Childs <span dir="ltr"><<a href="mailto:pchilds@bcs.org">pchilds@bcs.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br><br><div class="gmail_quote"><div class="im">On 14 February 2011 16:26, David Halliday <span dir="ltr"><<a href="mailto:david.halliday@gmail.com" target="_blank">david.halliday@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
<div>What is your document produced from? </div><div>Do you need to output to PDF/print specifically? </div></blockquote></div><div><br>Yes Print, Its not really web based, but PDF is the format cups works in. Its template based (in this case Invoices) basically I need to put loads of "data" on to "forms"<br>
</div><div class="im">
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex"><div><br></div><div>Presumably an automatically produced document will contain:</div><div>logo,</div>
<div>boilerplate text,</div>
<div>Perhaps a custom paragraph (or mixture of them),</div><div>Table of data (perhaps from a database or other location)</div><div><br></div></blockquote><div><br></div></div><div>Yep that's it, nothing unusual there.</div>
<div class="im">
<div> </div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex"><div></div><div>If this is the case then any (scripting) language you like can take the input and mix it with logo/boilerplate text and template file and spit the output to a file (in any mark-up you like). Then you just need to render that mark-up and print it.</div>
<div><br></div><div>If you particularly want to print something that looks like a latex document then you can use latex, otherwise you might be better off producing HTML or any other mark-up language you are familiar with.</div>
</blockquote><div><br></div><div><br></div></div><div>This issue is html does not work well on paper..... as you suggest latex works well for latex like docs and not much else, I'm wondering if I can do the job with something like iText.....</div>
<div> </div><div>Would use ODF if ODF came with a light weight method to print it (other than loading the whole bloat of OpenOffice)</div><div><br></div><font color="#888888"><div>Peter.</div></font><div class="im"><div>
<br></div><div><br></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
<div><br><div class="gmail_quote"><div><div></div><div>On 14 February 2011 16:15, Peter Childs <span dir="ltr"><<a href="mailto:pchilds@bcs.org" target="_blank">pchilds@bcs.org</a>></span> wrote:<br></div>
</div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex"><div><div></div><div>
I'm looking for a method of automatically producing documents.<div><br></div><div>Latex looks like the ideal option, but I really would like a good GUI and I'm afraid most of the GUI don't produce Tex but produce there own format that then gets converted to Tex. And I want more control over actual output than Latex really provides. (Unless there is some way of providing a style sheet to Latex to get it right) </div>
<div><br></div><div>I could do the job in odf but OpenOffice is too bloated to print the documents in bulk, If there was a odf2pdf cups filter so cups can just print odf (Says he having checked cups already)....</div><div>
<br></div><div>Or I need something else,</div><div><br></div><div>Any ideas?</div><div><br></div><font color="#888888"><div>Peter. </div>
</font><br></div></div>_______________________________________________<br>
Kent mailing list<br>
<a href="mailto:Kent@mailman.lug.org.uk" target="_blank">Kent@mailman.lug.org.uk</a><br>
<a href="https://mailman.lug.org.uk/mailman/listinfo/kent" target="_blank">https://mailman.lug.org.uk/mailman/listinfo/kent</a><br></blockquote></div><br></div>
<br>_______________________________________________<br>
Kent mailing list<br>
<a href="mailto:Kent@mailman.lug.org.uk" target="_blank">Kent@mailman.lug.org.uk</a><br>
<a href="https://mailman.lug.org.uk/mailman/listinfo/kent" target="_blank">https://mailman.lug.org.uk/mailman/listinfo/kent</a><br></blockquote></div></div><br>
<br>_______________________________________________<br>
Kent mailing list<br>
<a href="mailto:Kent@mailman.lug.org.uk">Kent@mailman.lug.org.uk</a><br>
<a href="https://mailman.lug.org.uk/mailman/listinfo/kent" target="_blank">https://mailman.lug.org.uk/mailman/listinfo/kent</a><br></blockquote></div><br></div>