emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: zeroconf.el


From: Michael Albinus
Subject: Re: zeroconf.el
Date: Mon, 07 Apr 2008 22:54:20 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Stefan Monnier <address@hidden> 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]