> ooffice -p <file>
On my system OpenOffice 1.1.3 and 2.0 are installed but there is 
no script ooffice anywhere. The program to start is called soffice 
but it does not handle a -p option.
Which script do you refer to?

> The user interface does not come up, so it is reasonably fast. The 
> print results are very nice.
> ...
> I called this script ooprint, and can now print arbitrary UTF-8 
> text files by just piping them into ooprint.
I tried to find a reliable and decent UTF-8 printing interface for 
use with my text mode editor mined (http://towo.net/mined/), but 
the situation appears to be very unsatisfying:
* I have never succeeded printing UTF-8 with lpr/cups.
* I tried to use the internal cups filter texttops directly but it 
  only seems to print ASCII (not even Latin-1). As it is completely 
  undocumented, I'm stuck.
* I tried uniprint from the yudit package. It produces nicely looking 
  output but fails on some Unicode features, e.g. combining characters 
  or right-to-left.
* Then I found the paps program 
  (http://imagic.weizmann.ac.il/~dov/freesw/paps/).
  It provides the best coverage of Unicode features.
  It needs Pango installed and font configuration needs to get 
  accustomed to (and if you need to install Pango yourself and are not 
  root, you'll have a lot of trouble installing and configuring paps).
  Unfortunately, although it covers Unicode better than uniprint, its 
  typographic qualities are lower, some spacing problems, resolution 
  depedency...

My findings resulted in the script uprint which is part of my mined package.
The script tries to print with paps if available, or with uniprint otherwise.
I'd like to add ooffice as an option if that turns out to work.

Kind regards,
Thomas Wolff

--
Linux-UTF8:   i18n of Linux on all levels
Archive:      http://mail.nl.linux.org/linux-utf8/

Reply via email to