Any device whose specifications indicate that it is compatible with Apple's built-in AirPrint support. Thus, a supported and networkable printer (Ethernet or Wi-FI) is necessary.
No vendor software or drivers would be needed for an AirPrint solution. The HP M110w or M110we are supported by AirPrint, but not the M1018 as it is now only a Windows or Linux device supported device per the HP site.
Others will likely offer their opinion of printers that they use which may or may not suit your budget or purpose. I use an old but reliable monochrome Samsung ML2955ND laser with AirPrint on Sequoia v15.6.
When setting up an AirPrint supported printer, ensure that it is powered and networked. In macOS Settings > Printers & Scanners panel, click Add printer, scanner, or Fax… button and on the add panel watch the animation:
Apple's Bonjour service will detect the AirPrint supported printer on your network. When you click that entry, it will automatically configure it for AirPrint, and you just click Add. Refresh the browser page to see the animation again.
