From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: how to print national characters in emacs Date: Tue, 18 Mar 2008 22:37:50 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: ger.gmane.org 1205872704 31397 80.91.229.12 (18 Mar 2008 20:38:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Mar 2008 20:38:24 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 18 21:38:52 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Jbia7-0004Fm-3d for geh-help-gnu-emacs@m.gmane.org; Tue, 18 Mar 2008 21:38:47 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JbiZW-0003iY-Ve for geh-help-gnu-emacs@m.gmane.org; Tue, 18 Mar 2008 16:38:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JbiZF-0003iH-II for help-gnu-emacs@gnu.org; Tue, 18 Mar 2008 16:37:53 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JbiZE-0003hv-G9 for help-gnu-emacs@gnu.org; Tue, 18 Mar 2008 16:37:53 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JbiZE-0003hs-AE for help-gnu-emacs@gnu.org; Tue, 18 Mar 2008 16:37:52 -0400 Original-Received: from mtaout7.012.net.il ([84.95.2.19]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JbiZE-0007DL-2G for help-gnu-emacs@gnu.org; Tue, 18 Mar 2008 16:37:52 -0400 Original-Received: from HOME-C4E4A596F7 ([83.130.216.90]) by i-mtaout7.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0JXY00CTK0IJZMF0@i-mtaout7.012.net.il> for help-gnu-emacs@gnu.org; Tue, 18 Mar 2008 22:20:44 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-kernel: by monty-python.gnu.org: Solaris 10 (1203?) 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: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:52503 Archived-At: > From: rabbit50@tenbit.pl > Date: Tue, 18 Mar 2008 14:15:04 +0100 >=20 > I am running emacs 22. > I installed intlfonts 1.2.1 package to emacs > and configured them for X: >=20 > $ xset +fp /usr/local/share/emacs/fonts > $ xset fp rehash >=20 > then chose some font from intlfonts: -ETL-Fixed-Medium-R-Normal--14= -140-72-72-C-70-ISO8859-2. > Emacs changed font to this one, so it looks like fonts are installe= d properly in my system. >=20 > Then I put some national fonts to *scratch* and tried to print it w= ith M-x ps-print-region. >=20 > Emacs tells: >=20 > These characters in the buffer can't be printed: > =C4=85, =C4=85, =C4=85, =C4=99, =C4=99, =C4=99, =C4=99, =C4=99, = =C5=BC, =C5=BC, =C5=BC > Click them to jump to the buffer position, > or C-u C-x =3D will give information about them. >=20 > Please answer y or n. Font for some characters not found, continue= anyway? (y or n)=20 >=20 >=20 >=20 > Unfortunatelly, document printed does not contain my national fonts= . >=20 > Have You got idea what might be the reason? The remedy for this problem depends on how (and whether) your printer supports Latin-2 characters in PostScript mode. In a nutshell, Emacs can either use the Latin-2 fonts built into your printer (but it need= s to be told it can do that), or download BDF fonts from the Intlfonts package into the printer, and use that. To see how to set this up, I suggest to read the commentary near the beginning of the file ps-mule.el (that is part of the Emacs package), and set ps-multibyte-buffer according to the information there. It is also possible that you will have to customize the variable bdf-directory-list.