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 00:15:57 +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> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1135203424 31863 80.91.229.2 (21 Dec 2005 22:17:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 21 Dec 2005 22:17:04 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 21 23:17:03 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 1EpCGN-0001x2-RS for geh-help-gnu-emacs@m.gmane.org; Wed, 21 Dec 2005 23:16:48 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EpCHL-0004Wc-9O for geh-help-gnu-emacs@m.gmane.org; Wed, 21 Dec 2005 17:17:47 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EpCGi-0004Sg-Px for help-gnu-emacs@gnu.org; Wed, 21 Dec 2005 17:17:09 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EpCGh-0004RA-Mr for help-gnu-emacs@gnu.org; Wed, 21 Dec 2005 17:17:08 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EpCGh-0004Qh-Ir for help-gnu-emacs@gnu.org; Wed, 21 Dec 2005 17:17:07 -0500 Original-Received: from [192.114.186.20] (helo=nitzan.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EpCK4-0006yO-4y for help-gnu-emacs@gnu.org; Wed, 21 Dec 2005 17:20:36 -0500 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-4-218.inter.net.il [80.230.4.218]) by nitzan.inter.net.il (MOS 3.7.2-GA) with ESMTP id CGP07014 (AUTH halo1); Thu, 22 Dec 2005 00:15:58 +0200 (IST) Original-To: help-gnu-emacs@gnu.org In-reply-to: <43A9B6D5.9010205@student.lu.se> (message from Lennart Borgman on Wed, 21 Dec 2005 21:11:01 +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:32147 Archived-At: > Date: Wed, 21 Dec 2005 21:11:01 +0100 > From: Lennart Borgman > CC: help-gnu-emacs@gnu.org > > It think I saw something like this for ASCII input only. I think it's more general than that. > Actually the printer processor first calls GDI which produces EMF > that is send to the printer driver. I don;t think we should worry about what the printer processor does: it's part of the OS. What matters is what it accepts, not what it does with that. > So this can print text (only ASCII actually if I remember > correctly). You probably mean ANSI (which includes 8-bit non-ASCII characters in addition to ASCII), but I think it's more general than that. Why would the mechanism I described be limited to ANSI text? Why cannot it work for Unicode as well? > That should mean that the above "copy" should work. I don't see how these two issues are related; perhaps I'm missing something. If they are NOT related, then the fact that COPY doesn't work and the inner workings of the Windows printing mechanism are two almost unrelated subjects, and we are wasting our time talking about the latter when we are interested in the former. > However I do not remember that I saw anything about exactly when this > works. Do you have an exact link where you found this? Here, for example: > Last time I looked into this I stopped about here because I thought it > was not worth the trouble. As far as I can see it will only handle ASCII > text when it works. I have seen very little that makes me believe that > GDI can handle PostScript and convert that to EMF in the above scenario. There's no need to convert PostScript to EMF, since a PostScript printer will be happy accepting the PostScript program as plain text.