Change the connection type with the HP Printer Setup & Software utility or with the HP Smart app for Windows 10. Leave the USB cable connected until you are prompted to disconnect it.
HP Printer Setup & Software utility: Search Windows for 'HP', and then click the name of your printer in the results to open HP Printer Assistant. Click Utilities or Tools in the top menu bar, click Printer Setup & Software or Device Setup & Software, and then click Convert a USB connected printer to wireless to launch the utility.
Figure : Convert a USB connected printer to wireless utility in HP Printer Assistant
Follow the instructions to complete the USB to the wireless setup.
Hope this helps! Keep me posted.
And, Welcome to the HP Support Community.
Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
Click the “Kudos, Thumbs Up" on the bottom right to say “Thanks” for helping
Thank you very much for responding. I did not see it until now as it went to my spam folder. I am elderly and not very technical. How can I change my printer to wireless if my computer is hard wired? I have been afraid to go wireless because of the vulnerability. I feel safer being hard wired.