anotherdrew :
Did you install the HP software?
https://support.hp.com/us-en/drivers/selfservice/hp-laserjet-pro-400-color-printer-m451-series/4346082/model/4346264
I tried multiple times using HPs install software.
I find it faulty as, using another forum, found that if I looked and edited the ports, assigned one I changed to the IP address, it would work.
HP software should have done this automatically.