From: "Drew Adams" <drew.adams@oracle.com>
To: <emacs-pretest-bug@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 [thread overview]
Message-ID: <4D1BA0B04D8A41C9BCC118F1FA996141@us.oracle.com> (raw)
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)'
next reply other threads:[~2009-07-13 18:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-13 18:20 Drew Adams [this message]
2009-09-29 7:04 ` bug#3838: 23.0.96; printing.el - Be able to specify a printer using IP address Drew Adams
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D1BA0B04D8A41C9BCC118F1FA996141@us.oracle.com \
--to=drew.adams@oracle.com \
--cc=3838@emacsbugs.donarmstrong.com \
--cc=emacs-pretest-bug@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.