Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[tlug] [tlug-digest] utf-8 printing from command line with OO-- Thanks!



Thanks Maro!!

Your tip enabled me to print stuff in utf-8 from the command line-- I 
was still bumbling around, and I still am determined to figure this out, 
but this is great.

I did have to use oofice, not oofice2. And some of the characters do not 
print, including the ken from e.g. Gunmaken, but other old style 
characters and fancy diacritics are fine. Weird. Back to rereading the 
old TLUG posts to try to get up to speed.

David Riggs, Kyoto

"Maurod Sauco" <sauco@example.com> said:


"The trick is to find a UTF-8 capable text-to-PostScript converter that 
makes the result still look like ‘text’, i.e. monospaced, tabs 
interpreted correctly, and with boxes made by means of ‘box draw 
characters’ looking OK.

Printing UTF-8 files using Open Office:

# ooffice2 -p YourFile
or
# ooffice2 -pt YourPrinter YourFile

This will not start openoffice just postscript and print your file to 
the default printer.
You can configure printing options with

# oopadmin2

Unfortunately openoffice does not accept text from stdin so you'll need 
a wrapper if you want to pipe to it.
Of course you can use iconv to print other encodings.

Of course there are other alternatives, like paps,uniprint or a2psj, 
but this one look pretty good too.

//mauro//"




Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links