Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sending universal subtype #15

Open
laughinglion opened this issue May 16, 2017 · 4 comments
Open

Sending universal subtype #15

laughinglion opened this issue May 16, 2017 · 4 comments

Comments

@laughinglion
Copy link

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?

@laughinglion
Copy link
Author

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.

@watson
Copy link
Owner

watson commented May 17, 2017

Good question. I think maybe some of the subtype stuff is not fully implemented/broken

@laughinglion
Copy link
Author

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.

@watson
Copy link
Owner

watson commented May 20, 2017

Thanks for the info 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants