Can't print to HP USB printer attached to local network
HP LaserJet Pro MFP M127fn USB printer defined (using HP Smart and HP Easy Start) and working on iMac Sonora 14.5. system name Mac2023. The printer is set up with printer sharing and all users permitted to print.
HP LaserJet Pro MFP M127fn @ Mac2023 defined on MacBook Pro Monterey 12.7.5. Printer definition was first set up (using HP Smart and HP Easy Start) with printer attached to MBP. When the printer is physically swapped to the MBP it works. When remote printer definition is showing Online/Offline when powered on and off on iMac, indicating that the printer can be "seen" by the MBP system.
When a print job is submitted on the MBP it goes on the print job queue but does not print. There is a message saying "Hold for Authentication."
(This arrangement was working fine when the printer was attached to my old iMac running High Sierra (!). I could print from the MBP.)
The problem seems to be that in the new set-up the Sonoma-attached HP printer is refusing to authenticate the remote print request. The following is from the iMac's system error log:
E [18/May/2024:14:10:33 -0700] [Client 513] Returning IPP client-error-not-authorized for Create-Job (ipps://Mac2023.local.:631/printers/HP_LaserJet_Pro_MFP_M127fn) from [v1.fe80::1091:bb02:4cdd:f1c7+en0].
E [18/May/2024:14:10:39 -0700] [Client 514] Returning IPP client-error-not-authorized for Create-Job (ipps://Mac2023.local.:631/printers/HP_LaserJet_Pro_MFP_M127fn) from [v1.fe80::1091:bb02:4cdd:f1c7+en0].
E [18/May/2024:14:10:39 -0700] [Client 515] Unable to encrypt connection: Unable to establish a secure connection to host (-9806).
From the MBP's error log: E [18/May/2024:14:10:39 -0700] [Job 13] Job held for authentication.
I have combed the Internet for possible solutions, but haven't found one. There seem to be a lot of problems with Sonoma and legacy USB printers, but when I first set up the new iMac, I *was* able to print from the MBP. But after I updated from Sonoma 14.4 to 14.5 things stopped working. Since then I have tried various things, which may have further complicated things. Any help would be greatly appreciated.
Thanks.