From: Kenichi Handa <handa@m17n.org>
To: "Rommerskirchen\,
Heinrich \(NSN - DE\/Munich\)" <heinrich.rommerskirchen@nsn.com>
Cc: 7197@debbugs.gnu.org
Subject: bug#7197: 23.2; Cannot print the Euro-Symbol
Date: Thu, 14 Oct 2010 11:16:56 +0900 [thread overview]
Message-ID: <tl77hhljz6v.fsf@m17n.org> (raw)
In-Reply-To: <5F9F14EA10283840AB895720F4D024CA01A51BA2@DEMUEXC035.nsn-intra.net> (heinrich.rommerskirchen@nsn.com)
In article <5F9F14EA10283840AB895720F4D024CA01A51BA2@DEMUEXC035.nsn-intra.net>, "Rommerskirchen, Heinrich (NSN - DE/Munich)" <heinrich.rommerskirchen@nsn.com> writes:
> Create a new file containing just the Euro symbol. Save it, it is saved
> by default as utf-8. Print it with ps-print-buffer-with-faces
> (ps-spool-buffer-with-faces gives same results), the paper output
> contains
> a dollar symbol. If you store it with encoding latin-0, the print
> contains
> instead a question mark. Checking, I find that the same happens with the
> emacs 23.1 contained in my GNU/Linux distribution (OpenSuSE 11.1).
> In emacs 22.x printing worked after I added the following to my startup
> files
> (setq ps-mule-font-info-database-default
> '((latin-iso8859-15 (normal nil nil iso-latin-9))
> (latin-iso8859-1 (normal nil nil iso-latin-1))))
> -- I copied this from Usenet not understanding much of emacs coding
> systems
I don't know why you can print Euro sign by that setting.
With the above setting, both EURO SIGN and CURRENCY SIGN are
encoded to the same byte #xA4, and usually it should be
printed as CURRENCY SIGN.
If you still have Emcas 22, please do:
C-u M-x ps-print-buffer RET ~/temp.ps RET
and send me ~/temp.ps.
> -- but this is not accepted by emacs 23.x on GNU/Linux; on
> printing it produces the error message
> "charset-dimension: Wrong type argument: charsetp, iso-latin-9" and
> doesn't send anything to the printer. describe-coding-system knows
> iso-latin-9.
I've just fixed that bug; i.e. the bug of signalling an error.
> Under MS Windows XP I get with emacs -Q always just a question mark,
> independent of file encoding. But with my startup files containing the
> above 'setq..' I am able to print the same file (and any other file,
> too)
> just fine, without getting any error message. (Here I use the binary
> ftp://ftp.gnu.org/gnu/emacs/windows/emacs-23.2-bin-i386.zip, downloaded
> on May,11th)
With that Emacs, please do:
C-u M-x ps-print-buffer RET ~/temp2.ps RET
and send me ~/temp2.ps.
---
Kenichi Handa
handa@m17n.org
prev parent reply other threads:[~2010-10-14 2:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-12 15:25 bug#7197: 23.2; Cannot print the Euro-Symbol Rommerskirchen, Heinrich (NSN - DE/Munich)
2010-10-14 2:16 ` Kenichi Handa [this message]
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=tl77hhljz6v.fsf@m17n.org \
--to=handa@m17n.org \
--cc=7197@debbugs.gnu.org \
--cc=heinrich.rommerskirchen@nsn.com \
/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.