I would much prefer a way that doesn't require setting up another computer on the network as a print server when the printer itself is already on the network.
You can run all this in a container, in fact there are already pre-built containers to do it
AirPrint with Cups
21–27 of 27 posts
Re: AirPrint with Cups
#22Earlier quoted context omitted.
You can run all this in a container, in fact there are already pre-built containers to do it
I don't find solutions that amount to "just configure a computer on every network you encounter as a print server regardless of whether you own the network" to be very interesting. Using a container doesn't solve the problem unless that container is running on my phone.
Re: AirPrint with Cups
#23Earlier quoted context omitted.
I don't find solutions that amount to "just configure a computer on every network you encounter as a print server regardless of whether you own the network" to be very interesting. Using a container doesn't solve the problem unless that container is running on my phone.
And to be clear… the problem is transparently supporting airprint to every printer on every network…?
The problem is iOS's unwavering demand for AirPrint and fundamental disrespect for every pre-existing CUPS printer that still works perfectly with every macOS, *nix, and Windows PC. Every computing device on the planet other than iPhones and iPads prints just fine to network printers that don't support AirPrint. So, yeah, it would be best to fix that problem on the mobile device side, because the problem is the mobile device itself not the network or the printer.
macOS automatically detects my Brother HL-2280DW just fine even without a custom Brother CUPS driver installed, because that printer already supports Bonjour, but iOS refuses to see it.
Re: AirPrint with Cups
#24Earlier quoted context omitted.
I had a IPP capable printer that wasn’t showing up for AirPrint, and was able to solve that with a (relatively) simple static mDNS entry in my DNSMasq config, which I already had running on our router.
Can you share the config?
The article says the formats need to include ‘image/urf’, which afaik wasn’t true in 2017, and there may be other salient differences these days. We subsequently moved to a newer printer w/built-in AirPrint.
Re: AirPrint with Cups
#25Earlier quoted context omitted.
Can you share the config?
Here’s my write up from the time: https://www.djackson.org/printer-discovery-using-dns-sd/ The article says the formats need to include ‘image/urf’, which afaik wasn’t true in 2017, and there may be other salient differences these days. We subsequently moved to a newer printer w/built-in AirPrint.
Re: AirPrint with Cups
#26Earlier quoted context omitted.
And to be clear… the problem is transparently supporting airprint to every printer on every network…?
Yes, because a person doesn't only ever want to print things to their own printer on their own network. Sometimes a person wants to be able to ask their friend "Hey, can I print something?" while over at their friend's house. The problem is iOS's unwavering demand for AirPrint and fundamental disrespect for every pre-existing CUPS printer that still works perfectly with every macOS, *nix, and Windows PC. Every comput…
I believe many Bonjour printers are of the kind that you can create by plugging a USB printer into an Airport, and they require a driver on the client. Apple makes this pretty simple by automatically searching for the driver based on the usb_MFG and usb_MDL from the printer's IEEE 1284 Device ID. None of these drivers would work on iOS, given its a different OS on a different architecture. I think AirPrint was the first driverless printing standard, followed by the PWG standard, and since they used existing technologies I assume they wanted iPhone users to only see printers which would actually work.
Bonjour also supports PostScript printers, which would use a PPD file on the client to configure the UI options and generate a PostScript preamble (this also requires generating a PostScript file from a PDF on the client -- a somewhat expensive operation). I don't know much about this apart from the couple of times its mentioned in the spec: http://devimages.apple.com/opensource/BonjourPrinting.pdf.
The practical solution is to have your friend configure a print server and advertise AirPrint mDNS on their network -- besides printing from my own iPhone, having friends be able to print to my decades-old but mighty HP LaserJet just by hopping on WiFi has been great.
Re: AirPrint with Cups
#27Earlier quoted context omitted.
Here’s my write up from the time: https://www.djackson.org/printer-discovery-using-dns-sd/ The article says the formats need to include ‘image/urf’, which afaik wasn’t true in 2017, and there may be other salient differences these days. We subsequently moved to a newer printer w/built-in AirPrint.
Is this for AirPrint or just Bonjour? I see there's a note at the bottom that you were also using handyPrint.
It’s still reliant on the printer handling the correct print protocols (so that CUPS isn’t needed to translate), but my specific printer did work.
https://www.macworld.com/article/673717/how-to-add-airprint-...