GNU bug report logs - #3838
23.0.96; printing.el - Be able to specify a printer using IP address

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Mon, 13 Jul 2009 18:25:06 UTC

Severity: wishlist

Full log


View this message in rfc822 format

From: "Drew Adams" <drew.adams <at> oracle.com>
To: <emacs-pretest-bug <at> gnu.org>
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
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)'
 




This bug report was last modified 15 years and 325 days ago.

Previous Next


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