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

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

bug#3332: bug#4275: 23.1; Printing


From: Arash Esbati
Subject: bug#3332: bug#4275: 23.1; Printing
Date: Mon, 31 Jan 2022 19:56:09 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50

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]