018-762 is an SMB timeout, a few things can cause that, so I will cover a few fixes and you can do them all.
1. Switch from Hostname to IPv4 address of the Mac to test if it is a DNS issue
Image may be NSFW.
Clik here to view.
2. Update the printer firmware
3. Set the correct time on the printer. (Needs to be within 3 minutes of local time)
EWS > System > Date & Time
Image may be NSFW.
Clik here to view.
Image may be NSFW.
Clik here to view.
This test worked on both with both MFP's on the latest firmware with these exact settings here.
Image may be NSFW.
Clik here to view.