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

Use mozilla to print Chinese Big5 pages



Hello,

I am trying to use mozilla to print the Chinese (Big5) web pages,
but I false. I have installed the following Debain packages, but
I am not sure if it is enough or not. So, please give me suggestions.
Thanks very much. :-))

cmap-adobe-cns1		0+20010329-1
cmap-adobe-gb1		0+20010329-1
defoma			0.6.0
gs			6.51-4
gs-cjk-resource		1.20010910-1
gs-common		0.3.1
gsfonts			6.0-2
gv			3.5.8-22
libfreetype6		2.0.1-1
libgimpprint1		4.1.99-b1-1
mozilla-browse		0.9.5-5
mozilla-mailnews	0.9.5-5
mozilla-psm		0.9.5-5
mozilla-xmlterm		0.9.5-5
tfm-arphic-bkai00mp	2.11
tfm-arphic-bsmi00lp	2.11
ttf-arphic-bkai00mp	2.10-1
ttf-arphic-bsmi00lp	2.10-1

I also changed my /usr/lib/mozilla/defaults/pref/unix.js:

From:
	pref("print.psnativefont.zh-TW", "");
To:
	pref("print.psnativefont.zh-TW", "Arphic-MingB5-B5-H");

and Add:
	pref("print.psnativecode.zh-TW", "big5");

But it can't help.

I use the "print to file" and use 'less' command to view the output
of postscript file. Its header is

%!PS-Adobe-3.0
%%BoundingBox: 0 0 612 792
%%Creator: Mozilla (NetScape) HTML->PS
%%DocumentData: Clean8Bit
%%DocumentPaperSizes: Letter
%%Orientation: Portrait
%%Pages: (atend)
%%PageOrder: Ascend
%%Title: HomePage of Tung-Han Hsieh
%%EndComments
% MozillaCharsetName: iso-8859-1
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^    How to change it to, say, big5?

And if I view this file using "gv" command, all the Big5 characters are
replaced by a empty box. Even if I changed the above "MozillaCharsetName:"
to big5, the result is the same.

The mozilla is started in the LC_CTYPE=zh_TW.Big5 locale environment.


Any suggestions? :-)))


T.H.Hsieh



Reply to: