Question How to convert a USB Printer into a Wireless Printer using a Router?

TP-Link Archer C5 v4.0 is supported by OpenWRT which allows you to install all the packages needed for USB printing. It works with any printer that understands a real printer language like PCL6 or PostScript.

That is not your problem.

The problem is the HP Deskjet 2335 is a host-based, GDI printer (in this case PCL 3GUI) which only works in Linux if either specific linux drivers are written for the device (which will never happen), or you install Windows in a VM running on Linux. Normally, the Windows printer driver handles all of the tasks required to operate such a printer in software, and essentially faxes a raster image to the dumb printer which has no smarts of its own. It's like how a WinModem worked, only for printing. That is exactly the kind of printer you don't want for sharing on an always-on linux machine like your router because there are no linux drivers for it.

If you want to share the machine over your network you have to plug its USB into a Windows machine that has to be on whenever you want to print, and share it from there.