bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#4275: bug#3332: bug#4275: 23.1; Printing


From: Francis Wright
Subject: bug#4275: 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@gnu.org> 
Sent: Monday, 31 January 2022 6:58 pm
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: Francis Wright <f.j.wright@qmul.ac.uk>; 3332@debbugs.gnu.org; 
4275@debbugs.gnu.org
Subject: Re: bug#3332: bug#4275: 23.1; Printing

Lars Ingebrigtsen <larsi@gnus.org> writes:

> "Francis Wright" <f.j.wright@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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]