From: Michael Albinus <michael.albinus@gmx.de>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: zeroconf.el
Date: Mon, 07 Apr 2008 22:54:20 +0200 [thread overview]
Message-ID: <87od8lv11f.fsf@gmx.de> (raw)
In-Reply-To: <jwvk5j9pifl.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Mon, 07 Apr 2008 15:38:15 -0400")
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> As demonstration of this feature, I've written few lines of example
>> code, which updates dynamically the "Postscript Printer" menu as local
>> or network printers appear or disappear. This code could go into
>> ps-samp.el.
>
> Sounds good. Do we know that this list of "printers available on the
> network" has any relationship to the list of printers that `lpr' (or
> `lp') will accept?
For local printers, I configure "lpr -Pqueue", with queue taken from the
txt fields zeroconf reports. Network printers are configured as
"cupsdoprint -H address:port", address and port also provided by
zeroconf. It works with all dozen printers detected @work; I was
surprised to see them - I even didn't know some of them before.
Of course, it is just sample code, and I'm not a CUPS expert. I hope
people could improve it.
>> Any objections to install this in the trunk?
>
> Feel free to install it under lisp/net/
OK, tomorrow, tonight is too late for me. My average day starts at 6am
(you know, I am in Germany).
> Stefan
Best regards, Michael.
next prev parent reply other threads:[~2008-04-07 20:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-07 19:08 zeroconf.el Michael Albinus
2008-04-07 19:38 ` zeroconf.el Stefan Monnier
2008-04-07 20:54 ` Michael Albinus [this message]
2008-04-08 20:07 ` zeroconf.el Michael Albinus
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87od8lv11f.fsf@gmx.de \
--to=michael.albinus@gmx.de \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).