all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jean-Christophe Helary <brandelune@gmail.com>
To: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: color printing ?
Date: Sun, 14 Apr 2019 22:30:11 +0900	[thread overview]
Message-ID: <77F50D20-8325-456C-9625-8D22323AC529@gmail.com> (raw)
In-Reply-To: <cc76f943-aa07-4a4c-8ff2-06b5dec42388@www.fastmail.com>

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−multibyte−buffer ’non−latin−printer)

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 

> On Apr 14, 2019, at 21:41, Paul W. Rankin <hello@paulwrankin.com> wrote:
> 
> 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.
>> 
>> Is there an easy way to print the faces (ie. without htmlizing+pdfizing the buffer) ?
> 
> I think maybe ps-print-buffer-with-faces might help you.
> 
> https://www.gnu.org/software/emacs/manual/html_node/emacs/PostScript.html <https://www.gnu.org/software/emacs/manual/html_node/emacs/PostScript.html>
> 
> -- 
> https://www.paulwrankin.com <https://www.paulwrankin.com/>

Jean-Christophe Helary
-----------------------------------------------
http://mac4translators.blogspot.com @brandelune




  parent reply	other threads:[~2019-04-14 13:30 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-14 10:25 color printing ? Jean-Christophe Helary
2019-04-14 12:41 ` Paul W. Rankin
2019-04-14 12:54   ` Jean-Christophe Helary
2019-04-14 13:26     ` Paul W. Rankin
2019-04-14 13:30   ` Jean-Christophe Helary [this message]
2019-04-14 14:14     ` Eli Zaretskii
2019-04-14 14:19       ` Jean-Christophe Helary
2019-04-21  9:02         ` Jean-Christophe Helary

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=77F50D20-8325-456C-9625-8D22323AC529@gmail.com \
    --to=brandelune@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.