On 11/24/2010 05:29 PM, Tim Waugh wrote:
On Wed, 2010-11-24 at 15:24 +0100, Joachim Backes wrote:
> My problem: For some reasons, I need the printer's IP address.
>
> The uri is "dnssd://Lexmark%20E120n._pdl-datastream._tcp.local"
Use avahi-resolve to resolve DNS-SD names to addresses.
avahi-resolve --name Lexmark%20E120n._pdl-datastream._tcp.local
Tim.
*/
Hi Tim,
I was not successful to use avahi-resolve:
avahi-resolve --name Lexmark%20E120n._pdl-datastream._tcp.local
Failed to resolve host name
'Lexmark%20E120n._pdl-datastream._tcp.local': Timeout reached
The uri is correct (I got it from system-config-printer by clicking on
the printer symbol), and printing immediately starts after lpr for that
printer. The avahi daemon is running:
ps -edalf|grep avahi
5 S avahi 1199 1 0 80 0 - 840 poll_s 06:46 ?
00:00:00 avahi-daemon: running [eule.local]
1 S avahi 1200 1199 0 80 0 - 796 unix_s 06:46 ?
00:00:00 avahi-daemon: chroot helper
What I'm doing wrong?
Kind regards
--
Joachim Backes <joachim.backes(a)rhrk.uni-kl.de>
http://www.rhrk.uni-kl.de/~backes