Hi,
Since the HP OfficeJet 3830 All-In-One Printer is a model supporting the AirPrint technology, as mentioned by lllaass, you should be able to use it without having to install drivers. This would require that the computer and the printer are connected to the same network (Wi-Fi router).
http://h10032.www1.hp.com/ctg/Manual/c04724956.pdf#v442659564
An AirPrint-enabled printer is compatible with macOS (Monterey).
Special software from the printer manufacturer may be used for setup, ink management, and similar purposes. However, if necessary, it is often possible to carry out a manual setup instead.
Add a printer to your printer list so you can use it on Mac – Apple Support (UK)
Reset the printing system on your Mac to solve a problem – Apple Support (UK)