tech-pkg archive

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

Re: airprint patches for cups



On Fri, Jul 20, 2018 at 05:02:19PM +0200, Hauke Fath wrote:
> At 16:14 Uhr +0200 20.7.2018, Manuel Bouyer wrote:
> >Hum, for unrelated reasons I use cups with avahi here (btw I think the
> >option should be cups-base now).
> >But the patch should work with dnssd too, AFAIK. Maybe you can see what is
> >advertized with the dns-sd client ?
> 
> % dns-sd -B _ipp._tcp
> Browsing for _ipp._tcp
> Timestamp     A/R Flags if Domain                    Service Type
> Instance Name
> 16:47:38.777  Add     3  3 local.                    _ipp._tcp.
> Brother HL-5250DN duplex b/w printer @ pizza.causeuse.org
> 16:47:38.778  Add     3  3 local.                    _ipp._tcp.
> Brother HL-5250DN series @ pizza.causeuse.org
> 16:47:38.778  Add     3  2 local.                    _ipp._tcp.
> Brother HL-5250DN series
> 16:47:38.778  Add     3  2 local.                    _ipp._tcp.
> Brother HL-5250DN duplex b/w printer @ pizza.causeuse.org
> 16:47:38.778  Add     2  2 local.                    _ipp._tcp.
> Brother HL-5250DN series @ pizza.causeuse.org
> %
> 
> -- the printers show up on a Mac (10.12) but not on ios devices.
> 
> Any other strings that I should poll for?

No that should be OK. Mayve it's missing some properties ?
Mine has:
#dns-sd -L "26-00/220 MFP LIP6 (color) @ cups" _ipp._tcp
 txtvers=1 qtotal=1 rp=printers/2600-2-B-MFP-LIP6-color ty=HP\ PageWide\ Color\ E77650-E77660\ Postscript adminurl=https://cups.local.:631/printers/2600-2-B-MFP-LIP6-color note=26-00/220 priority=0 product=\(PageWide\ Flow\ MFP\ E77660\) pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf URF=DM3 UUID=cdf1ba95-1039-38d3-4e11-77f78481a22e TLS=1.2 Color=T Duplex=T Copies=T Collate=T printer-state=3 printer-type=0x80B0DE

If I understood it properly what's important for airprint is to have
image/urf in the pdl entry, and the URF=DM3 entry.

Details are in
https://wiki.debian.org/AirPrint

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index