From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Francis Wright" Newsgroups: gmane.emacs.bugs Subject: bug#3332: 23.0.93; Printing on MS Windows Date: Wed, 20 May 2009 18:12:21 +0100 Organization: Maths, Queen Mary, University of London Message-ID: <49986.3243232996$1242841392@news.gmane.org> References: <001301c9d866$3827b540$a8771fc0$@j.wright@qmul.ac.uk> <4A134A4C.10800@gnu.org> Reply-To: Francis Wright , 3332@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1242841392 14638 80.91.229.12 (20 May 2009 17:43:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 20 May 2009 17:43:12 +0000 (UTC) To: "'Jason Rumney'" , <3332@emacsbugs.donarmstrong.com> Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 20 19:43:05 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1M6pom-0003ss-4L for geb-bug-gnu-emacs@m.gmane.org; Wed, 20 May 2009 19:43:04 +0200 Original-Received: from localhost ([127.0.0.1]:38503 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M6pol-0004VB-Gj for geb-bug-gnu-emacs@m.gmane.org; Wed, 20 May 2009 13:43:03 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M6pe9-00077t-UQ for bug-gnu-emacs@gnu.org; Wed, 20 May 2009 13:32:06 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M6pe5-00076e-2B for bug-gnu-emacs@gnu.org; Wed, 20 May 2009 13:32:05 -0400 Original-Received: from [199.232.76.173] (port=54213 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M6pe4-00076V-Ny for bug-gnu-emacs@gnu.org; Wed, 20 May 2009 13:32:00 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:57529) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M6pe4-00045f-43 for bug-gnu-emacs@gnu.org; Wed, 20 May 2009 13:32:00 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n4KHVvqf010223; Wed, 20 May 2009 10:31:57 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n4KHK5PH005981; Wed, 20 May 2009 10:20:05 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: "Francis Wright" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 20 May 2009 17:20:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 3332 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 3332-submit@emacsbugs.donarmstrong.com id=B3332.12428395674147 (code B ref 3332); Wed, 20 May 2009 17:20:04 +0000 Original-Received: (at 3332) by emacsbugs.donarmstrong.com; 20 May 2009 17:12:47 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mail2.qmul.ac.uk (mail2.qmul.ac.uk [138.37.6.6]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n4KHChQf004141 for <3332@emacsbugs.donarmstrong.com>; Wed, 20 May 2009 10:12:45 -0700 Original-Received: from smtp.qmul.ac.uk ([138.37.6.40]) by mail2.qmul.ac.uk with esmtp (Exim 4.66) (envelope-from ) id 1M6pL3-0001Vs-1C; Wed, 20 May 2009 18:12:42 +0100 Original-Received: from centaur.maths.qmul.ac.uk ([138.37.80.58] helo=Centaur) by smtp.qmul.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1M6pL2-0003kP-UF; Wed, 20 May 2009 18:12:20 +0100 In-Reply-To: <4A134A4C.10800@gnu.org> X-Mailer: Microsoft Office Outlook 12.0 thread-index: AcnY35N1MyRvrY+vSji4aF8hgoljdQAjXElg Content-Language: en-gb X-Sender-Host-Address: 138.37.80.58 X-QM-SPAM-Info: Sender has good ham record. :) X-QM-Body-MD5: 6662a317bba831fc89fc49dc03400179 (of first 20000 bytes) X-QM-Scan-Virus: ClamAV says the message is clean X-QM-Scan-Virus: virusscan says the message is clean X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Wed, 20 May 2009 13:32:05 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:28051 Archived-At: > From: Jason Rumney [mailto:jasonrumney@gmail.com] On Behalf Of Jason > Rumney > Sent: Wednesday 20 May 2009 1:10 am > To: Francis Wright; 3332@emacsbugs.donarmstrong.com > Subject: Re: bug#3332: 23.0.93; Printing on MS Windows > > Francis Wright wrote: > > direct-print-region-helper: Opening output file: permission denied, > > c:/DOT4_001 > > > > My printer is an hp LaserJet 1010 connected via USB and the printer > > driver properties show that it is connect to the port DOT4_001. I > > think the problem is that "c:/" has been prepended to the port name. > > > > Windows does that behind your back because DOT4_001 is not a real port, > so it gets treated as a file name in the default-directory. To print on > such a printer directly, you will have to share it and configure Emacs > to use the network share name, or I think there is a way to redirect a > real port (eg LPT1) to such a USB port. OK, thanks. Could Emacs detect that DOT4_001 is not a real port and not use it as the default? The fact that Emacs picked it up automatically gave me some hope that it would work. The Emacs Manual entry for printing on Windows seems to suggest that connecting a printer to a USB port is "rare", but I doubt that it's possible to buy a printer that uses any other kind of connection (other than perhaps wireless). So I think it would be helpful if there were some specific guidance in the manual along the lines of what you wrote above. The bit about sharing and redirecting is there (although I haven't managed to get it to work yet) but there is nothing about USB ports.