From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Jean-Christophe Helary Newsgroups: gmane.emacs.help Subject: Re: color printing ? Date: Sun, 14 Apr 2019 22:30:11 +0900 Message-ID: <77F50D20-8325-456C-9625-8D22323AC529@gmail.com> References: Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.8\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="66069"; mail-complaints-to="usenet@blaine.gmane.org" To: help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Apr 14 15:30:31 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hFfDL-000H3k-6n for geh-help-gnu-emacs@m.gmane.org; Sun, 14 Apr 2019 15:30:31 +0200 Original-Received: from localhost ([127.0.0.1]:35868 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hFfDK-0007ga-5g for geh-help-gnu-emacs@m.gmane.org; Sun, 14 Apr 2019 09:30:30 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:38611) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hFfD9-0007gU-1j for help-gnu-emacs@gnu.org; Sun, 14 Apr 2019 09:30:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hFfD7-0003N1-Nd for help-gnu-emacs@gnu.org; Sun, 14 Apr 2019 09:30:19 -0400 Original-Received: from mail-pg1-x536.google.com ([2607:f8b0:4864:20::536]:44174) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hFfD7-0003MP-A6 for help-gnu-emacs@gnu.org; Sun, 14 Apr 2019 09:30:17 -0400 Original-Received: by mail-pg1-x536.google.com with SMTP id i2so7302245pgj.11 for ; Sun, 14 Apr 2019 06:30:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:mime-version:subject:date:references:to:in-reply-to:message-id; bh=/PLPXITbxWApjzE74fxitwwHy0vwtKvae1YTCsOdfSc=; b=R1KdAkY2Cu7IDZppH00mV3ma+P8Amh4KrjfZa1sPPaC9w32p+r7PD8w/rNAW8ehHVl oGP/IyNWDB+avByVMlb7ekpYfjt7ncIm6pggOp9GpbYF9A901oBSG34jCVTYHJPr5/uZ E5+l6PBvSXAPFBWHFsqdrmPv78U1gqEsdWHK2yaiof079kqSm7q1bQ8ZKTplQNvvAJm3 hQEnNxVM/qSyGyzna45fbR/nwdUjc5GECWzmOMs2QovhygSoyotg7P1bfVLLvBHxvq3O 6lrqAuZI/KnBSvoGvXyA9eiu8W031DA1pYcaBKJJlIcBEneTV5TV1kqTAuwfeD00RC4r OEzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:subject:date:references:to :in-reply-to:message-id; bh=/PLPXITbxWApjzE74fxitwwHy0vwtKvae1YTCsOdfSc=; b=MOhKKC8ywNx61vfyCKjGfpQnADnA6hHVw8CRGhZbcvAooaCmgpEG7eZ8HI3AOSK/5h 3rqSbGosvrYbfmhseip5Ld9oArPRM3xh0cmvT9w9jBbYJMkPDzJlYxorMGowZVxcFd2U UDv9I/Av8YyJYnpV9AvXLUyTzFKGeG00fkPyB6+KYYiozDjhxnYMHJiosDcGDp9J1amV kqW9ZWhY3l/5x4R4Vp+b4NEktTyZysjLqh42OmEhAg/Lq9meFGQ4HeEwA64YVL//ZCo1 xow2lZvZ9hF3j4rTrec6q5mHxNVAZ8WYWe1i/hnylv2Nn9AQJ5mFEMvtKE/RK7FpYu+c YsoQ== X-Gm-Message-State: APjAAAUeC6B0bYchDra+z3ZiAqDJ5FhhyuleHKuOtXcI31L6jZTlxXvm U4oEsyj4MZAU0Mdeu21DAHAnpM2A X-Google-Smtp-Source: APXvYqwGAWS9/GBCjgz8o8B05jx8z2jVYIBVbKKPuznkPMTGq0FN3NMdaCRdNTnFJC3KWtoRSo/pxw== X-Received: by 2002:a65:6284:: with SMTP id f4mr65009710pgv.11.1555248615257; Sun, 14 Apr 2019 06:30:15 -0700 (PDT) Original-Received: from [192.168.1.3] (pl32040.ag0304.nttpc.ne.jp. [111.89.228.40]) by smtp.gmail.com with ESMTPSA id x16sm106473339pge.27.2019.04.14.06.30.13 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 14 Apr 2019 06:30:14 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.3445.104.8) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::536 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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 Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:119920 Archived-At: I tried to print a simple C buffer for my daughter and the default = printout was in b/w, but all the Japanese characters were printed out = nicely. Then, after Paul's answer, I tried the ps-print-buffer-with-faces = command and the syntax highlighting worked fine but all the Japanese = characters were replaced by ???. Then, after reading the documentation a bit, I tried to (setq ps=E2=88=92multibyte=E2=88=92buffer =E2=80=99non=E2=88=92latin=E2=88= =92printer) but now the Japanese characters are totally mojibaked: // $*$_$/$8$NFbMF0lMw so I tried 'bfd-fonts and I got a weird message about having no font for = ascii, and with 'bfd-fonts-except-latin, I'm back to ??? All that is so 20th century... Jean-Christophe Helary=20 > On Apr 14, 2019, at 21:41, Paul W. Rankin = wrote: >=20 > On Sun, 14 Apr 2019, at 8:25 PM, Jean-Christophe Helary wrote: >> I was surprised to see the syntax highlighted buffer printed in b/w. >>=20 >> Is there an easy way to print the faces (ie. without = htmlizing+pdfizing the buffer) ? >=20 > I think maybe ps-print-buffer-with-faces might help you. >=20 > = https://www.gnu.org/software/emacs/manual/html_node/emacs/PostScript.html = >=20 > --=20 > https://www.paulwrankin.com Jean-Christophe Helary ----------------------------------------------- http://mac4translators.blogspot.com @brandelune