[avahi] Advertising a network printer for use with Airprint
Eric Wing
ewmailing at gmail.com
Mon Nov 19 02:28:45 PST 2012
On 11/18/12, dclist <dclist at gmail.com> wrote:
> I am trying to add Airplay-compatible zeroconf advertising for a HP
> Laserjet 2300 which is connected directly to the network. In particular I
> am not using CUPS.
>
> I am able to see the service with avahi-browse -a but iOS does not seem to
> find it. What am I doing wrong?
>
It's been a couple years since I messed with this, but I think you
need a "universal" subtype.
This is a snippet from my configuration. Devices can see my printer.
Unfortunately, my printer doesn't actually support it and print
attempts fail. Looks like PDF is required and Postscript is not
sufficient.
<service protocol="ipv4">
<type>_ipp._tcp</type>
<subtype>_universal._sub._ipp._tcp</subtype>
<port>631</port>
<host-name>Lexmark.local</host-name>
<txt-record>product=(Lexmark Optra S 1625 Laser Printer)
pdl=application/postscript,application/vnd.hp-PCLXL Color=
F Collate=T Staple=F</txt-record>
<txt-record>URF=none</txt-record>
</service>
-Eric
--
Beginning iPhone Games Development
http://playcontrol.net/iphonegamebook/
More information about the avahi
mailing list