From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Sebastien Kirche Newsgroups: gmane.emacs.help Subject: Re: print eastern glyphs Date: Tue, 21 Sep 2004 11:34:02 +0200 Organization: Aucune. Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <86sm9cdgwr.fsf@mediawars.ne.jp> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1095759884 19968 80.91.229.6 (21 Sep 2004 09:44:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 21 Sep 2004 09:44:44 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Sep 21 11:44:35 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1C9hCN-0008Ap-00 for ; Tue, 21 Sep 2004 11:44:35 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C9hII-0002g2-6X for geh-help-gnu-emacs@m.gmane.org; Tue, 21 Sep 2004 05:50:42 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsmi-us.news.garr.it!newsmi-eu.news.garr.it!NewsITBone-GARR!irazu.switch.ch!switch.ch!in2p3.fr!proxad.net!feeder2-1.proxad.net!news11-e.free.fr!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (darwin) Cancel-Lock: sha1:69vQxfs9vJmiekxPxP+jHEyUwkA= Original-Lines: 30 Original-NNTP-Posting-Date: 21 Sep 2004 11:39:14 MEST Original-NNTP-Posting-Host: 195.25.216.129 Original-X-Trace: 1095759554 news11-e.free.fr 21774 195.25.216.129:23233 Original-X-Complaints-To: abuse@proxad.net Original-Xref: shelby.stanford.edu gnu.emacs.help:125428 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:20784 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:20784 Le 20 Sep 2004, Shigeki UNO a dit : > Add the following lisp code to ~/.emacs, please. > > (setq ps-multibyte-buffer 'non-latin-printer) > > And also, take a look at ps-mule.el (PREFIX/share/emacs/VERSION/lisp). You > would find the description about what you want to know. Thank you for the answer but that did not helped me totally : with that statement, printing failed by complaining that ps-mule-chars-in-string is a void function. After googling a little, i have found some recent changes from the developpers in ps-mule.el that made me try the following (i am currently using the cvs version): (progn (defalias 'ps-mule-next-point '1+) (defalias 'ps-mule-chars-in-string 'Length) (defalias 'ps-mule-string-char 'aref) (defsubst ps-mule-next-index (str i) (1+ i))) I then can ps-print the buffer, but eastern glyphs are replaced by western letters :( BTW : i think i may forward the ps-mule-chars-in-string problem to the emacs-devel list... Sébastien Kirche