From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Printing from WindowXP version of emacs Date: Thu, 22 Dec 2005 21:37:35 +0200 Message-ID: References: <1134660719.186074.250590@z14g2000cwz.googlegroups.com> <43A8842E.5090204@student.lu.se> <43A908F9.1070304@student.lu.se> <43A9B6D5.9010205@student.lu.se> <43A9DBB8.3010204@student.lu.se> <43AA5D94.8000602@student.lu.se> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1135280337 28395 80.91.229.2 (22 Dec 2005 19:38:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 22 Dec 2005 19:38:57 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 22 20:38:55 2005 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EpWH5-0006QK-KJ for geh-help-gnu-emacs@m.gmane.org; Thu, 22 Dec 2005 20:38:51 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EpWI6-0001L5-3r for geh-help-gnu-emacs@m.gmane.org; Thu, 22 Dec 2005 14:39:54 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EpWHp-0001KF-79 for help-gnu-emacs@gnu.org; Thu, 22 Dec 2005 14:39:37 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EpWHo-0001Jw-DD for help-gnu-emacs@gnu.org; Thu, 22 Dec 2005 14:39:36 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EpWHo-0001Js-88 for help-gnu-emacs@gnu.org; Thu, 22 Dec 2005 14:39:36 -0500 Original-Received: from [192.114.186.17] (helo=gandalf.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EpWGy-0002ZQ-IM for help-gnu-emacs@gnu.org; Thu, 22 Dec 2005 14:38:44 -0500 Original-Received: from nitzan.inter.net.il (nitzan.inter.net.il [192.114.186.20]) by gandalf.inter.net.il (MOS 3.7.1-GA) with ESMTP id HIN03198; Thu, 22 Dec 2005 21:37:39 +0200 (IST) Original-Received: from HOME-C4E4A596F7 (IGLD-84-228-167-31.inter.net.il [84.228.167.31]) by nitzan.inter.net.il (MOS 3.7.2-GA) with ESMTP id CGT61419 (AUTH halo1); Thu, 22 Dec 2005 21:37:35 +0200 (IST) Original-To: help-gnu-emacs@gnu.org In-reply-to: <43AA5D94.8000602@student.lu.se> (message from Lennart Borgman on Thu, 22 Dec 2005 09:02:28 +0100) 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:32169 Archived-At: > Date: Thu, 22 Dec 2005 09:02:28 +0100 > From: Lennart Borgman > CC: help-gnu-emacs@gnu.org > > Sorry, you are right. I misread that part. It only says "This data type > is based on the ANSI standard, and if an application that has another > character set creates text data it does not print. This often presents a > problem in the extended character range, represented by values above 127.". > > It does not say that it does not handle the characters above 127 at all > - which I believed. ANSI text means, in Windows parlance, the 8-bit codepages used in European locales. Also, in some other place in MSDN they say explicitly that 8-bit characters are accepted, but I cannot find that place anymore. > > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/graphics/hh/graphics/provider_b941f8a9-ddb3-47ca-afa2-d06c6de2ce74.xml.asp > > > > > Thanks. This is what I have been reading too. I am however not sure that > this text means that "copy" for example are handled this way. The text > describes two steps where the spooler is used. In the first step the > spooler sends the job to GDI for conversion and get it back from GDI. In > the second step the spooler sends the data to the printer. > > Could it not be that "copy" goes directly to the second step? No. The steps described in the above URL all happen _after_ the text was sent to the spooler. What the text does not describe is how writing to PRN or \\server\printer winds up in the spool area. > If you want to print in colors from within Emacs then the only option is > that it produces PostScript. PostScript printing to a non-PostScript printer will only work thru Ghostscript. Anyway, I was talking about a different issue: how to find out why COPY or the ways suggested for printing normal (non-color) text from Emacs don't work in your case. That has nothing to do with PostScript and colors. > I know of course there is a more basic problem: I can not even get black > and white printing to work the way you have suggested Right, and that is the problem I thought we were trying to solve in this thread. > >The printer enters the PostScript state automatically when it sees the > >PostScript preamble. > > > I am sorry but I have seen printers where this does not happen. They are either broken or incorrectly set up.