GNU bug report logs - #3332
23.0.93; Printing on MS Windows

Previous Next

Package: emacs;

Reported by: "Francis Wright" <f.j.wright <at> qmul.ac.uk>

Date: Tue, 19 May 2009 09:50:04 UTC

Severity: normal

Merged with 4275

Full log


View this message in rfc822 format

From: Francis Wright <f.j.wright <at> qmul.ac.uk>
To: Arash Esbati <arash <at> gnu.org>, Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: "3332 <at> debbugs.gnu.org" <3332 <at> debbugs.gnu.org>, "4275 <at> debbugs.gnu.org" <4275 <at> debbugs.gnu.org>
Subject: bug#3332: bug#4275: 23.1; Printing
Date: Tue, 1 Feb 2022 12:41:11 +0000
I no longer have access to the printer I referred to in my initial bug report. My current printer is connected using WiFi via the Internet. I tried the recipe described by Arash and got essentially the same result. To be precise, I got this message

w32-direct-print-region-helper: Opening output file: Permission denied, c:/WSD-cdd02b81-88de-4da9-ac0b-52cc3703cc62

I'm running
GNU Emacs 27.2 (build 1, x86_64-w64-mingw32)
 of 2021-03-26
on Windows 10.

So it's still a problem. Thanks for looking into it again.

Francis

-----Original Message-----
From: Arash Esbati <arash <at> gnu.org> 
Sent: Monday, 31 January 2022 6:58 pm
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: Francis Wright <f.j.wright <at> qmul.ac.uk>; 3332 <at> debbugs.gnu.org; 4275 <at> debbugs.gnu.org
Subject: Re: bug#3332: bug#4275: 23.1; Printing

Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> "Francis Wright" <f.j.wright <at> qmul.ac.uk> writes:
>
>> 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.
>>
>> I see that the same thing happens in Emacs 22.3. (I don't print from 
>> Emacs very often!)
>
> (I'm going through old bug reports that unfortunately weren't resolved 
> at the time.)
>
> Do you still see this problem in recent versions of Emacs/Windows?

I see this problem: I did 'M-x view-hello-file RET' and from the menu bar, I did 'File->Print->Print buffer', said YES when asked to use the default printer, and this is the backtrace:

--8<---------------cut here---------------start------------->8---
Debugger entered--Lisp error: (permission-denied "Opening output file" "Permission denied" "c:/WSD-5bc23311-7bc5-46f6-a594-1552b4df353d")
  w32-direct-print-region-helper("WSD-5bc23311-7bc5-46f6-a594-1552b4df353d" 1 #<marker at 5393 in  *spool temp*> "" nil #<buffer  *temp*> nil ("(page headers are not supported)"))
  w32-direct-print-region-function(1 #<marker at 5393 in  *spool temp*> "" nil #<buffer  *temp*> nil "(page headers are not supported)")
  apply(w32-direct-print-region-function 1 #<marker at 5393 in  *spool temp*> "" nil #<buffer  *temp*> nil "(page headers are not supported)")
  lpr-print-region(1 #<marker at 5393 in  *spool temp*> ("(page headers are not supported)") "HELLO Emacs buffer") --8<---------------cut here---------------end--------------->8---

I have a HP Laserjet on network connected via WSD Port (hence the name WSD-5bc...).  This is Emacs 29.0.50 (3ca32105d2) on Win10.

Best, Arash




This bug report was last modified 3 years and 102 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.