From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Arash Esbati Newsgroups: gmane.emacs.bugs Subject: bug#3332: bug#4275: 23.1; Printing Date: Mon, 31 Jan 2022 19:56:09 +0100 Message-ID: <86r18nzqd2.fsf@gnu.org> References: <001301c9d866$3827b540$a8771fc0$@j.wright@qmul.ac.uk> <87ee4nyghu.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17158"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 Cc: Francis Wright , 3332@debbugs.gnu.org, 4275@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jan 31 20:13:03 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nEc6n-0004As-Og for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 31 Jan 2022 20:13:01 +0100 Original-Received: from localhost ([::1]:53602 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nEc6m-0003kT-CE for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 31 Jan 2022 14:13:00 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:48262) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEbvN-0007X4-4P for bug-gnu-emacs@gnu.org; Mon, 31 Jan 2022 14:01:25 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47904) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nEbtG-0008Ov-5U for bug-gnu-emacs@gnu.org; Mon, 31 Jan 2022 13:59:28 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nEbtG-0006BJ-5v for bug-gnu-emacs@gnu.org; Mon, 31 Jan 2022 13:59:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Arash Esbati Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 31 Jan 2022 18:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 3332 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 3332-submit@debbugs.gnu.org id=B3332.164365549923663 (code B ref 3332); Mon, 31 Jan 2022 18:59:02 +0000 Original-Received: (at 3332) by debbugs.gnu.org; 31 Jan 2022 18:58:19 +0000 Original-Received: from localhost ([127.0.0.1]:40807 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEbsY-00069W-9w for submit@debbugs.gnu.org; Mon, 31 Jan 2022 13:58:18 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:41166) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEbsK-000689-Tc; Mon, 31 Jan 2022 13:58:16 -0500 Original-Received: from [2001:470:142:3::e] (port=52886 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEbsE-0008Gw-Ro; Mon, 31 Jan 2022 13:57:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=qeqQwczrINfEXolRIJ+Y35DrJY7xLgUyRntTmkOCUlc=; b=kK8ceTTOsFDaWTsj5HSZ lWaTkqZipJkC2uwxuChNFUff0PKYMCgxJQ67V6+YJl25IBF+3TCGQKi+Xwhzq2XiHPvrSZle9aAmc F2WCNz9/G7QcSRol7yJgJUyn7+J+w4d/cHkBKrCsaDCgO76Mb/MwtYXQ3yWOXISWraGMKaOzxtoyK TJdBvpZZNtH8JRU/0tTTVDdzxcrkibuNoQAqkUajRAvrfOs4AuOuQCr5X/mulAoaSU0/iKNh09LXe k9aERQnB+fog6gVZIUiGrQpLMnq+Tl6Ye7JvG1YuoYY8REHMBU+Ykj9ovAA5yCg8XWWJBOMBDirdz Mnkz/XGCukt/vQ==; Original-Received: from p4fe3e9f7.dip0.t-ipconnect.de ([79.227.233.247]:53627 helo=MUTANT) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEbsE-0004bH-Bc; Mon, 31 Jan 2022 13:57:58 -0500 In-Reply-To: <87ee4nyghu.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 31 Jan 2022 18:14:37 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:225716 Archived-At: Lars Ingebrigtsen writes: > "Francis Wright" 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 # "" nil # nil ("(page headers are not supported)")) w32-direct-print-region-function(1 # "" nil # nil "(page headers are not supported)") apply(w32-direct-print-region-function 1 # "" nil # nil "(page headers are not supported)") lpr-print-region(1 # ("(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