CUPS: HP printer DNS url
Posted
by
wintersolutions
on Ask Ubuntu
See other posts from Ask Ubuntu
or by wintersolutions
Published on 2013-03-15T22:15:17Z
Indexed on
2013/06/26
10:28 UTC
Read the original article
Hit count: 372
The URL for my printer generated by hp-makeuri
looks like this:
hp:/net/Officejet_6500_E710n-z?ip=192.168.178.30
But the printer is on a dhcp enabled wifi network and so its IP-address does and could change. On the other hand my wifi router seems smart enough to have some sort of DNS:
$ ping hp-6500a
PING hp-6500a.fritz.box (192.168.178.30) 56(84) bytes of data.
64 bytes from hp-6500a.fritz.box (192.168.178.30): icmp_req=1 ttl=255 time=11.3 ms
I tried to use the hostname in the CUPS URL/DeviceUID but it failed, any suggestions if this is possible and the correct format?
© Ask Ubuntu or respective owner