If the printer is physically close to the router you could try connecting the USB port to the router. Many routers have printer support on the USB ports. If the printer is not near the router and you want it to wirelessly connect, then you would have to buy something like this wireless print server -- https
/hawkingtech.com/product/hmps2u/ You could build your own with a Raspberry PI.