From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Reitter Newsgroups: gmane.emacs.help Subject: Re: Print to PDF? Configure fonts used when printing? Date: Thu, 6 Oct 2005 23:11:04 +0100 Message-ID: <48DB080E-6790-4302-8124-4E343FEC53B5@gmail.com> References: <049C03ED-EFE8-4B00-8072-177CE759D951@gmail.com> <7f4cc4751a2de252e7c0b96996f3d672@Web.DE> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v734) Content-Type: multipart/mixed; boundary="===============0355667011==" X-Trace: sea.gmane.org 1128636772 29754 80.91.229.2 (6 Oct 2005 22:12:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 6 Oct 2005 22:12:52 +0000 (UTC) Cc: Emacs help Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Oct 07 00:12:52 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ENdyM-0008UY-1V for geh-help-gnu-emacs@m.gmane.org; Fri, 07 Oct 2005 00:12:18 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ENdyL-0004qR-BZ for geh-help-gnu-emacs@m.gmane.org; Thu, 06 Oct 2005 18:12:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ENdxJ-0004Lm-8h for help-gnu-emacs@gnu.org; Thu, 06 Oct 2005 18:11:13 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ENdxH-0004K7-C5 for Help-gnu-emacs@gnu.org; Thu, 06 Oct 2005 18:11:12 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ENdxF-0004Jm-OS for Help-gnu-emacs@gnu.org; Thu, 06 Oct 2005 18:11:10 -0400 Original-Received: from [66.249.82.202] (helo=xproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1ENdxF-0005cH-Lk for Help-gnu-emacs@gnu.org; Thu, 06 Oct 2005 18:11:09 -0400 Original-Received: by xproxy.gmail.com with SMTP id t4so354940wxc for ; Thu, 06 Oct 2005 15:11:09 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:in-reply-to:references:mime-version:content-type:message-id:cc:from:subject:date:to:x-mailer; b=g32kj38SlmdVBE5V5+6Z2+LO5hH0lxFmC347Um+dxRK20Hg2rXO61r1jglUt8YnM9+kznglHLC+G9+N3DJvgK6y9dlwY+3Qt0bC+FxISwuNnVRYHZHwfZSwTn+l7ZwIKDYK/GhTB4zLSvUslQCIWMhTTzGLPp/PMyRQHPVO194c= Original-Received: by 10.70.87.14 with SMTP id k14mr1832679wxb; Thu, 06 Oct 2005 15:11:08 -0700 (PDT) Original-Received: from ?10.0.0.60? ( [82.13.19.30]) by mx.gmail.com with ESMTP id h15sm1532085wxd.2005.10.06.15.11.07; Thu, 06 Oct 2005 15:11:08 -0700 (PDT) In-Reply-To: <7f4cc4751a2de252e7c0b96996f3d672@Web.DE> Original-To: Peter Dyballa X-Mailer: Apple Mail (2.734) 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:30003 Archived-At: --===============0355667011== Content-Type: multipart/signed; micalg=sha1; boundary=Apple-Mail-18-5609075; protocol="application/pkcs7-signature" --Apple-Mail-18-5609075 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Hi Peter, > Not exactly an (X)Emacs package, but Perl: > > > In the end, I think, it would be most useful to write an own > script: you could use Unicode encoded fonts from Mac OS X (or > additions to these sets) and be able to print in every script! The problem with a2pdf as I see it is that I won't get syntax highlighting from Emacs. I mean, there's really no point in offering a print function if it doesn't relate to what's shown on the screen, because otherwise one could just fire up Textedit or whatever and copy&paste the buffer over. I mean, printing would have to respect the faces chosen. I don't understand why it should be impossible to generate PDF instead of PS, using the same methods that the current printing system uses. It seems to me there's a real lack of a package. I suspect I'm just going to have to see if I can coerce the output system to print instead of showing things on the screen. ATSUI ( being made available these days ) might help here, but I suspect it won't be a peace of cake due to the way letters are output. Unfortunately, lacking inside knowledge about how Emacs outputs stuff on the screen, I'm not really qualified to implement printing support. Cheers David --Apple-Mail-18-5609075 Content-Transfer-Encoding: base64 Content-Type: application/pkcs7-signature; name=smime.p7s Content-Disposition: attachment; filename=smime.p7s MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIGOzCCAvQw ggJdoAMCAQICAw3xWjANBgkqhkiG9w0BAQQFADBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhh d3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVt YWlsIElzc3VpbmcgQ0EwHhcNMDUwMjAxMjM0NTA0WhcNMDYwMjAxMjM0NTA0WjBiMRAwDgYDVQQE EwdSZWl0dGVyMQ4wDAYDVQQqEwVEYXZpZDEWMBQGA1UEAxMNRGF2aWQgUmVpdHRlcjEmMCQGCSqG SIb3DQEJARYXZGF2aWQucmVpdHRlckBnbWFpbC5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAw ggEKAoIBAQDhuoehK+SM/uai1CMVwn3NgRTTwqPpEBKKrr0RKTwxn+B9KFHUK033x4cV1zF4NsHx t8OG7uk25ZRnBdf2xGC4Dmz2LiGKKhps+EkGzxFuKA3Q8WbXv7stEsS1ALl/mapcaOXTukzK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VGhhd3RlIENvbnN1 bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3Vp bmcgQ0ECAw3xWjANBgkqhkiG9w0BAQEFAASCAQAW63Mur6v5UyxpWTt8T8+g9VujwusEvbO3nWOI Ne6/4MZjMU5z1FkJ155L4Vn4oHP3N34rRKZ77VBzTtDQXAUO2R0x1ED5G/caFtNsQ1t1UxaTmoOF 4k3OfcxlOY+1mlGh+pmkOHQn4ngTwaSixWHocqv5mAwVcuxaHzEshCZkjysUqKubjA1WnZbZAM+9 WapILrqJnRmMkYvYByzEPgH/pSLs/17H/Jlk6UnGZWIT8raBiq3IdC4TU5ksJRMKrrQJGozXrc4n xmV4cEwP2JIgWMy9E+ZY1WMX1Xeb8sNAU4wOE8XQ8EoCTsJMG0ZjTHudxhmnKb9Nm9BNNcTAfFW6 AAAAAAAA --Apple-Mail-18-5609075-- --===============0355667011== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs --===============0355667011==--