From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: Printing from WindowXP version of emacs Date: Wed, 4 Jan 2006 11:00:07 +0100 Message-ID: <6FC795CC-C015-4A12-81DF-15E01A9E9EDA@Web.DE> References: <534d19de0601031634o49dfd53dl7d701ff6512900f9@mail.gmail.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1136383650 10271 80.91.229.2 (4 Jan 2006 14:07:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 4 Jan 2006 14:07:30 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jan 04 15:07:29 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Eu9II-0000UK-KC for geh-help-gnu-emacs@m.gmane.org; Wed, 04 Jan 2006 15:07:15 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Eu9Jy-0002p0-2c for geh-help-gnu-emacs@m.gmane.org; Wed, 04 Jan 2006 09:08:58 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Eu5Sx-0006ap-SY for help-gnu-emacs@gnu.org; Wed, 04 Jan 2006 05:02:00 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Eu5Su-0006aV-Dr for help-gnu-emacs@gnu.org; Wed, 04 Jan 2006 05:01:59 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Eu5Su-0006aQ-1I for help-gnu-emacs@gnu.org; Wed, 04 Jan 2006 05:01:56 -0500 Original-Received: from [217.72.192.225] (helo=smtp07.web.de) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1Eu5UH-0002fW-EV for help-gnu-emacs@gnu.org; Wed, 04 Jan 2006 05:03:21 -0500 Original-Received: from [84.245.191.31] (helo=[192.168.1.2]) by smtp07.web.de with asmtp (TLSv1:RC4-SHA:128) (WEB.DE 4.105 #340) id 1Eu5RB-00022a-00; Wed, 04 Jan 2006 11:00:09 +0100 In-Reply-To: <534d19de0601031634o49dfd53dl7d701ff6512900f9@mail.gmail.com> X-Image-Url: http://homepage.mac.com/sparifankal/.cv/thumbs/me.thumbnail Original-To: BRUCE INGALLS X-Mailer: Apple Mail (2.746.2) X-Sender: Peter_Dyballa@web.de 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:32410 Archived-At: Am 04.01.2006 um 01:34 schrieb BRUCE INGALLS: > (defun save-current-buffer-as-pdf () Hello Bruce! Your site in German is quite funny -- somehow the words look familiar =20= to me, but the sentences built from them ... am I reading the wrong =20 newspapers and magazines that they don't make much sense to me? Which =20= machine tried to "translate" the original texts? You are using the usual ps-print functions and then ps2pdf to convert =20= PS output to PDF. This is OK for US-ASCII and ISO Latin-1/ISO 8859-1, =20= but it fails already in ISO Latin-9/ISO 8859-15, ISO Latin with =80. It =20= works for almost 200 characters, but there are 60,000 more in Unicode =20= (BMP). htmlize.el is a great tool, yes! It seems that it converts every =20 textual buffer contents in any encoding without errors to Unicode =20 (UTF-8) preserving text attributes in HTML. Together with htmlize-=20 view.el, which opens the 'printed' buffer in the default Internet =20 browser, one gets access to the system's native printing dialogues =20 (printer choice, paper format, ...) and mechanisms and does not need =20 to take care of any font issues for characters outside the small US-=20 ASCII/ISO Latin world. For 'Carbon Emacs' on Mac OS X this seems to =20 become the standard printing interface ... although some users and =20 developers seem to have a 'strange' feeling when using this! And it =20 does not need third party software (ps2pdf from Ghostview). -- Greetings Pete The mathematician who pursues his studies without clear views of this =20= matter, must often have the uncomfortable feeling that his paper and =20 pencil surpass him in intelligence. (Ernst Mach)