Douglas Allan Tutty wrote: > Have you tried LaTex? Sure a .tex file starts with a preamble > but you could have two files head.tex (preamble) and tail.tex > (\end{document}). Then cat head.tex file.txt tail.tex > > file.tex, then latex file.tex then dvips file.dvi. Then you > have your file.ps.
> Once this all works, write a script that takes your file.txt as > an argument and gives you file.ps. All without X. This will work if you have a Unicode-aware TeX, but why so complicated? paps (apt-get install paps, in Etch since April last year) just allows you to say paps [font options] < test.txt > test.ps. If you put paps into your lprng input filter, you can just say lpr test.txt or cat test.txt|lpr (if your basic print system understands PostScript; normally it does, either natively or through ghostscript). Completely transparent; Unicode (UTF-8) is printed just as if you were pushing bytes to an ASCII printer, but with the whole Unicode charset available. And of course also without X. Very fast, very neat prints, for Unicode and for ASCII (because ASCII is a subset of UTF-8), so it can replace your normal ASCII print setup. Regards, Jan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]