Based on user reports, macOS 27 Golden Gate has ‘broken’ printer drivers from several manufacturers.
The HP OfficeJet Pro 9018 fully supports AirPrint, which is the easiest way to connect to a printer and does not require drivers from the manufacturer, only an AirPrint-capable printer.
If you installed a printer driver, it requires Rosetta 2 and that was removed by the macOS 27 upgrade. However, that driver is NOT needed. If you really want to use the HP drivers, then install Rosetta 2 using Terminal. Apple provides instructions for that HERE. Note that if this enables your old printer drivers to work, you’ve only put off the inevitable because they will stop working for good on macOS 28 next fall.
Since printing is not working, the first step is to reset your printing system. Note that doing so will remove all your printers and you will need to re-add them, but that is Apple’s suggested method to solve printing problems.
Steps to Reset the Printing System
- Open System Settings > Printers & Scanners
- Secondary-click (right-click, two-finger click) in the top two lines or on any printer and select Reset Printing System

The next step is to re-add your AirPrint capable printer. Follow Apple’s instructions for that:
Print wirelessly from your Mac to your printer - Apple Support
If that does not work, then you may be able to use the manufacturer’s printing app, which is available on the Mac App Store.
HP Print & Support app:
https://apps.apple.com/us/app/hp-print-and-support/id1474276998?mt=12
Personally, I have an HP OfficeJet Pro 8740, connected via AirPrint, and it works just fine with my Mac running 27.0.1 (and other Macs in the house running Tahoe and Sequoia).