From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#3838: 23.0.96; printing.el - Be able to specify a printer using IP address Date: Mon, 13 Jul 2009 11:20:21 -0700 Message-ID: <4D1BA0B04D8A41C9BCC118F1FA996141@us.oracle.com> Reply-To: Drew Adams , 3838@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 1247510272 1252 80.91.229.12 (13 Jul 2009 18:37:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 13 Jul 2009 18:37:52 +0000 (UTC) To: Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 13 20:37:45 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 1MQQPG-0007OD-CI for geb-bug-gnu-emacs@m.gmane.org; Mon, 13 Jul 2009 20:37:42 +0200 Original-Received: from localhost ([127.0.0.1]:57428 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MQQPF-0002HH-Kc for geb-bug-gnu-emacs@m.gmane.org; Mon, 13 Jul 2009 14:37:41 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MQQPA-0002Go-EV for bug-gnu-emacs@gnu.org; Mon, 13 Jul 2009 14:37:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MQQP5-0002FI-IB for bug-gnu-emacs@gnu.org; Mon, 13 Jul 2009 14:37:35 -0400 Original-Received: from [199.232.76.173] (port=46718 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MQQP5-0002F8-Dv for bug-gnu-emacs@gnu.org; Mon, 13 Jul 2009 14:37:31 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:34958) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MQQP4-0004e1-41 for bug-gnu-emacs@gnu.org; Mon, 13 Jul 2009 14:37:31 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n6DIbRsA029648; Mon, 13 Jul 2009 11:37:28 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n6DIP66b027386; Mon, 13 Jul 2009 11:25:06 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: "Drew Adams" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 13 Jul 2009 18:25:06 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 3838 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.124750923826861 (code B ref -1); Mon, 13 Jul 2009 18:25:06 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 13 Jul 2009 18:20:38 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n6DIKW2I026850 for ; Mon, 13 Jul 2009 11:20:33 -0700 Original-Received: from mail.gnu.org ([199.232.76.166]:57624 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MQQ8d-0006j8-Jc for emacs-pretest-bug@gnu.org; Mon, 13 Jul 2009 14:20:31 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MQQ8b-0001YS-74 for emacs-pretest-bug@gnu.org; Mon, 13 Jul 2009 14:20:31 -0400 Original-Received: from acsinet11.oracle.com ([141.146.126.233]:49318) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MQQ8a-0001Xa-Pj for emacs-pretest-bug@gnu.org; Mon, 13 Jul 2009 14:20:29 -0400 Original-Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by acsinet11.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n6DIKPDX011692 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 13 Jul 2009 18:20:27 GMT Original-Received: from abhmt001.oracle.com (abhmt001.oracle.com [141.146.116.10]) by acsinet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n6DIMGlt009518 for ; Mon, 13 Jul 2009 18:22:16 GMT Original-Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 13 Jul 2009 11:20:19 -0700 X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcoD5pT3CodGYbAITWe/t+omkvFLJQ== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Source-IP: abhmt001.oracle.com [141.146.116.10] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090203.4A5B7AE4.0195:SCFSTAT5015188,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Mon, 13 Jul 2009 14:37:35 -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:29390 gmane.emacs.pretest.bugs:24786 Archived-At: Dunno if this is just a request for information (doc bug) or a feature request. I can't tell from the doc and commentary for printing.el whether this is a missing feature or there is just no explanation of how to do it. I need to be able to add a printer, which is not on a a Windows share, to both `pr-txt-printer-alist' and `pr-ps-printer-alist'. Is that possible? If so, how do I do it? The printing.el doc shows how to specify a printer that has a network share, and that's what I've used in the past. Example: (setq pr-txt-printer-alist '((toto nil nil "/D:\\\\foobar\\toto1135b"))) (setq pr-ps-printer-alist '((toto "print" nil "/D:" "\\\\foobar\\toto1135b"))) But now I need to add a printer that has only an IP address (TCP/IP port): fooprinter.my.company.com (with protocol Raw and port number 9100). There is no Windows share address. How can I do that? I tried adding this entry to `pr-ps-printer-alist', but it didn't work: (fooprinter "print" nil "/D:" "fooprinter.my.company.com") I don't see any output or messages that lets me know what's happening. All I see is this message: "Wrote c:/Documents and Settings/me/Local Settings/Temp/prspool-5396-Rl.ps." Nothing seems to be added to the printer queue, and nothing is printed. Likewise, if I try to print using text (non-PostScript) printing, with this entry (in this case, the message says Spooling...done.): (fooprinter "print" nil "/D:" "fooprinter.my.company.com" (ps-spool-duplex . t)) I don't see anything in the doc of `printing.el' that says how to do this, but I'm probably reading it wrong. In GNU Emacs 23.0.96.1 (i386-mingw-nt5.1.2600) of 2009-07-09 on SOFT-MJASON Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4)'