How to get the ip address of a network printer by the an uri like dnssd://Lexmark%20E120n._pdl-datastream._tcp.local
Joachim Backes
joachim.backes at rhrk.uni-kl.de
Wed Nov 24 16:49:12 UTC 2010
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 at rhrk.uni-kl.de>
http://www.rhrk.uni-kl.de/~backes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6131 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20101124/5ce25987/attachment.bin
More information about the users
mailing list