Mailing List Archive


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

Re: [tlug] CJK Printing from Web Browsers in Debian 3.3.2



On 05/11/06, Bart Mathias <mathias@example.com> wrote:

I tried just Thunderbird first, checking the file at each stage.  First
stage, all the lines with "print" in them got marked with "//" on the
front, and the print was ghosted.

Good.

Second stage, all the lines from Mozilla prefs that had "print" in them
were added in at the bottom.  I had left the file open in KWrite, so was
informed that another program had changed it and given a choice of what
to do; I "Replace"d.

Erm... maybe you should not have done that. Please try this, and copy the output from your terminal and paste it into a reply to this email.

: Step 1a; MOZILLA_PREFS=`find .mozilla/ -type f -name \*prefs.js |
sed -e '/firefox/d' -e '/thunderbird/d'`
: Step 1b; FIREFOX_PREFS=`find .mozilla/firefox/ -type f -name \*prefs.js`
: Step 1c; THUNDERBIRD_PREFS=`find .mozilla/thunderbird/ -type f -name
\*prefs.js`

: Step 2a; grep print "${FIREFOX_PREFS}"
: Step 2b; grep print "${THUNDERBIRD_PREFS}"

: Step 2c; sed -i.bak -e 's|^\(.\+print.\+\)$|// \1|' "${FIREFOX_PREFS}"
: Step 2d; sed -i.bak -e 's|^\(.\+print.\+\)$|// \1|' "${THUNDERBIRD_PREFS}"

: Step 2e; grep print "${FIREFOX_PREFS}"
: Step 2f; grep print "${THUNDERBIRD_PREFS}"

: Step 3a; grep print "${MOZILLA_PREFS}"

: Step 3b; grep print "${MOZILLA_PREFS}" | tee -a "${FIREFOX_PREFS}"
: Step 3c; grep print "${MOZILLA_PREFS}" | tee -a "${THUNDERBIRD_PREFS}"

: Step 3d; grep print "${FIREFOX_PREFS}"
: Step 3e; grep print "${THUNDERBIRD_PREFS}"

: Step 4a; firefox &
# Exit Firefox
: Step 4b; grep print "${FIREFOX_PREFS}"

: Step 4c; thunderbird &
# Exit Thunderbird
: Step 4d; grep print "${THUNDERBIRD_PREFS}"


PASTE ALL OF THE OUTPUT!

If the mail gets too long and gets rejected by the list, try using:

http://www.rafb.net/paste/

Select "Plain Text" and paste the whole glob in, then include the URI
in your mail to the list.

I find that I get an odd line in Shell after trying to print Japanese in
Firefox (but not when I try it with Thunderbird):

bart@example.com:~$ LANG=ja_JP XMODIFIERS=@example.com=kinpu?? firefox &
[1] 1237
bart@example.com:~$  NO FONT WAS FOUND Name["Sans"]

I can't guess what *that* is all about, but maybe it's a clue...

That is likely why you are seeing squares instead of characters. But we'll come back to that in a little while.

-Josh


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links