From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: 23.0.50; ps-print-buffer-with-faces hangs on w32 Date: Thu, 10 Jan 2008 14:36:51 +0000 Message-ID: <47862D83.3030709@gnu.org> References: <4784F452.6060202@gmail.com> <47851163.8050205@ig.com.br> <47850C39.5060905@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1199975841 19005 80.91.229.12 (10 Jan 2008 14:37:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 10 Jan 2008 14:37:21 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org To: "Lennart Borgman (gmail)" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 10 15:37:41 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JCyXM-0004Oj-9y for ged-emacs-devel@m.gmane.org; Thu, 10 Jan 2008 15:37:40 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JCyWy-0003AD-Nf for ged-emacs-devel@m.gmane.org; Thu, 10 Jan 2008 09:37:16 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JCyWu-00038y-3n for emacs-devel@gnu.org; Thu, 10 Jan 2008 09:37:12 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JCyWt-00038b-LK for emacs-devel@gnu.org; Thu, 10 Jan 2008 09:37:11 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JCyWt-00038V-8K for emacs-devel@gnu.org; Thu, 10 Jan 2008 09:37:11 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JCyWs-0002ab-TH for emacs-devel@gnu.org; Thu, 10 Jan 2008 09:37:11 -0500 Original-Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JCyWs-0004un-DD for emacs-pretest-bug@gnu.org; Thu, 10 Jan 2008 09:37:10 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JCyWp-0002Z8-08 for emacs-pretest-bug@gnu.org; Thu, 10 Jan 2008 09:37:10 -0500 Original-Received: from mk-outboundfilter-3.mail.uk.tiscali.com ([212.74.114.23]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JCyWo-0002Yg-No for emacs-pretest-bug@gnu.org; Thu, 10 Jan 2008 09:37:06 -0500 Original-X-Trace: 16405401/mk-outboundfilter-1.mail.uk.tiscali.com/F2S/$ACCEPTED/freedom2Surf-customers/83.67.23.108 X-SBRS: None X-RemoteIP: 83.67.23.108 X-IP-MAIL-FROM: jasonr@gnu.org X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAJa8hUdTQxds/2dsb2JhbAAIqX0 Original-Received: from i-83-67-23-108.freedom2surf.net (HELO [127.0.0.1]) ([83.67.23.108]) by smtp.f2s.tiscali.co.uk with ESMTP/TLS/DHE-RSA-AES256-SHA; 10 Jan 2008 14:37:05 +0000 User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) In-Reply-To: <47850C39.5060905@gmail.com> X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:86699 gmane.emacs.pretest.bugs:20577 Archived-At: Lennart Borgman (gmail) wrote: >> >> What exactly does this mean? >> >> Does any Emacs variable have the value "C:\\PRN"? > > The variable `printer' above. I don't have a variable `printer', is this from an external package you have installed? I do have a variable `printer-name', but it's default value on Windows is the device name "PRN", not "C:\\PRN" (which though it looks like a file name will still refer to the PRN device under some circumstances in Windows, but I'm not sure Windows is consistent about this, and in some cases may actually refer to the file, especially if the printer driver for your default printer does not expose a standard character device). > >> What is a "Windows printer"? > > I forgot what these printers are called. It seems like they are called > "GDI printers" or "winprinters". Calling them winprinters suggests that there is something that makes them a win over other more functional printers. Really the printer hardware is not the issue, often the printer will be better supported by Free Software like CUPS than by the manufacturers own Windows drivers, so calling them Windows printers is also misleading. What you really mean is that the Windows printer drivers that the manufacturer has supplied are limited to supporting only GDI based printing, as they do not expose a character device (and are connected via USB, so the COM or PAR character devices are not automatically available) that could be used to print directly to the printer in text mode or whatever command language(s) that the printer supports natively (eg Postscript, PCL or ESC/P). This problem can often be worked around by sharing the printer from Windows, and setting the printer-name within Emacs to the network share path of the printer (eg "//localhost/printer"). But it is unlikely that a printer with such limited drivers supports Postscript natively, so to use the ps-print commands, you'll need to set up a software postscript interpreter such as Ghostscript anyway.