Printing always has lowest priority there are few things which cause the slowness
(a) How busy is your wifi network
(my test shows when downloading big file, my printer has to wait for the completion of the download task).
(b) How complicate your document specially with PDF files.
In general, the problem resides on your network, not printer. You will get much better speed when using USB connection.
BH *** **Click the KUDOS thumb up on the left to say 'Thanks'** Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.
Be alert for scammers posting fake support phone numbers and/or email addresses on the community. If you think you have received a fake HP Support message, please report it to us by clicking on "Flag Post".