unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@is.elta.co.il>
Cc: bug-gnu-emacs@gnu.org
Subject: Re: Need contact to solve ntEmacs problems with accented characters
Date: Wed, 28 Aug 2002 08:01:46 +0300 (IDT)	[thread overview]
Message-ID: <Pine.SUN.3.91.1020828075433.14990B@is> (raw)
In-Reply-To: <003101c24da4$945970a0$7a01a8c0@gustus>


On Tue, 27 Aug 2002, Ryszard Kubiak wrote:

>     GNU Emacs 21.1.1 (i386-msvc-nt5.0.2195) of 2001-10-22 on buffy
> 
> and the system where I experience problems with printing is Windows 2000.
> The coding used for accented characters is cp1250, as you probably 
> know. I work with MULE with the settings that I quote below. The 
> printer is a network one, connected to an NT server.
> 
> I had made experiments using the method you described in yor letter (setting
> a coding prior to lpr-buffer). The codings I experimented with were 
> iso-8859-2, cp1250 and cp852. All gave similar bad results -- the 
> accented characters were badly printed.

What happens if you change the value of printer-name so that the printed 
text goes to a disk file?  Can you then visit that file with "C-x RET c 
CODING RET C-x C-f", where CODING is the same encoding you used with 
lpr-buffer?

If this experiment succeeds, then Emacs is doing what it's supposed to 
do, and the cause of your problem is in the printer setup: it might not 
support the character sets you are trying to use.

Could you please describe in more detail what does ``accented characters 
were badly printed'' mean?  How exactly are they printed? what do you see 
on paper?

> I very much suspect that my problem with printing may be somehow related
> with two other ones which I've encountered. Namely,
> 1. Dired's directory badly displays accented characters though the coding
> used there is cp1250.
> 2. Font selection in --unibyte mode does not work. Whatever font I select,
> using methods
> described in the documentation and avrious FAQs, the accented characters
> seem to come from latin-1.

No, I think these problems are different ones.  The problem with Dired 
should be solved by setting file-name-coding-system to latin-2 or cp1250.

> Are you capable of working with cp1250 characters in your environment so
> that you can judge the results?

Yes, but I don't have a printer capable of printing those characters, so 
I cannot test lpr-buffer with cp1250.

       reply	other threads:[~2002-08-28  5:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <003101c24da4$945970a0$7a01a8c0@gustus>
2002-08-28  5:01 ` Eli Zaretskii [this message]
     [not found]   ` <003701c24e8e$96dc55a0$7a01a8c0@gustus>
2002-08-28 16:08     ` Need contact to solve ntEmacs problems with accented characters Eli Zaretskii

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=Pine.SUN.3.91.1020828075433.14990B@is \
    --to=eliz@is.elta.co.il \
    --cc=bug-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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).