<br><br><div class="gmail_quote">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><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>
<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>Yep that's it, nothing unusual there.</div>
<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>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><div>Peter.</div><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><br>