AirPrint_Bridge: Unable to print from iOS device

Mac OS 15.2, M4 Mac Mini. iOS 18.1.1, iPhone 13 Mini.

Unable to print in test mode.

Firewall disabled on Mac, and the printer (Samsung ML-2525W) on same wired network as Mac. The iPhone is on WiFi on the same subnet as Mac and printer.

After updating to Mac OS 15.2, I Ctrl-clicked on my printer in System Settings and chose “Reset Printing System…” to remove all printers and clear jobs. I then re-added the printer, confirmed it printed from the Mac, and turned on printer sharing and set the permission so Everyone “Can Print”.

I then confirmed that the airprint_bridge.log and airprint_bridge_launcher.sh files were deleted in my Downloads folder. I enabled logging in the airprint_bridge.sh script

I then ran sudo ./airprint_bridge.sh -t

From the iPhone, I printed a random Note, and when selecting printers I could see the shared printer being displayed. When I printed, a message dialog briefly displayed “An error occurred printing this document”.

Over on the Mac, I’m seeing the message in the error_log being printed over and over as the iPhone tries to print: E [10/Jan/2025:21:45:21 -0600] [Client 50] Returning IPP client-error-not-authorized for Create-Job (ipp://My-Mac-mini.local.:631/printers/Samsung_ML_2525W__SECxxxxxxxxxxxx_) from [v1.fe80::xxx:xxx:xxx:xxxx+en1].

(I removed identifying hostname, MAC address, and IPv6 address)

Once I cancel the job on the iPhone, the message stops appearing in the error log.

After the initial startup, there are no new messages in the airprint_bridge.log file.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 25 (12 by maintainers)

Commits related to this issue

Most upvoted comments

Even after trimming the printer name to just “SamsungLaser” it still didn’t work.

…BUT…

Even though I thought the changes to cupsd.conf would cover this, I found this via a Google search. I ran the following:

sudo lpadmin -p SamsungLaser -u allow:all

Boom! It worked! No errors in the error_log and it printed! Of course, replace SamsungLaser with your printer name.

Just to be sure, I reverted the cupsd.conf to the original file, and rebooted. After running airprint_bridge in test mode, it still worked! Nice. Off to do a full install now…

Edit: I still see the printer listed twice on my iPhone for whatever reason. A minor quibble for me.

Edit2: It still works after a “-i” installation. It works from my iPhone and from my iPad. Oddly enough, it’s only my iPhone that shows the printer twice. Even after a restart. The iPad only shows it listed once. I’m happy, the wife is happy! Thanks a bunch for this.