Sending universal subtype
Opened this issue · 4 comments
Hi,
I'm trying to send the universal subtype but can't get it working. I'm calling bonjour as follows:
bonjour.publish({ txt: {rp: 'printers/Printer1', usb_MFG: 'Astrium', usb_MDL: 'Astrium Printer 1', product: '(Astrium Printer)', ty: 'Astrium Printer', pdl: 'application/pdf,image/urf', URF: 'W8,DM3,CP255,RS600'}, type: 'ipp', port: printer.port, name: printer.name, subtypes: [ '_universal']})
I've tried removing the underscore as well.
Any suggestions?
As an addendum, I am checking with this command:
dns-sd -Z _ipp._tcp,_universal
It only shows my HP printer as a result. My IPP printer shows up if I remove ,_universal from the command.
Good question. I think maybe some of the subtype stuff is not fully implemented/broken
I've replaced the bonjour call with the mdns package. my iPhone can now see the printer and send a print job. I actually managed to print a doc from my phone to the ipp printer, but it only worked once :-(
Will give feedback on how it goes.
Thanks for the info 👍