Mailing List Archive


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

[tlug] Printing Japanese text files



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I learned a way to print Japanese text files, eg created with vi that
some might find helpful.  It requires having openoffice installed.

I was looking at an article about UTF-8 in Linux at

http://www.jw-stumpel.nl/stestu.html

The author mentions that (as Josh has pointed out before) openoffice
translates to postscript.  Therefore, if you don't have a postscript
capable printer (Josh has also mentioned that if you do, you can set the
postscript level to 2 in the CUPS printer configuration dialog) you can
use OO as your postscript converter.  The OO command varies (for
example, in FreeBSD it's openoffice.org, in Ubuntu, I ~think~ it's
ooffice.)  So, in FreeBSD if I have a Japanese textfile, called
nihongo.txt I can print it with the command

openoffice.org -p nihongo.txt

There are of course, other postscript converters, but in my idle
experiments, I haven't found one that successfully converted Japanese in
Unicode or EUC.  The author of the page linked above mentions paps, but
it's not a port in FreeBSD, though I'm sure it could be made to work.


- -- 

Scott Robbins

PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6

Xander: The quick draw is about more than speed. It's also
about pointing the stake the right way. And there can be splinter
issues.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFFUtek+lTVdes0Z9YRAkGxAJ4vdFE2zNsv0vCAedwMRGvU50zuMQCfaszw
mxz4hUsh4S8u+LBMoYLKkUs=
=xfGs
-----END PGP SIGNATURE-----


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links