Hello
Is it possible you try to print from a different device, such as your phone? It is important to narrow down to see if the printer behavior is only from this computer, or it doesn't matter, so we can see if we are troubleshooting the specific connection between this computer and printer or the printer itself.
If the issue is indeed unique to this computer only, remove the printer from Settings, and go here: https://support.hp.com/my-en/drivers/swdetails/hp-deskjet-2800e-all-in-one-printer-series/2101233229/swItemId/mp-309230-19
Download and install this printer driver specifically for your printer model. Then add the printer back, see if the issue is corrected.
Note: This is not Microsoft website/URL, but it is the official OEM/manufacturer site.