how do I map a printer through macos
I was able to map this printer through Windows 11 just fine, using "select a shared printer by name". But I'm unsure how to map this printer on my MacBook?
Hi,
Macs need mdns and some added configuration for printer discoverability and AirPrint. I think iPhones and iPads can work without this, but I am not sure. I did not have an Apple device when I started this project. I've been meaning to add avahi-daemon and test the containers out, but have not gotten around to it. I'll try to do it over the weekend. Thanks for reminding me.
Anuj
Thanks for the quick response!
I've added the printer through my server IP (without mDNS) and it recognized the printer.
Important to note that i've selected "Generic PostScript Printer" drivers instead of my printer's one. I wasn't working until i've changed this (got into this issue searching for this solution)
Important to note that i've selected "Generic PostScript Printer" drivers instead of my printer's one. I wasn't working until i've changed this (got into this issue searching for this solution)
Aah, I see. Good to know. I don't have much experience with MacOS and iOS. I only ever use them when I need to fix something for my parents, lol.. The 5 minutes I spent on a it was trying to set up the printer on my parents' iPhones/iPads and Macbook. Couldn't see it when done through docker because I didn't have avahi-daemon. But could see it if I set up CUPS directly on a Pi with avahi-daemon installed via apt.
Thanks, Anuj
I've added the printer through my server IP (without mDNS) and it recognized the printer.
I can confirm, this is working! I was typing in the address wrong. I was extremely close though lol. I had put a / at the end of the address and I had the queue field the same. Thank you!
Do we know if this also works with AirPrint for iPhones/iPads?
Running Avahi in docker and exposing the bonjour announcments is not so easy. I remember I had success when allowing the container to use the host network. Reason is that mDNS is based on udp/multicast. Docker Port-forwarding only supports tcp connections. When using the host network you have to make sure no other services use the same ports. e.g. you might have to turn off CUPS Browsing on the docker host (e.g. if you have mac).
Reason is that mDNS is based on udp/multicast. Docker Port-forwarding only supports tcp connections.
I thought Docker does have udp networking too. I hate docker networking. I remember getting IPv6 to work on docker with ufw enabled is an absolute nightmare.
When using the host network you have to make sure no other services use the same ports. e.g. you might have to turn off CUPS Browsing on the docker host (e.g. if you have mac).
I typically use this on a Raspberry Pi or a similar SBC, so as long as CUPS is not installed on the base system everything should work even with host networking right?
Running Avahi in docker and exposing the bonjour announcments is not so easy. I remember I had success when allowing the container to use the host network.
Yeah, I have tried it in the past, I've had issues getting the cups-container to show up on a Mac, I figured it was bonjure related. But was unable to spend much time troubleshooting. I'll try it over the break, when I have access to a family macbook.
Do we know if this also works with AirPrint for iPhones/iPads?
I have printed using my mom's iPhone a long time ago. Will check again over the break. I am literally the only person in the entire family who does not have a single Apple device.