ippusbxd
ippusbxd copied to clipboard
DNS-SD advertising of IPP printer is probably not compatible with iOS
This bug was recently discovered in the ipp-usb
, but most likely it is relevant to the ippusbxd
too.
It can be fixed by registering the "_universal._sub._ipp._tcp"
subtype of the "_ipp._tcp"
service type.
Corresponding ipp-usb
bug is here: https://github.com/OpenPrinting/ipp-usb/issues/4
@Ordissimo, could you have a look?
Hi @tillkamppeter
if (((ptr = strcasestr(cmd, "apple")) != NULL &&
(ptr = strcasestr(ptr, "raster")) != NULL) ||
((ptr = strcasestr(cmd, "urf")) != NULL) ||
urf != NULL)
appleraster = 1;
in usb detection the parsing of information decided the subtypes: If appleraster == 1 then suptype = "_universal._sub._ipp._tcp" else suptype = "_print._sub._ipp._tcp"
Do you know if I can get that information without using the usb?
Why not to advertise _universal._sub._ipp._tcp
always?
I don't know, I made the wrong "_print._sub._ipp._tcp" choice.
I want to go back to the initial version that uses "Universal" under certain conditions.