This may be interesting for list members: Openoffice can be used
as a command-line printer for UTF-8 text files. The command is:
ooffice -p <file>
The user interface does not come up, so it is reasonably fast. The
print results are very nice.
Almost always Openoffice is clever enough to detect that a text
file is UTF-8; to make certain, you can put the UTF-8 Byte Order
Mark in front of the file. I did this by means of a script in
/usr/local/bin:
INFILE=`mktemp /tmp/oopr.XXXXXX`
echo -en "\357\273\277" > $INFILE
cat >> $INFILE
ooffice -p $INFILE
rm $INFILE
I called this script ooprint, and can now print arbitrary UTF-8
text files by just piping them into ooprint.
Regards, Jan
--
Linux-UTF8: i18n of Linux on all levels
Archive: http://mail.nl.linux.org/linux-utf8/