From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Boettcher Newsgroups: gmane.emacs.help Subject: Re: Printing from WindowXP version of emacs Date: Tue, 20 Dec 2005 09:45:00 -0500 Organization: MIT Lincoln Laboratory Message-ID: References: <1134660719.186074.250590@z14g2000cwz.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1135101645 5460 80.91.229.2 (20 Dec 2005 18:00:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 20 Dec 2005 18:00:45 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Dec 20 19:00:39 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EoljD-0007zR-VY for geh-help-gnu-emacs@m.gmane.org; Tue, 20 Dec 2005 18:56:48 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Eolk7-0007YJ-W9 for geh-help-gnu-emacs@m.gmane.org; Tue, 20 Dec 2005 12:57:44 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!bloom-beacon.mit.edu!llslave.llan.ll.mit.edu!53ab2750!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:1YSWV9Tvc/7xwQYxFIvV5C93vCg= Original-Lines: 36 Original-NNTP-Posting-Host: 155.34.163.111 Original-X-Complaints-To: news@ll.mit.edu Original-X-Trace: llslave.llan.ll.mit.edu 1135089900 155.34.163.111 (Tue, 20 Dec 2005 09:45:00 EST) Original-NNTP-Posting-Date: Tue, 20 Dec 2005 09:45:00 EST Original-Xref: shelby.stanford.edu gnu.emacs.help:136489 Original-To: help-gnu-emacs@gnu.org 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:32108 Archived-At: Eli Zaretskii writes (in a discussion with Ilya): >> There is no "encoding supported by the printer". You may assume that >> the printer supports only its only "command set". > > I will assume what happens in reality, not some silly rules of game > that you just invented. In reality, the printer expects the text sent > to it to come in some encoding. > >> > > Are you assuming that sending character "a" to the printer pipe will >> > > print "a" on paper? >> >> > On MS-Windows, it does. >> >> I know very little about Win*, but AFAICS, this thread is about the >> fact that it does not. There are many printers out there now which do not support PostScript, do not support PCL, and do not, in fact, even support plain text. They are often called "winprinters" because the windows drivers perform all the processing on the host CPU, and send simple rasterized data to the printer. The printer itself will not even print "a" when told to. On Linux, these printers are accessed via the normal lpr print spools, but they have filters set up to rasterize the input PS or raw text before outputing. The question on windows is: how does one access the driver which (in some cases) must rasterize the input, rather than going directly to the device. Copying plain text to the network name of the printer seems not to do the right thing universally, which is why I use the ugly notepad-hack when I need to do this sort of thing. -Peter